From b200646670b2fdb85161b67d4ac43edf51ff82f0 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Sat, 3 Feb 2024 18:02:42 +0100 Subject: [PATCH 1/5] Add Python 3.13.0-alpha.3 --- .github/workflows/ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index bfbb7084..ff344d05 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -38,7 +38,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["macos-12", "macos-13", "macos-14"]' - python-version: '["3.10", "3.11", "3.12", "installed"]' + python-version: '["3.10", "3.11", "3.12", "3.13.0-alpha.3", "installed"]' include: > [ {"os": "macos-12", "python-version": "3.8"}, @@ -52,7 +52,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"]' - python-version: '["3.9", "3.10", "3.11", "3.12", "installed"]' + python-version: '["3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.3", "installed"]' include: > [ {"os": "ubuntu-20.04", "python-version": "3.7"}, @@ -65,7 +65,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["windows-2019", "windows-2022"]' - python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "installed"]' + python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.3", "installed"]' include: '[{"os": "windows-2019", "python-version": "3.7"}]' publish: From d9466b610f71c09bb1da300971c712cc77a302a2 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Mon, 8 Jul 2024 19:45:00 +0200 Subject: [PATCH 2/5] Move to Python 3.13.0-beta.3 --- .github/workflows/ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index ff344d05..fba602a2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -38,7 +38,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["macos-12", "macos-13", "macos-14"]' - python-version: '["3.10", "3.11", "3.12", "3.13.0-alpha.3", "installed"]' + python-version: '["3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]' include: > [ {"os": "macos-12", "python-version": "3.8"}, @@ -52,7 +52,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"]' - python-version: '["3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.3", "installed"]' + python-version: '["3.9", "3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]' include: > [ {"os": "ubuntu-20.04", "python-version": "3.7"}, @@ -65,7 +65,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["windows-2019", "windows-2022"]' - python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.3", "installed"]' + python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]' include: '[{"os": "windows-2019", "python-version": "3.7"}]' publish: From 38f92c37601081327a9f69e51d9980697f639eeb Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Mon, 8 Jul 2024 19:52:12 +0200 Subject: [PATCH 3/5] Use cffi rc package supporting Python 3.13 --- python/requirements-post-3.7.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements-post-3.7.txt b/python/requirements-post-3.7.txt index 118eb45a..0a437fc7 100644 --- a/python/requirements-post-3.7.txt +++ b/python/requirements-post-3.7.txt @@ -7,7 +7,7 @@ PyGithub==2.2.0 wrapt==1.16.0 PyJWT==2.8.0 PyNaCl==1.5.0 - cffi==1.16.0 + cffi==1.17.0rc1 pycparser==2.22 requests==2.32.3 certifi==2024.7.4 From 29871458c9c5107ace1ac277f5d18a0c81d326c1 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Mon, 8 Jul 2024 20:41:54 +0200 Subject: [PATCH 4/5] Add requirements for Python 3.13 --- python/requirements-3.13.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 python/requirements-3.13.txt diff --git a/python/requirements-3.13.txt b/python/requirements-3.13.txt new file mode 100644 index 00000000..0a437fc7 --- /dev/null +++ b/python/requirements-3.13.txt @@ -0,0 +1,18 @@ +humanize==4.9.0 +junitparser==3.1.2 +lxml==5.1.0 +psutil==5.9.8 +PyGithub==2.2.0 + Deprecated==1.2.14 + wrapt==1.16.0 + PyJWT==2.8.0 + PyNaCl==1.5.0 + cffi==1.17.0rc1 + pycparser==2.22 + requests==2.32.3 + certifi==2024.7.4 + charset-normalizer==3.3.2 + idna==3.7 + urllib3==2.2.2 + typing_extensions==4.12.2 + urllib3==2.2.2 From a152df4b10d07476f08f8d042ce5d64c57d27263 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Mon, 8 Jul 2024 21:15:34 +0200 Subject: [PATCH 5/5] Allow whl files built for Python 3.13 --- .github/actions/test/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index db5bfc08..90470b7e 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -88,7 +88,7 @@ runs: python -m pip cache list || true # assert no whl files have been built - if python -m pip cache info && [[ "$(python -m pip cache info | grep "Number of .*wheels:")" != "Number of "*"wheels: 0" ]] + if [[ "$python_minor_version" != "3.13" ]] && python -m pip cache info && [[ "$(python -m pip cache info | grep "Number of .*wheels:")" != "Number of "*"wheels: 0" ]] then echo "Dependency whl files have been built" exit 1