From 32051418bf8b441c1a43d6bd2d5c0a57a60bf0e0 Mon Sep 17 00:00:00 2001 From: Gernot Bauer Date: Fri, 12 Jun 2026 00:32:54 +0200 Subject: [PATCH 1/2] Update to PyO3 0.29 --- CHANGELOG.md | 3 +++ Cargo.toml | 6 +++--- README.md | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fa1128..873c2c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## Unreleased +- Update `pyo3` to 0.29. + ## 0.28.0 - 2026-02-18 - Bump MSRV to 1.83. diff --git a/Cargo.toml b/Cargo.toml index 90c1696..db1f21f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pythonize" -version = "0.28.0" +version = "0.29.0" authors = ["David Hewitt <1939362+davidhewitt@users.noreply.github.com>"] edition = "2021" rust-version = "1.83" @@ -14,11 +14,11 @@ documentation = "https://docs.rs/crate/pythonize/" [dependencies] serde = { version = "1.0", default-features = false, features = ["std"] } serde_json = { version = "1.0", optional = true, default-features = false, features = ["std"] } -pyo3 = { version = "0.28", default-features = false } +pyo3 = { version = "0.29", default-features = false } [dev-dependencies] serde = { version = "1.0", default-features = false, features = ["derive"] } -pyo3 = { version = "0.28", default-features = false, features = ["auto-initialize", "macros", "py-clone"] } +pyo3 = { version = "0.29", default-features = false, features = ["auto-initialize", "macros", "py-clone"] } serde_json = { version = "1.0", default-features = false, features = ["std"] } serde_bytes = "0.11" maplit = "1.0.2" diff --git a/README.md b/README.md index 8d1986e..a59bd22 100644 --- a/README.md +++ b/README.md @@ -56,5 +56,5 @@ Enable support for `serde_json`'s `arbitrary_precision` feature, which allows ha ```toml [dependencies] -pythonize = { version = "0.28", features = ["arbitrary_precision"] } +pythonize = { version = "0.29", features = ["arbitrary_precision"] } ``` From 7153492d0a96c662e85f9e669d51512d5e7dbeff Mon Sep 17 00:00:00 2001 From: Gernot Bauer Date: Fri, 12 Jun 2026 00:45:16 +0200 Subject: [PATCH 2/2] update abi3 to py38 in workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a45b1b0..04b3745 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: run: cargo test --verbose - name: Test (abi3) - run: cargo test --verbose --features pyo3/abi3-py37 + run: cargo test --verbose --features pyo3/abi3-py38 - name: Test (arbitrary_precision) run: cargo test --verbose --features arbitrary_precision