Skip to content

Commit 117102d

Browse files
committed
release: 0.27.2
1 parent 2b1d6c5 commit 117102d

File tree

19 files changed

+36
-28
lines changed

19 files changed

+36
-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: 4 additions & 4 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"
@@ -30,10 +30,10 @@ memoffset = "0.9"
3030
once_cell = "1.21"
3131

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

3535
# support crates for macros feature
36-
pyo3-macros = { path = "pyo3-macros", version = "=0.27.1", optional = true }
36+
pyo3-macros = { path = "pyo3-macros", version = "=0.27.2", optional = true }
3737
indoc = { version = "2.0.1", optional = true }
3838
unindent = { version = "0.2.1", optional = true }
3939

@@ -86,7 +86,7 @@ uuid = { version = "1.10.0", features = ["v4"] }
8686
parking_lot = { version = "0.12.3", features = ["arc_lock"] }
8787

8888
[build-dependencies]
89-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.27.1", features = ["resolve-config"] }
89+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.27.2", features = ["resolve-config"] }
9090

9191
[features]
9292
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.27.1", features = ["extension-module"] }
74+
pyo3 = { version = "0.27.2", features = ["extension-module"] }
7575
```
7676

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

138138
```toml
139139
[dependencies.pyo3]
140-
version = "0.27.1"
140+
version = "0.27.2"
141141
features = ["auto-initialize"]
142142
```
143143

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)