Skip to content

Commit 6b3f3b1

Browse files
sd2kclaudedavidhewitt
authored
feat: update to PyO3 0.30 (#121)
* Update to PyO3 0.30 PyO3 0.30 drops Python 3.8 and raises its MSRV to 1.85, so follow suit: bump rust-version, test abi3 against py39, and remove 3.8 from the CI matrix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: test against released Python 3.15 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: David Hewitt <mail@davidhewitt.dev>
1 parent 901358d commit 6b3f3b1

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
fail-fast: false # If one platform fails, allow the rest to keep testing.
7171
matrix:
72-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev", "3.15t-dev"]
72+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t"]
7373
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
7474
rust: [stable]
7575
include:
@@ -85,17 +85,11 @@ jobs:
8585
- python-version: "3.14"
8686
os: "windows-11-arm"
8787
rust: "stable"
88-
# 3.8 & 3.9 don't have 26.04 builds
89-
- python-version: "3.8"
90-
os: "ubuntu-24.04"
91-
rust: "stable"
88+
# 3.9 doesn't have 26.04 builds
9289
- python-version: "3.9"
9390
os: "ubuntu-24.04"
9491
rust: "stable"
9592
exclude:
96-
- python-version: "3.8"
97-
os: "ubuntu-latest"
98-
rust: "stable"
9993
- python-version: "3.9"
10094
os: "ubuntu-latest"
10195
rust: "stable"
@@ -128,7 +122,7 @@ jobs:
128122
run: cargo test --verbose
129123

130124
- name: Test (abi3)
131-
run: cargo test --verbose --features pyo3/abi3-py38
125+
run: cargo test --verbose --features pyo3/abi3-py39
132126

133127
- name: Test (arbitrary_precision)
134128
run: cargo test --verbose --features arbitrary_precision

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Unreleased
2+
3+
- Bump MSRV to 1.85.
4+
- Update `pyo3` to 0.30.
5+
- Drop support for Python 3.8 (following PyO3).
6+
17
## 0.29.0 - 2026-05-12
28

39
- Update `pyo3` to 0.29.

‎Cargo.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pythonize"
33
version = "0.29.0"
44
authors = ["David Hewitt <1939362+davidhewitt@users.noreply.github.com>"]
55
edition = "2021"
6-
rust-version = "1.83"
6+
rust-version = "1.85"
77
license = "MIT"
88
description = "Serde Serializer & Deserializer from Rust <--> Python, backed by PyO3."
99
homepage = "https://github.com/davidhewitt/pythonize"
@@ -14,11 +14,11 @@ documentation = "https://docs.rs/crate/pythonize/"
1414
[dependencies]
1515
serde = { version = "1.0", default-features = false, features = ["std"] }
1616
serde_json = { version = "1.0", optional = true, default-features = false, features = ["std"] }
17-
pyo3 = { version = "0.29", default-features = false }
17+
pyo3 = { version = "0.30", default-features = false }
1818

1919
[dev-dependencies]
2020
serde = { version = "1.0", default-features = false, features = ["derive"] }
21-
pyo3 = { version = "0.29", default-features = false, features = ["auto-initialize", "macros", "py-clone"] }
21+
pyo3 = { version = "0.30", default-features = false, features = ["auto-initialize", "macros", "py-clone"] }
2222
serde_json = { version = "1.0", default-features = false, features = ["std"] }
2323
serde_bytes = "0.11"
2424
maplit = "1.0.2"

0 commit comments

Comments
 (0)