Skip to content

Commit 94a6f9a

Browse files
authored
Update PyO3 0.20 -> 0.22 & Python 3.13 (#169)
1 parent 5380136 commit 94a6f9a

File tree

14 files changed

+1842
-1757
lines changed

14 files changed

+1842
-1757
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ jobs:
2323
fail-fast: ${{ !( startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/tags/') ) }}
2424
matrix:
2525
python-version:
26-
- '3.8'
27-
- '3.9'
26+
- '3.8'
27+
- '3.9'
2828
- '3.10'
2929
- '3.11'
3030
- '3.12'
31+
- '3.13'
3132
conf:
3233
- { os: ubuntu-latest, target: x86_64, target-triple: x86_64-unknown-linux-gnu, manylinux: auto }
3334
- { os: ubuntu-latest, target: x86_64, target-triple: x86_64-unknown-linux-musl, manylinux: musllinux_1_1 }
@@ -116,6 +117,7 @@ jobs:
116117
with:
117118
python-version: ${{ matrix.python-version }}
118119
architecture: ${{ matrix.conf.python-architecture }}
120+
allow-prereleases: true
119121

120122
- name: Install Rust toolchain
121123
uses: dtolnay/rust-toolchain@stable
@@ -214,7 +216,8 @@ jobs:
214216
# Could use 'distro: alpine_latest' in 'run-on-arch-action' but seems difficult to install a specific version of python
215217
# so we'll just use existing python alpine images to test import and cli use w/o testing archs other than x86_64
216218
- name: Install built wheel and Test (musllinux)
217-
if: startsWith(matrix.conf.manylinux, 'musl') && matrix.conf.target == 'x86_64'
219+
# TODO: python:3.13-alpine doesn't exist yet
220+
if: startsWith(matrix.conf.manylinux, 'musl') && matrix.conf.target == 'x86_64' && matrix.python-version != '3.13'
218221
run: |
219222
docker run \
220223
-v $(pwd)/dist:/wheels \

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cramjam-python"
3-
version = "2.8.4-rc2"
3+
version = "2.8.4-rc3"
44
authors = ["Miles Granger <miles59923@gmail.com>"]
55
edition = "2021"
66
license = "MIT"
@@ -20,11 +20,11 @@ use-system-blosc2 = ["libcramjam/use-system-blosc2"]
2020

2121

2222
[dependencies]
23-
pyo3 = { version = "^0.20", default-features = false, features = ["macros"] }
23+
pyo3 = { version = "^0.22", default-features = false, features = ["macros"] }
2424
libcramjam = { version = "0.4.2" }
2525

2626
[build-dependencies]
27-
pyo3-build-config = "^0.20"
27+
pyo3-build-config = "^0.22"
2828

2929
[profile.release]
3030
strip = true

0 commit comments

Comments
 (0)