Skip to content

Commit fabc0ca

Browse files
davidhewittalex
andcommitted
release: 0.25.1
Co-authored-by: Alex Gaynor <[email protected]>
1 parent 4612ebc commit fabc0ca

File tree

24 files changed

+49
-35
lines changed

24 files changed

+49
-35
lines changed

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@ To see unreleased changes, please see the [CHANGELOG on the main branch guide](h
1010

1111
<!-- towncrier release notes start -->
1212

13+
## [0.25.1] - 2025-06-12
14+
### Packaging
15+
16+
- Add support for Windows on ARM64. [#5145](https://github.com/PyO3/pyo3/pull/5145)
17+
- Add `chrono-local` feature for optional conversions for chrono's `Local` timezone & `DateTime<Local>` instances. [#5174](https://github.com/PyO3/pyo3/pull/5174)
18+
19+
### Added
20+
21+
- Add FFI definition `PyBytes_AS_STRING`. [#5121](https://github.com/PyO3/pyo3/pull/5121)
22+
- Add support for module associated consts introspection. [#5150](https://github.com/PyO3/pyo3/pull/5150)
23+
24+
### Changed
25+
26+
- Enable "vectorcall" FFI definitions on GraalPy. [#5121](https://github.com/PyO3/pyo3/pull/5121)
27+
- Use `Py_Is` function on GraalPy [#5121](https://github.com/PyO3/pyo3/pull/5121)
28+
29+
### Fixed
30+
31+
- Report a better compile error for `async` declarations when not using `experimental-async` feature. [#5156](https://github.com/PyO3/pyo3/pull/5156)
32+
- Fix implementation of `FromPyObject` for `uuid::Uuid` on big-endian architectures. [#5161](https://github.com/PyO3/pyo3/pull/5161)
33+
- Fix segmentation faults on 32-bit x86 with Python 3.14. [#5180](https://github.com/PyO3/pyo3/pull/5180)
34+
1335
## [0.25.0] - 2025-05-14
1436

1537
### Packaging
@@ -2198,7 +2220,8 @@ Yanked
21982220

21992221
- Initial release
22002222

2201-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.25.0...HEAD
2223+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.25.1...HEAD
2224+
[0.25.0]: https://github.com/pyo3/pyo3/compare/v0.25.0...v0.25.1
22022225
[0.25.0]: https://github.com/pyo3/pyo3/compare/v0.24.2...v0.25.0
22032226
[0.24.2]: https://github.com/pyo3/pyo3/compare/v0.24.1...v0.24.2
22042227
[0.24.1]: https://github.com/pyo3/pyo3/compare/v0.24.0...v0.24.1

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3"
3-
version = "0.25.0"
3+
version = "0.25.1"
44
description = "Bindings to Python interpreter"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
readme = "README.md"
@@ -20,10 +20,10 @@ memoffset = "0.9"
2020
once_cell = "1.13"
2121

2222
# ffi bindings to the python interpreter, split into a separate crate so they can be used independently
23-
pyo3-ffi = { path = "pyo3-ffi", version = "=0.25.0" }
23+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.25.1" }
2424

2525
# support crates for macros feature
26-
pyo3-macros = { path = "pyo3-macros", version = "=0.25.0", optional = true }
26+
pyo3-macros = { path = "pyo3-macros", version = "=0.25.1", optional = true }
2727
indoc = { version = "2.0.1", optional = true }
2828
unindent = { version = "0.2.1", optional = true }
2929

@@ -74,7 +74,7 @@ uuid = { version = "1.10.0", features = ["v4"] }
7474
parking_lot = { version = "0.12.3", features = ["arc_lock"]}
7575

7676
[build-dependencies]
77-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.25.0", features = ["resolve-config"] }
77+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.25.1", features = ["resolve-config"] }
7878

7979
[features]
8080
default = ["macros"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ name = "string_sum"
7171
crate-type = ["cdylib"]
7272

7373
[dependencies]
74-
pyo3 = { version = "0.25.0", features = ["extension-module"] }
74+
pyo3 = { version = "0.25.1", features = ["extension-module"] }
7575
```
7676

7777
**`src/lib.rs`**
@@ -140,7 +140,7 @@ Start a new project with `cargo new` and add `pyo3` to the `Cargo.toml` like th
140140

141141
```toml
142142
[dependencies.pyo3]
143-
version = "0.25.0"
143+
version = "0.25.1"
144144
features = ["auto-initialize"]
145145
```
146146

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.25.0");
1+
variable::set("PYO3_VERSION", "0.25.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.25.0");
1+
variable::set("PYO3_VERSION", "0.25.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.25.0");
1+
variable::set("PYO3_VERSION", "0.25.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/plugin_api/Cargo.toml", "plugin_api/Cargo.toml");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.25.0");
1+
variable::set("PYO3_VERSION", "0.25.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/setup.cfg", "setup.cfg");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.25.0");
1+
variable::set("PYO3_VERSION", "0.25.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

newsfragments/5121.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/5121.changed.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

newsfragments/5145.packaging.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/5150.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/5156.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/5161.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/5174.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/5180.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyo3-build-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-build-config"
3-
version = "0.25.0"
3+
version = "0.25.1"
44
description = "Build configuration for the PyO3 ecosystem"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]

pyo3-ffi/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-ffi"
3-
version = "0.25.0"
3+
version = "0.25.1"
44
description = "Python-API bindings for the PyO3 ecosystem"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -44,7 +44,7 @@ generate-import-lib = ["pyo3-build-config/python3-dll-a"]
4444
paste = "1"
4545

4646
[build-dependencies]
47-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.25.0", features = ["resolve-config"] }
47+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.25.1", features = ["resolve-config"] }
4848

4949
[lints]
5050
workspace = true

pyo3-ffi/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ name = "string_sum"
4141
crate-type = ["cdylib"]
4242

4343
[dependencies.pyo3-ffi]
44-
version = "0.25.0"
44+
version = "0.25.1"
4545
features = ["extension-module"]
4646

4747
[build-dependencies]
4848
# This is only necessary if you need to configure your build based on
4949
# the Python version or the compile-time configuration for the interpreter.
50-
pyo3_build_config = "0.25.0"
50+
pyo3_build_config = "0.25.1"
5151
```
5252

5353
If you need to use conditional compilation based on Python version or how

pyo3-introspection/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-introspection"
3-
version = "0.25.0"
3+
version = "0.25.1"
44
description = "Introspect dynamic libraries built with PyO3 to get metadata about the exported Python types"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
homepage = "https://github.com/pyo3/pyo3"

pyo3-macros-backend/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros-backend"
3-
version = "0.25.0"
3+
version = "0.25.1"
44
description = "Code generation for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -17,7 +17,7 @@ rust-version = "1.63"
1717
[dependencies]
1818
heck = "0.5"
1919
proc-macro2 = { version = "1.0.60", default-features = false }
20-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.25.0", features = ["resolve-config"] }
20+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.25.1", features = ["resolve-config"] }
2121
quote = { version = "1", default-features = false }
2222

2323
[dependencies.syn]
@@ -26,7 +26,7 @@ default-features = false
2626
features = ["derive", "parsing", "printing", "clone-impls", "full", "extra-traits"]
2727

2828
[build-dependencies]
29-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.25.0" }
29+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.25.1" }
3030

3131
[lints]
3232
workspace = true

pyo3-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros"
3-
version = "0.25.0"
3+
version = "0.25.1"
44
description = "Proc macros for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -23,7 +23,7 @@ experimental-inspect = ["pyo3-macros-backend/experimental-inspect"]
2323
proc-macro2 = { version = "1.0.60", default-features = false }
2424
quote = "1"
2525
syn = { version = "2", features = ["full", "extra-traits"] }
26-
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.25.0" }
26+
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.25.1" }
2727

2828
[lints]
2929
workspace = true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[tool.towncrier]
55
filename = "CHANGELOG.md"
6-
version = "0.25.0"
6+
version = "0.25.1"
77
start_string = "<!-- towncrier release notes start -->\n"
88
template = ".towncrier.template.md"
99
title_format = "## [{version}] - {project_date}"

tests/ui/reject_generics.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
error: #[pyclass] cannot have generic parameters. For an explanation, see https://pyo3.rs/v0.25.0/class.html#no-generic-parameters
1+
error: #[pyclass] cannot have generic parameters. For an explanation, see https://pyo3.rs/v0.25.1/class.html#no-generic-parameters
22
--> tests/ui/reject_generics.rs:4:25
33
|
44
4 | struct ClassWithGenerics<A> {
55
| ^
66

7-
error: #[pyclass] cannot have lifetime parameters. For an explanation, see https://pyo3.rs/v0.25.0/class.html#no-lifetime-parameters
7+
error: #[pyclass] cannot have lifetime parameters. For an explanation, see https://pyo3.rs/v0.25.1/class.html#no-lifetime-parameters
88
--> tests/ui/reject_generics.rs:9:27
99
|
1010
9 | struct ClassWithLifetimes<'a> {

0 commit comments

Comments
 (0)