Skip to content

Commit 69be079

Browse files
authored
add release notes for 0.27.2 (#5662)
1 parent 5e6df2d commit 69be079

File tree

19 files changed

+40
-28
lines changed

19 files changed

+40
-28
lines changed

CHANGELOG.md

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

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

13+
## [0.27.2] - 2025-11-30
14+
15+
### Changed
16+
17+
- Disable subclassing `PyDict` on GraalPy (unsupported for now, may crash at runtime). [#5653](https://github.com/PyO3/pyo3/pull/5653)
18+
19+
### Fixed
20+
21+
- Fix crash when compiling on Rust 1.92+ with both debug assertions and optimizations enabled. [#5638](https://github.com/PyO3/pyo3/pull/5638)
22+
- Fix FFI definition of `PyDictObject` on PyPy. [#5653](https://github.com/PyO3/pyo3/pull/5653)
23+
1324
## [0.27.1] - 2025-10-21
1425

1526
### Fixed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3"
3-
version = "0.27.1"
3+
version = "0.27.2"
44
description = "Bindings to Python interpreter"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
readme = "README.md"
@@ -29,10 +29,10 @@ libc = "0.2.62"
2929
once_cell = "1.21"
3030

3131
# ffi bindings to the python interpreter, split into a separate crate so they can be used independently
32-
pyo3-ffi = { path = "pyo3-ffi", version = "=0.27.1" }
32+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.27.2" }
3333

34-
# support crates for macros feature
35-
pyo3-macros = { path = "pyo3-macros", version = "=0.27.1", optional = true }
34+
# support crate for macros feature
35+
pyo3-macros = { path = "pyo3-macros", version = "=0.27.2", optional = true }
3636

3737
# support crate for multiple-pymethods feature
3838
inventory = { version = "0.3.5", optional = true }
@@ -83,7 +83,7 @@ uuid = { version = "1.10.0", features = ["v4"] }
8383
parking_lot = { version = "0.12.3", features = ["arc_lock"] }
8484

8585
[build-dependencies]
86-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.27.1", features = ["resolve-config"] }
86+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.27.2", features = ["resolve-config"] }
8787

8888
[features]
8989
default = ["macros"]

README.md

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

7373
[dependencies]
74-
pyo3 = "0.27.1"
74+
pyo3 = "0.27.2"
7575
```
7676

7777
**`src/lib.rs`**
@@ -137,8 +137,12 @@ Start a new project with `cargo new` and add `pyo3` to the `Cargo.toml` like th
137137

138138
```toml
139139
[dependencies.pyo3]
140+
<<<<<<< HEAD
141+
version = "0.27.2"
142+
=======
140143
version = "0.27.1"
141144
# Enabling this cargo feature will cause PyO3 to start a Python interpreter on first call to `Python::attach`
145+
>>>>>>> main
142146
features = ["auto-initialize"]
143147
```
144148

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.27.1");
1+
variable::set("PYO3_VERSION", "0.27.2");
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.27.1");
1+
variable::set("PYO3_VERSION", "0.27.2");
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.27.1");
1+
variable::set("PYO3_VERSION", "0.27.2");
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.27.1");
1+
variable::set("PYO3_VERSION", "0.27.2");
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.27.1");
1+
variable::set("PYO3_VERSION", "0.27.2");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

newsfragments/5638.fixed.md

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

newsfragments/5653.changed.md

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

0 commit comments

Comments
 (0)