Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
- '3.11'
- '3.12'
- '3.13'
- '3.14.0-rc.2'
- '3.13t'
- '3.14'
- '3.14t'
arch:
- 'arm64'
- 'x86'
Expand Down Expand Up @@ -77,9 +79,10 @@ jobs:
with:
python-version: ${{ matrix.py }}
architecture: ${{ matrix.arch }}
allow-prereleases: true

- name: Install Rust
if: matrix.arch != 'x86' && matrix.py != '3.14.0-rc.2'
if: matrix.arch != 'x86' && (matrix.py != '3.14' || matrix.py != '3.14t')
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # v1
with:
toolchain: stable
Expand All @@ -96,14 +99,14 @@ jobs:
python -m pip install --require-hashes -r ci/requirements.txt

- name: Build (Rust)
if: matrix.arch != 'x86' && matrix.py != '3.14.0-rc.2'
if: matrix.arch != 'x86' && (matrix.py != '3.14' || matrix.py != '3.14t')
env:
PIP_CONSTRAINT: 'ci/constraints.txt'
run: |
python -m pip -v install --config-settings='--build-option=--rust-backend' -e .

- name: Build (No Rust)
if: matrix.arch == 'x86' || matrix.py == '3.14.0-rc.2'
if: matrix.arch == 'x86' || matrix.py == '3.14' || matrix.py == '3.14t'
env:
PIP_CONSTRAINT: 'ci/constraints.txt'
run: |
Expand All @@ -114,13 +117,14 @@ jobs:
pytest --numprocesses=auto --hypothesis-profile=${HYPOTHESIS_PROFILE} -v tests/

- name: Test CFFI Backend
if: matrix.py != '3.13t'
env:
PYTHON_ZSTANDARD_IMPORT_POLICY: 'cffi'
run: |
pytest --numprocesses=auto --hypothesis-profile=${HYPOTHESIS_PROFILE} -v tests/

- name: Test Rust Backend
if: matrix.arch != 'x86' && matrix.py != '3.14.0-rc.2'
if: matrix.arch != 'x86' && (matrix.py != '3.14' || matrix.py != '3.14t' )
# Rust backend is currently experimental. So ignore failures in it.
continue-on-error: true
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
- '3.11'
- '3.12'
- '3.13'
- '3.13t'
- '3.14'
- '3.14t'
runs-on: 'ubuntu-24.04'
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
- 'cp311-cp311'
- 'cp312-cp312'
- 'cp313-cp313'
- 'cp313-cp313t'
- 'cp314-cp314'
- 'cp314-cp314t'
exclude:
- image: 'musllinux_1_1_aarch64'
py: 'cp314-cp314'
Expand Down Expand Up @@ -65,7 +67,9 @@ jobs:
- 'cp311'
- 'cp312'
- 'cp313'
- 'cp313t'
- 'cp314'
- 'cp314t'
arch:
- 'arm64'
- 'x86_64'
Expand All @@ -74,7 +78,9 @@ jobs:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_BUILD_VERBOSITY: '1'
CIBW_ENABLE: cpython-prerelease cpython-freethreading
ZSTD_WARNINGS_AS_ERRORS: '1'

steps:
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
Expand Down Expand Up @@ -109,7 +115,9 @@ jobs:
- '3.11'
- '3.12'
- '3.13'
- '3.14.0-rc.2'
- '3.13t'
- '3.14'
- '3.14t'
arch:
- 'x86'
- 'x64'
Expand All @@ -130,6 +138,7 @@ jobs:
with:
python-version: ${{ matrix.py }}
architecture: ${{ matrix.arch }}
allow-prereleases: true

- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading