From 9b9cf5461f83be20c3c0acbc41de1203bd864673 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Tue, 16 Sep 2025 15:18:52 -0600 Subject: [PATCH 01/11] Add support for Python 3.14 --- .github/workflows/ci.yml | 19 ++++++++++++------- .github/workflows/wheel-builder.yml | 10 ++++++++-- README.rst | 1 + pyproject.toml | 2 ++ 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31b7bf55..fc793bd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ jobs: matrix: PYTHON: - {VERSION: "3.8", NOXSESSION: "tests"} - - {VERSION: "3.13", NOXSESSION: "tests"} - - {VERSION: "3.13t", NOXSESSION: "tests"} + - {VERSION: "3.14", NOXSESSION: "tests"} + - {VERSION: "3.14t", NOXSESSION: "tests"} MACOS: - macos-13 - macos-latest @@ -28,6 +28,7 @@ jobs: uses: actions/setup-python@v6.0.0 with: python-version: ${{ matrix.PYTHON.VERSION }} + allow-prereleases: true - uses: actions/cache@v4.2.4 timeout-minutes: 5 with: @@ -52,8 +53,8 @@ jobs: - {ARCH: 'arm64', WINDOWS: 'win-arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc', RUNNER: 'windows-11-arm'} PYTHON: - {VERSION: "3.8", NOXSESSION: "tests"} - - {VERSION: "3.13", NOXSESSION: "tests"} - - {VERSION: "3.13t", NOXSESSION: "tests"} + - {VERSION: "3.14", NOXSESSION: "tests"} + - {VERSION: "3.14t", NOXSESSION: "tests"} exclude: - WINDOWS: {ARCH: 'arm64', WINDOWS: 'win-arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc'} PYTHON: {VERSION: "3.8", NOXSESSION: "tests"} @@ -66,6 +67,7 @@ jobs: with: python-version: ${{ matrix.PYTHON.VERSION }} architecture: ${{ matrix.WINDOWS.ARCH }} + allow-preleases: true - uses: actions/cache@v4.2.4 timeout-minutes: 5 with: @@ -94,14 +96,16 @@ jobs: - {VERSION: "3.12", NOXSESSION: "tests"} - {VERSION: "3.13", NOXSESSION: "tests"} - {VERSION: "3.13t", NOXSESSION: "tests"} + - {VERSION: "3.14", NOXSESSION: "tests"} + - {VERSION: "3.14t", NOXSESSION: "tests"} - {VERSION: "pypy-3.9", NOXSESSION: "tests"} - {VERSION: "pypy-3.10", NOXSESSION: "tests"} - {VERSION: "pypy-3.11", NOXSESSION: "tests"} # MSRV - - {VERSION: "3.13", NOXSESSION: "tests", RUST_VERSION: "1.74.0"} - - {VERSION: "3.13", NOXSESSION: "tests", RUST_VERSION: "beta"} - - {VERSION: "3.13", NOXSESSION: "tests", RUST_VERSION: "nightly"} + - {VERSION: "3.14", NOXSESSION: "tests", RUST_VERSION: "1.74.0"} + - {VERSION: "3.14", NOXSESSION: "tests", RUST_VERSION: "beta"} + - {VERSION: "3.14", NOXSESSION: "tests", RUST_VERSION: "nightly"} name: "${{ matrix.PYTHON.VERSION }} on linux, Rust ${{ matrix.PYTHON.RUST_VERSION || 'stable' }}" steps: - uses: actions/checkout@v5.0.0 @@ -110,6 +114,7 @@ jobs: uses: actions/setup-python@v6.0.0 with: python-version: ${{ matrix.PYTHON.VERSION }} + allow-prereleases: true - uses: actions/cache@v4.2.4 timeout-minutes: 5 with: diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 9666b53b..0f5964f6 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -51,6 +51,7 @@ jobs: - { VERSION: "cp39-cp39", ABI_VERSION: 'cp39' } - { VERSION: "pp311-pypy311_pp73" } - { VERSION: "cp313-cp313t" } + - { VERSION: "cp314-cp314t" } MANYLINUX: - { NAME: "manylinux2014_x86_64", CONTAINER: "cryptography-manylinux2014:x86_64", RUNNER: "ubuntu-latest" } - { NAME: "manylinux_2_28_x86_64", CONTAINER: "cryptography-manylinux_2_28:x86_64", RUNNER: "ubuntu-latest"} @@ -150,6 +151,9 @@ jobs: - VERSION: '3.13t' DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.13.1/python-3.13.1-macos11.pkg' BIN_PATH: '/Library/Frameworks/PythonT.framework/Versions/3.13/bin/python3.13t' + - VERSION: '3.14t' + DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.13.1/python-3.14.0rc2-macos11.pkg' + BIN_PATH: '/Library/Frameworks/PythonT.framework/Versions/3.14/bin/python3.14t' name: "Python ${{ matrix.PYTHON.VERSION }} ${{ matrix.PYTHON.ABI_VERSION }} on macOS" steps: - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2 @@ -160,12 +164,12 @@ jobs: .github/config/macos-pkg-choices-freethreaded.xml persist-credentials: false - name: Install Python - if: matrix.PYTHON.VERSION != '3.13t' + if: endsWith(matrix.PYTHON.VERSION, 't') == 'false' run: | curl "${{ matrix.PYTHON.DOWNLOAD_URL }}" -o python.pkg sudo installer -pkg python.pkg -target / - name: Install Python - if: matrix.PYTHON.VERSION == '3.13t' + if: endsWith(matrix.PYTHON.VERSION, 't') == 'true' run: | curl "${{ matrix.PYTHON.DOWNLOAD_URL }}" -o python.pkg sudo installer -pkg python.pkg -applyChoiceChangesXML .github/config/macos-pkg-choices-freethreaded.xml -target / @@ -217,6 +221,7 @@ jobs: - {VERSION: "3.11", ABI_VERSION: "cp38"} - {VERSION: "3.11", ABI_VERSION: "cp39"} - {VERSION: "3.13t"} + - {VERSION: "3.14t"} name: "${{ matrix.PYTHON.VERSION }} ${{ matrix.PYTHON.ABI_VERSION }} ${{ matrix.WINDOWS.ARCH }}" steps: - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 @@ -227,6 +232,7 @@ jobs: with: python-version: ${{ matrix.PYTHON.VERSION }} architecture: ${{ matrix.WINDOWS.ARCH }} + allow-prereleases: true - uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: stable diff --git a/README.rst b/README.rst index bef067a0..8744f9de 100644 --- a/README.rst +++ b/README.rst @@ -55,6 +55,7 @@ Unreleased ---------- * Bumped MSRV to 1.74. +* Added support for Python 3.14 and free-threaded Python 3.14. 4.3.0 ----- diff --git a/pyproject.toml b/pyproject.toml index 4519a699..fdc15f38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,8 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: Free Threading :: 3 - Stable", ] requires-python = ">= 3.8" dynamic = ["readme"] From 00fd120240b9e001b47ac7fba6b99502ded192d5 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Tue, 16 Sep 2025 15:21:36 -0600 Subject: [PATCH 02/11] typo fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc793bd0..3c16a720 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,7 +67,7 @@ jobs: with: python-version: ${{ matrix.PYTHON.VERSION }} architecture: ${{ matrix.WINDOWS.ARCH }} - allow-preleases: true + allow-prereleases: true - uses: actions/cache@v4.2.4 timeout-minutes: 5 with: From 76fdcb2fe5a125269fe259c0b09c4887fcdcad36 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Wed, 17 Sep 2025 14:14:05 -0600 Subject: [PATCH 03/11] exclude musllinux_1_1 from Python 3.14 builds --- .github/workflows/wheel-builder.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 0f5964f6..4735c87b 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -87,6 +87,18 @@ jobs: # No PyPy on armv7l either - PYTHON: { VERSION: "pp311-pypy311_pp73" } MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" } + + # No Python 3.14 on musllinux_1_1 + - Python: { VERSION: "cp314-cp314"} + MANYLINUX: { NAME: "musllinux_1_1_x86_64", CONTAINER: "cryptography-musllinux_1_1:x86_64", RUNNER: "ubuntu-latest"} + - Python: { VERSION: "cp314-cp314"} + MANYLINUX: { NAME: "musllinux_1_1_aarch64", CONTAINER: "cryptography-musllinux_1_1:aarch64", RUNNER: "ubuntu-24.04-arm" } + + - Python: { VERSION: "cp314-cp314t"} + MANYLINUX: { NAME: "musllinux_1_1_x86_64", CONTAINER: "cryptography-musllinux_1_1:x86_64", RUNNER: "ubuntu-latest"} + - Python: { VERSION: "cp314-cp314t"} + MANYLINUX: { NAME: "musllinux_1_1_aarch64", CONTAINER: "cryptography-musllinux_1_1:aarch64", RUNNER: "ubuntu-24.04-arm" } + name: "${{ matrix.PYTHON.VERSION }} for ${{ matrix.MANYLINUX.NAME }}" container: image: ghcr.io/pyca/${{ matrix.MANYLINUX.CONTAINER }} From c5a517f96612428a38dacec6780af675f7abe015 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Wed, 17 Sep 2025 14:25:46 -0600 Subject: [PATCH 04/11] fix typo in path --- .github/workflows/wheel-builder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 4735c87b..6e7f150c 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -164,7 +164,7 @@ jobs: DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.13.1/python-3.13.1-macos11.pkg' BIN_PATH: '/Library/Frameworks/PythonT.framework/Versions/3.13/bin/python3.13t' - VERSION: '3.14t' - DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.13.1/python-3.14.0rc2-macos11.pkg' + DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.14.0/python-3.14.0rc2-macos11.pkg' BIN_PATH: '/Library/Frameworks/PythonT.framework/Versions/3.14/bin/python3.14t' name: "Python ${{ matrix.PYTHON.VERSION }} ${{ matrix.PYTHON.ABI_VERSION }} on macOS" steps: From c4609286c65539bfb623d950fbebdd9e9f8c8e59 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Wed, 17 Sep 2025 14:25:59 -0600 Subject: [PATCH 05/11] make artifact names unique --- .github/workflows/wheel-builder.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 6e7f150c..5a0f2ada 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -142,7 +142,7 @@ jobs: - run: mv wheelhouse/bcrypt*.whl bcrypt-wheelhouse/ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - name: "bcrypt-${{ github.event.inputs.version }}-${{ matrix.MANYLINUX.NAME }} -${{ matrix.PYTHON.VERSION }}" + name: "bcrypt-${{ github.event.inputs.version }}-${{ matrix.MANYLINUX.NAME }}-${{ matrix.PYTHON.VERSION }}${{ matrix.PYTHON.ABI_VERSION }}" path: bcrypt-wheelhouse/ macos: @@ -216,7 +216,7 @@ jobs: - run: mv wheelhouse/bcrypt*.whl bcrypt-wheelhouse/ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - name: "bcrypt-${{ github.event.inputs.version }}-macOS-${{ matrix.PYTHON.ABI_VERSION }}" + name: "bcrypt-${{ github.event.inputs.version }}-macOS-${{ matrix.PYTHON.VERSION }}${{ matrix.PYTHON.ABI_VERSION }}" path: bcrypt-wheelhouse/ windows: @@ -269,5 +269,5 @@ jobs: - run: move wheelhouse\bcrypt*.whl bcrypt-wheelhouse\ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - name: "bcrypt-${{ github.event.inputs.version }}-${{ matrix.WINDOWS.ARCH }}-${{ matrix.PYTHON.ABI_VERSION }}" + name: "bcrypt-${{ github.event.inputs.version }}-${{ matrix.WINDOWS.ARCH }}-${{ matrix.PYTHON.VERSION }}${{ matrix.PYTHON.ABI_VERSION }}" path: bcrypt-wheelhouse\ From 2e77e16191a7e0856b515777a771a5ad93dddac3 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Wed, 17 Sep 2025 14:32:41 -0600 Subject: [PATCH 06/11] try with quoted values --- .github/workflows/wheel-builder.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 5a0f2ada..898fcc23 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -176,12 +176,12 @@ jobs: .github/config/macos-pkg-choices-freethreaded.xml persist-credentials: false - name: Install Python - if: endsWith(matrix.PYTHON.VERSION, 't') == 'false' + if: ${{ !endsWith(matrix.PYTHON.VERSION, 't') }} run: | curl "${{ matrix.PYTHON.DOWNLOAD_URL }}" -o python.pkg sudo installer -pkg python.pkg -target / - - name: Install Python - if: endsWith(matrix.PYTHON.VERSION, 't') == 'true' + - name: Install Python (free-threaded) + if: ${{ endsWith(matrix.PYTHON.VERSION, 't') }} run: | curl "${{ matrix.PYTHON.DOWNLOAD_URL }}" -o python.pkg sudo installer -pkg python.pkg -applyChoiceChangesXML .github/config/macos-pkg-choices-freethreaded.xml -target / From 0a67820e0223fb57365a4ace29cf533161985b93 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Wed, 17 Sep 2025 14:44:27 -0600 Subject: [PATCH 07/11] use newer Python minor versions in Mac wheel builds --- .github/workflows/wheel-builder.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 898fcc23..b506b533 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -154,14 +154,14 @@ jobs: PYTHON: - VERSION: '3.11' ABI_VERSION: 'cp38' - DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.3/python-3.11.3-macos11.pkg' + DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.13/python-3.11.13-macos11.pkg' BIN_PATH: '/Library/Frameworks/Python.framework/Versions/3.11/bin/python3' - VERSION: '3.11' ABI_VERSION: 'cp39' - DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.3/python-3.11.3-macos11.pkg' + DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.13/python-3.11.13-macos11.pkg' BIN_PATH: '/Library/Frameworks/Python.framework/Versions/3.11/bin/python3' - VERSION: '3.13t' - DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.13.1/python-3.13.1-macos11.pkg' + DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.13.7/python-3.13.7-macos11.pkg' BIN_PATH: '/Library/Frameworks/PythonT.framework/Versions/3.13/bin/python3.13t' - VERSION: '3.14t' DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.14.0/python-3.14.0rc2-macos11.pkg' From d9a8c17b41be07f4db1993746d40b80593ca5e0d Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Wed, 17 Sep 2025 15:00:31 -0600 Subject: [PATCH 08/11] fix dead links --- .github/workflows/wheel-builder.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index b506b533..0bcff0b7 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -154,11 +154,11 @@ jobs: PYTHON: - VERSION: '3.11' ABI_VERSION: 'cp38' - DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.13/python-3.11.13-macos11.pkg' + DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.9/python-3.11.9-macos11.pkg' BIN_PATH: '/Library/Frameworks/Python.framework/Versions/3.11/bin/python3' - VERSION: '3.11' ABI_VERSION: 'cp39' - DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.13/python-3.11.13-macos11.pkg' + DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.11.9/python-3.11.9-macos11.pkg' BIN_PATH: '/Library/Frameworks/Python.framework/Versions/3.11/bin/python3' - VERSION: '3.13t' DOWNLOAD_URL: 'https://www.python.org/ftp/python/3.13.7/python-3.13.7-macos11.pkg' From 86201173d6d6534c702511bd06bdde1273e8cbe1 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Wed, 17 Sep 2025 17:03:18 -0600 Subject: [PATCH 09/11] adjust free-threaded python install --- ...ml => macos-pkg-choices-freethreaded-3.13t.xml} | 0 .../macos-pkg-choices-freethreaded-3.14t.xml | 14 ++++++++++++++ .github/workflows/wheel-builder.yml | 5 +++-- 3 files changed, 17 insertions(+), 2 deletions(-) rename .github/config/{macos-pkg-choices-freethreaded.xml => macos-pkg-choices-freethreaded-3.13t.xml} (100%) create mode 100644 .github/config/macos-pkg-choices-freethreaded-3.14t.xml diff --git a/.github/config/macos-pkg-choices-freethreaded.xml b/.github/config/macos-pkg-choices-freethreaded-3.13t.xml similarity index 100% rename from .github/config/macos-pkg-choices-freethreaded.xml rename to .github/config/macos-pkg-choices-freethreaded-3.13t.xml diff --git a/.github/config/macos-pkg-choices-freethreaded-3.14t.xml b/.github/config/macos-pkg-choices-freethreaded-3.14t.xml new file mode 100644 index 00000000..028f8e47 --- /dev/null +++ b/.github/config/macos-pkg-choices-freethreaded-3.14t.xml @@ -0,0 +1,14 @@ + + + + + + attributeSetting + 1 + choiceAttribute + selected + choiceIdentifier + org.python.Python.PythonTFramework-3.14 + + + diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 0bcff0b7..58bc47ee 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -173,7 +173,8 @@ jobs: # The tag to build or the tag received by the tag event ref: ${{ github.event.inputs.version || github.ref }} sparse-checkout: | - .github/config/macos-pkg-choices-freethreaded.xml + .github/config/macos-pkg-choices-freethreaded-3.13t.xml + .github/config/macos-pkg-choices-freethreaded-3.14t.xml persist-credentials: false - name: Install Python if: ${{ !endsWith(matrix.PYTHON.VERSION, 't') }} @@ -184,7 +185,7 @@ jobs: if: ${{ endsWith(matrix.PYTHON.VERSION, 't') }} run: | curl "${{ matrix.PYTHON.DOWNLOAD_URL }}" -o python.pkg - sudo installer -pkg python.pkg -applyChoiceChangesXML .github/config/macos-pkg-choices-freethreaded.xml -target / + sudo installer -pkg python.pkg -applyChoiceChangesXML .github/config/macos-pkg-choices-freethreaded-${{ matrix.PYTHON.VERSION }}.xml -target / - uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: stable From f052594f7370a1b042e79dc68259065991ae14b4 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Thu, 18 Sep 2025 10:59:31 -0600 Subject: [PATCH 10/11] revert to 3.13 for 'default' testing jobs --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c16a720..28eeddbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ jobs: matrix: PYTHON: - {VERSION: "3.8", NOXSESSION: "tests"} - - {VERSION: "3.14", NOXSESSION: "tests"} - - {VERSION: "3.14t", NOXSESSION: "tests"} + - {VERSION: "3.13", NOXSESSION: "tests"} + - {VERSION: "3.13t", NOXSESSION: "tests"} MACOS: - macos-13 - macos-latest @@ -53,8 +53,8 @@ jobs: - {ARCH: 'arm64', WINDOWS: 'win-arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc', RUNNER: 'windows-11-arm'} PYTHON: - {VERSION: "3.8", NOXSESSION: "tests"} - - {VERSION: "3.14", NOXSESSION: "tests"} - - {VERSION: "3.14t", NOXSESSION: "tests"} + - {VERSION: "3.13", NOXSESSION: "tests"} + - {VERSION: "3.13t", NOXSESSION: "tests"} exclude: - WINDOWS: {ARCH: 'arm64', WINDOWS: 'win-arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc'} PYTHON: {VERSION: "3.8", NOXSESSION: "tests"} @@ -103,9 +103,9 @@ jobs: - {VERSION: "pypy-3.11", NOXSESSION: "tests"} # MSRV - - {VERSION: "3.14", NOXSESSION: "tests", RUST_VERSION: "1.74.0"} - - {VERSION: "3.14", NOXSESSION: "tests", RUST_VERSION: "beta"} - - {VERSION: "3.14", NOXSESSION: "tests", RUST_VERSION: "nightly"} + - {VERSION: "3.13", NOXSESSION: "tests", RUST_VERSION: "1.74.0"} + - {VERSION: "3.13", NOXSESSION: "tests", RUST_VERSION: "beta"} + - {VERSION: "3.13", NOXSESSION: "tests", RUST_VERSION: "nightly"} name: "${{ matrix.PYTHON.VERSION }} on linux, Rust ${{ matrix.PYTHON.RUST_VERSION || 'stable' }}" steps: - uses: actions/checkout@v5.0.0 From 37e22c2b14e21b8e542db2c50434785235b99512 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Thu, 18 Sep 2025 10:59:47 -0600 Subject: [PATCH 11/11] explicitly specify development python versions in CI --- .github/workflows/ci.yml | 7 ++----- .github/workflows/wheel-builder.yml | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28eeddbb..0ee8316d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,6 @@ jobs: uses: actions/setup-python@v6.0.0 with: python-version: ${{ matrix.PYTHON.VERSION }} - allow-prereleases: true - uses: actions/cache@v4.2.4 timeout-minutes: 5 with: @@ -67,7 +66,6 @@ jobs: with: python-version: ${{ matrix.PYTHON.VERSION }} architecture: ${{ matrix.WINDOWS.ARCH }} - allow-prereleases: true - uses: actions/cache@v4.2.4 timeout-minutes: 5 with: @@ -96,8 +94,8 @@ jobs: - {VERSION: "3.12", NOXSESSION: "tests"} - {VERSION: "3.13", NOXSESSION: "tests"} - {VERSION: "3.13t", NOXSESSION: "tests"} - - {VERSION: "3.14", NOXSESSION: "tests"} - - {VERSION: "3.14t", NOXSESSION: "tests"} + - {VERSION: "3.14-dev", NOXSESSION: "tests"} + - {VERSION: "3.14t-dev", NOXSESSION: "tests"} - {VERSION: "pypy-3.9", NOXSESSION: "tests"} - {VERSION: "pypy-3.10", NOXSESSION: "tests"} - {VERSION: "pypy-3.11", NOXSESSION: "tests"} @@ -114,7 +112,6 @@ jobs: uses: actions/setup-python@v6.0.0 with: python-version: ${{ matrix.PYTHON.VERSION }} - allow-prereleases: true - uses: actions/cache@v4.2.4 timeout-minutes: 5 with: diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 58bc47ee..594ded64 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -234,7 +234,7 @@ jobs: - {VERSION: "3.11", ABI_VERSION: "cp38"} - {VERSION: "3.11", ABI_VERSION: "cp39"} - {VERSION: "3.13t"} - - {VERSION: "3.14t"} + - {VERSION: "3.14t-dev"} name: "${{ matrix.PYTHON.VERSION }} ${{ matrix.PYTHON.ABI_VERSION }} ${{ matrix.WINDOWS.ARCH }}" steps: - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 @@ -245,7 +245,6 @@ jobs: with: python-version: ${{ matrix.PYTHON.VERSION }} architecture: ${{ matrix.WINDOWS.ARCH }} - allow-prereleases: true - uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: stable