Skip to content

Commit

Permalink
add builds for 3.13 wheels (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt authored Oct 7, 2024
1 parent 4af2c1c commit 01f1756
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,15 @@ jobs:
- os: linux
manylinux: auto
target: armv7
interpreter: 3.8 3.9 3.10 3.11 3.12
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
- os: linux
manylinux: auto
target: ppc64le
interpreter: 3.8 3.9 3.10 3.11 3.12
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
- os: linux
manylinux: auto
target: s390x
interpreter: 3.8 3.9 3.10 3.11 3.12
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13

# musllinux
- os: linux
Expand All @@ -312,7 +312,7 @@ jobs:
- os: windows
target: i686
python-architecture: x86
interpreter: 3.8 3.9 3.10 3.11 3.12
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
# FIXME had link failures, needs investigation
# - os: windows
# target: aarch64
Expand All @@ -338,7 +338,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux }}
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12' }}
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13' }}
rust-toolchain: stable
working-directory: crates/jiter-python

Expand All @@ -361,7 +361,7 @@ jobs:
fail-fast: false
matrix:
os: [linux, windows, macos]
interpreter: ['3.8', '3.9', '3.10', '3.11', '3.12']
interpreter: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
include:
# standard runners with override for macos arm
- os: linux
Expand All @@ -386,6 +386,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.interpreter }}
allow-prereleases: true

- name: install rust stable
id: rust-toolchain
Expand Down
4 changes: 0 additions & 4 deletions crates/jiter-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ repository = {workspace = true}
pyo3 = { workspace = true, features = ["num-bigint"] }
jiter = { path = "../jiter", features = ["python", "num-bigint"] }

[features]
# must be enabled when building with `cargo build`, maturin enables this automatically
extension-module = ["pyo3/extension-module"]

[lib]
name = "jiter_python"
crate-type = ["cdylib", "rlib"]
Expand Down
2 changes: 1 addition & 1 deletion crates/jiter-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ dynamic = ["version"]
[tool.maturin]
module-name = "jiter"
bindings = "pyo3"
features = ["pyo3/extension-module"]
features = ["pyo3/extension-module", "pyo3/generate-import-lib"]

0 comments on commit 01f1756

Please sign in to comment.