From 60161b0e541505f9b0a2e69d7051953f48cd4b6b Mon Sep 17 00:00:00 2001 From: Alexandr Reshetnikov Date: Wed, 25 Dec 2024 02:11:37 +0400 Subject: [PATCH] python 3.13.1 (non freethreaded) + poetry 1.8.5 (#127) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test install: mysqlclient 2.2.1 → 2.2.6 --- .github/workflows/poetry.yml | 2 +- README.md | 2 +- poetry/build_gnu.sh | 6 ++++-- poetry/build_msvc.sh | 4 ++-- poetry/test_linux.sh | 14 +++++++------- poetry/test_windows.sh | 6 +++--- python/build_gnu.sh | 4 ++-- python/build_msvc.sh | 2 +- 8 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/poetry.yml b/.github/workflows/poetry.yml index af0af3a5d..57731f2ad 100644 --- a/.github/workflows/poetry.yml +++ b/.github/workflows/poetry.yml @@ -42,7 +42,7 @@ jobs: uses: ./.github/workflows/release.yml with: workflow: ${{ github.workflow }} - tool_version: '1.8.3' + tool_version: '1.8.5' prepare_body: | bsdtar -Oxf ./build-gnu/build-gnu.tar.gz build-gnu.md >> body.md bsdtar -Oxf ./build-msvc/build-msvc.tar.gz build-msvc.md >> body.md diff --git a/README.md b/README.md index a63846193..916db482e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ | releases | latest source | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/python-3.13.1/total?label=⭳%20python-3.13.1-20241206)](https://github.com/hemnstill/StandaloneTools/releases/tag/python-3.13.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/indygreg/python-build-standalone?style=social&label=python-build-standalone)](https://github.com/indygreg/python-build-standalone) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/indygreg/python-build-standalone)](https://gregoryszorc.com/docs/python-build-standalone/main/)
[![GitHub Repo stars](https://img.shields.io/github/stars/python/cpython?style=social&label=python)](https://github.com/python/cpython) [![latest packaged version(s)](https://repology.org/badge/latest-versions/python.svg)](https://repology.org/project/python/versions) | -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/poetry-1.8.3/total?label=⭳%20poetry-1.8.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/poetry-1.8.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/python-poetry/poetry?style=social&label=poetry)](https://github.com/python-poetry/poetry) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python-poetry/poetry)](https://python-poetry.org/history/) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/poetry-1.8.5/total?label=⭳%20poetry-1.8.5)](https://github.com/hemnstill/StandaloneTools/releases/tag/poetry-1.8.5) | [![GitHub Repo stars](https://img.shields.io/github/stars/python-poetry/poetry?style=social&label=poetry)](https://github.com/python-poetry/poetry) [![latest packaged version(s)](https://repology.org/badge/latest-versions/poetry.svg)](https://repology.org/project/poetry/versions) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pylint-3.0.3/total?label=⭳%20pylint-3.0.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/pylint-3.0.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/PyCQA/pylint?style=social&label=pylint)](https://github.com/PyCQA/pylint) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/PyCQA/pylint)](https://pylint.pycqa.org/en/latest/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/mypy-1.8.0/total?label=⭳%20mypy-1.8.0)](https://github.com/hemnstill/StandaloneTools/releases/tag/mypy-1.8.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/python/mypy?style=social&label=mypy)](https://github.com/python/mypy) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python/mypy)](https://mypy.readthedocs.io/en/latest/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/ansible-8.3.0/total?label=⭳%20ansible-8.3.0-core-2.15.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/ansible-8.3.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/ansible/ansible?style=social&label=ansible)](https://github.com/ansible/ansible) [![PyPI](https://img.shields.io/pypi/v/ansible)](https://pypi.org/project/ansible/) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/ansible/ansible)](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) | diff --git a/poetry/build_gnu.sh b/poetry/build_gnu.sh index e8049826a..63e0ebacf 100755 --- a/poetry/build_gnu.sh +++ b/poetry/build_gnu.sh @@ -2,12 +2,14 @@ dp0="$(realpath "$(dirname "$0")")" set -e +export DEBIAN_FRONTEND=noninteractive + apt update apt install -y wget binutils tool_name="poetry" -tool_version="1.8.3" -python_self_name="python-3.12.5" +tool_version="1.8.5" +python_self_name="python-3.13.1" self_name="$tool_name-$tool_version" self_toolset_name="build-gnu" release_version_dirpath="$dp0/release/$self_name" diff --git a/poetry/build_msvc.sh b/poetry/build_msvc.sh index 802477d30..2802a94e7 100755 --- a/poetry/build_msvc.sh +++ b/poetry/build_msvc.sh @@ -3,8 +3,8 @@ dp0="$(realpath "$(dirname "$0")")" set -e tool_name="poetry" -tool_version="1.8.3" -python_self_name="python-3.12.5" +tool_version="1.8.5" +python_self_name="python-3.13.1" self_name="$tool_name-$tool_version" self_toolset_name="build-msvc" release_version_dirpath="$dp0/release/$self_name" diff --git a/poetry/test_linux.sh b/poetry/test_linux.sh index 7c6ea2f26..96a1cb62a 100755 --- a/poetry/test_linux.sh +++ b/poetry/test_linux.sh @@ -18,9 +18,9 @@ authors = [] readme = "README.md" [tool.poetry.dependencies] -python = "3.12.5" +python = "3.13.1" requests = "2.28.2" -mysqlclient = "2.2.1" +mysqlclient = "2.2.6" [build-system] requires = ["poetry-core"] @@ -32,17 +32,17 @@ Resolving dependencies... Package operations: 6 installs, 0 updates, 0 removals - - Installing certifi (2024.8.30) - - Installing charset-normalizer (3.3.2) - - Installing idna (3.8) + - Installing certifi (2024.12.14) + - Installing charset-normalizer (3.4.1) + - Installing idna (3.10) - Installing urllib3 (1.26.20) - - Installing mysqlclient (2.2.1) + - Installing mysqlclient (2.2.6) - Installing requests (2.28.2) Writing lock file' test_version() { - assertEquals "Poetry (version 1.8.3)" "$(../bin/poetry.sh --version)" + assertEquals "Poetry (version 1.8.5)" "$(../bin/poetry.sh --version)" } test_version_plugins() { diff --git a/poetry/test_windows.sh b/poetry/test_windows.sh index c17f72c35..045b1d06a 100755 --- a/poetry/test_windows.sh +++ b/poetry/test_windows.sh @@ -14,9 +14,9 @@ authors = [] readme = "README.md" [tool.poetry.dependencies] -python = "3.12.5" +python = "3.13.1" requests = "2.28.2" -mysqlclient = "2.2.1" +mysqlclient = "2.2.6" [build-system] requires = ["poetry-core"] @@ -30,7 +30,7 @@ Package operations: 6 installs, 0 updates, 0 removals ' test_version() { - assertEquals "Poetry (version 1.8.3)" "$(../bin/poetry.bat --version)" + assertEquals "Poetry (version 1.8.5)" "$(../bin/poetry.bat --version)" } test_install_from_path() { diff --git a/python/build_gnu.sh b/python/build_gnu.sh index 0e384d391..5ec4042ef 100755 --- a/python/build_gnu.sh +++ b/python/build_gnu.sh @@ -15,7 +15,7 @@ self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" mkdir -p "$release_version_dirpath" && cd "$dp0/release" -download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-unknown-linux-gnu-freethreaded+pgo-full.tar.zst" +download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-unknown-linux-gnu-pgo-full.tar.zst" cpython_zip="$dp0/release/raw_cpython-linux.tar.zst" echo "download python from $download_url ..." [[ ! -f "$cpython_zip" ]] && wget "$download_url" -O "$cpython_zip" @@ -24,7 +24,7 @@ echo "download python from $download_url ..." bsdtar="$dp0/release/bsdtar" cpython_bin="$dp0/.tmp/python/install/bin/python3" -cpython_dll="$dp0/.tmp/python/install/lib/libpython3.13t.so.1.0" +cpython_dll="$dp0/.tmp/python/install/lib/libpython3.13.so.1.0" if [[ ! -f "$cpython_bin" ]]; then echo extract "$cpython_zip" to "$cpython_bin" ... rm -rf "$dp0/.tmp/"* && mkdir -p "$dp0/.tmp" && cd "$dp0/.tmp" || exit 1 diff --git a/python/build_msvc.sh b/python/build_msvc.sh index b11a209ae..2ba5c3c97 100755 --- a/python/build_msvc.sh +++ b/python/build_msvc.sh @@ -9,7 +9,7 @@ self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" mkdir -p "$release_version_dirpath" && cd "$dp0/release" -download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-pc-windows-msvc-shared-freethreaded+pgo-full.tar.zst" +download_url="https://github.com/indygreg/python-build-standalone/releases/download/$release_date/cpython-$tool_version+$release_date-x86_64-pc-windows-msvc-shared-pgo-full.tar.zst" cpython_zip="$dp0/release/raw_cpython-win.tar.zst" echo "download python from $download_url ..." [[ ! -f "$cpython_zip" ]] && wget "$download_url" -O "$cpython_zip"