8000 Upgrade pyo3 to 0.25.0 by messense · Pull Request #2631 · PyO3/maturin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Upgrade pyo3 to 0.25.0 #2631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comm 10000 ents.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guide/src/bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maturin automatically detects pyo3 bindings when it's added as a dependency in `
pyo3 bindings has `Py_LIMITED_API`/abi3 support, enable the `abi3` feature of the `pyo3` crate to use it:

```toml
pyo3 = { version = "0.24", features = ["abi3"] }
pyo3 = { version = "0.25", features = ["abi3"] }
```

You may additionally specify a minimum Python version by using the `abi3-pyXX`
Expand Down
2 changes: 1 addition & 1 deletion guide/src/distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ or providing any Windows Python library files.

```toml
[dependencies]
pyo3 = { version = "0.22.0", features = ["extension-module", "generate-import-lib"] }
pyo3 = { version = "0.25.0", features = ["extension-module", "generate-import-lib"] }
```

It uses an external [`python3-dll-a`](https://docs.rs/python3-dll-a/latest/python3_dll_a/) crate to
Expand Down
4 changes: 2 additions & 2 deletions src/build_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1621,12 +1621,12 @@ mod test {

let bridge = BridgeModel::PyO3(PyO3 {
crate_name: PyO3Crate::PyO3,
version: semver::Version::new(0, 24, 1),
version: semver::Version::new(0, 25, 0),
abi3: Some(Abi3Version::Version(3, 7)),
metadata: Some(PyO3Metadata {
cpython: PyO3VersionMetadata {
min_minor: 7,
max_minor: 13,
max_minor: 14,
},
pypy: PyO3VersionMetadata {
min_minor: 9,
Expand Down
2 changes: 1 addition & 1 deletion src/templates/Cargo.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ crate-type = ["cdylib"]

[dependencies]
{% if bindings == "pyo3" -%}
pyo3 = "0.24.0"
pyo3 = "0.25.0"
{% elif bindings == "uniffi" -%}
uniffi = "0.28.0"

Expand Down
27 changes: 10 additions & 17 deletions test-crates/lib_with_disallowed_lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-crates/lib_with_disallowed_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ crate-type = ["cdylib"]

[dependencies]
libz-sys = { version = "1.1.2", default-features = false }
pyo3 = { version = "0.24.0", features = ["extension-module"] }
pyo3 = { version = "0.25.0", features = ["extension-module"] }
2 changes: 1 addition & 1 deletion test-crates/lib_with_path_dep/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.24.0", features = ["extension-module"] }
pyo3 = { version = "0.25.0", features = ["extension-module"] }
some_path_dep = { path = "../some_path_dep" }
27 changes: 10 additions & 17 deletions test-crates/pyo3-abi3-without-version/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-crates/pyo3-abi3-without-version/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["konstin <konstin@mailbox.org>"]
edition = "2021"

[dependencies]
pyo3 = { version = "0.24.1", features = ["abi3", "extension-module"] }
pyo3 = { version = "0.25.0", features = ["abi3", "extension-module"] }

[lib]
name = "pyo3_abi3_without_version"
Expand Down
27 changes: 10 additions & 17 deletions test-crates/pyo3-bin/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-crates/pyo3-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
pyo3 = { version = "0.24.0", features = ["auto-initialize"] }
pyo3 = { version = "0.25.0", features = ["auto-initialize"] }
27 changes: 10 additions & 17 deletions test-crates/pyo3-feature/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-crates/pyo3-feature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ version = "0.7.3"
edition = "2021"

[dependencies]
pyo3 = { version = "0.24.0", optional = true }
pyo3 = { version = "0.25.0", optional = true }
Loading
Loading
0