diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0dba755e..a7f4839e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/crates/jiter-python/Cargo.toml b/crates/jiter-python/Cargo.toml index 71ed7c98..ddcceb38 100644 --- a/crates/jiter-python/Cargo.toml +++ b/crates/jiter-python/Cargo.toml @@ -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"] diff --git a/crates/jiter-python/pyproject.toml b/crates/jiter-python/pyproject.toml index a45c48a7..2958ef30 100644 --- a/crates/jiter-python/pyproject.toml +++ b/crates/jiter-python/pyproject.toml @@ -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"]