Skip to content

Commit 5c0d16d

Browse files
authored
Upgrade pyo3 to 0.24.0 (#2511)
1 parent 17c76ae commit 5c0d16d

File tree

46 files changed

+290
-264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+290
-264
lines changed

deny.toml

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ ignore = [
7979
"RUSTSEC-2023-0050",
8080
# paste unmaintained
8181
"RUSTSEC-2024-0436",
82+
# humantime unmaintained
83+
"RUSTSEC-2025-0014",
8284
#{ id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
8385
#"[email protected]", # you can also ignore yanked crate versions if you wish
8486
#{ crate = "[email protected]", reason = "you can specify why you are ignoring the yanked crate" },

guide/src/bindings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ maturin automatically detects pyo3 bindings when it's added as a dependency in `
1717
pyo3 bindings has `Py_LIMITED_API`/abi3 support, enable the `abi3` feature of the `pyo3` crate to use it:
1818

1919
```toml
20-
pyo3 = { version = "0.23", features = ["abi3"] }
20+
pyo3 = { version = "0.24", features = ["abi3"] }
2121
```
2222

2323
You may additionally specify a minimum Python version by using the `abi3-pyXX`

src/build_options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ mod test {
15411541
let bridge = BridgeModel::BindingsAbi3 {
15421542
bindings: Bindings {
15431543
name: "pyo3".to_string(),
1544-
version: semver::Version::new(0, 23, 5),
1544+
version: semver::Version::new(0, 24, 0),
15451545
},
15461546
major: 3,
15471547
minor: 7,

src/templates/Cargo.toml.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
1212

1313
[dependencies]
1414
{% if bindings == "pyo3" -%}
15-
pyo3 = "0.23.3"
15+
pyo3 = "0.24.0"
1616
{% elif bindings == "uniffi" -%}
1717
uniffi = "0.28.0"
1818

test-crates/lib_with_disallowed_lib/Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-crates/lib_with_disallowed_lib/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ crate-type = ["cdylib"]
99

1010
[dependencies]
1111
libz-sys = { version = "1.1.2", default-features = false }
12-
pyo3 = { version = "0.23.1", features = ["extension-module"] }
12+
pyo3 = { version = "0.24.0", features = ["extension-module"] }

test-crates/lib_with_path_dep/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ edition = "2021"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
pyo3 = { version = "0.23.1", features = ["extension-module"] }
11+
pyo3 = { version = "0.24.0", features = ["extension-module"] }
1212
some_path_dep = { path = "../some_path_dep" }

test-crates/pyo3-abi3-without-version/Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-crates/pyo3-abi3-without-version/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["konstin <[email protected]>"]
55
edition = "2021"
66

77
[dependencies]
8-
pyo3 = { version = "0.23.1", features = ["abi3", "extension-module"] }
8+
pyo3 = { version = "0.24.0", features = ["abi3", "extension-module"] }
99

1010
[lib]
1111
name = "pyo3_abi3_without_version"

test-crates/pyo3-bin/Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-crates/pyo3-bin/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
pyo3 = { version = "0.23.1", features = ["auto-initialize"] }
9+
pyo3 = { version = "0.24.0", features = ["auto-initialize"] }

test-crates/pyo3-feature/Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-crates/pyo3-feature/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ version = "0.7.3"
55
edition = "2021"
66

77
[dependencies]
8-
pyo3 = { version = "0.23.1", optional = true }
8+
pyo3 = { version = "0.24.0", optional = true }

0 commit comments

Comments
 (0)