Skip to content

Commit a70d17f

Browse files
committed
release: 0.29.2
1 parent bd00e11 commit a70d17f

26 files changed

Lines changed: 44 additions & 35 deletions

File tree

CHANGELOG.md

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

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

13+
## [0.29.2] - 2026-08-05
14+
15+
### Packaging
16+
17+
- Add `PYO3_USE_RAW_DYLIB=0` opt-out of `raw-dylib` linking for Windows. [#6185](https://github.com/PyO3/pyo3/pull/6185)
18+
19+
### Fixed
20+
21+
- Fix PyO3 0.29 regression with failure to link under Cygwin / MSYS2. [#6185](https://github.com/PyO3/pyo3/pull/6185)
22+
- Fix stubs generation for field getters (`#[pyo3(get)]`) when `IntoPyObject` is only implemented on references of the field type. [#6276](https://github.com/PyO3/pyo3/pull/6276)
23+
- Fix `#[classmethod]` magic methods receiving the instance instead of its type when invoked through a type slot. [#6283](https://github.com/PyO3/pyo3/pull/6283)
24+
- Fix `pyo3_build_config::add_libpython_rpath_link_args` emitting Unix-style rpath linker arguments on Windows and Cygwin. [#6284](https://github.com/PyO3/pyo3/pull/6284)
25+
- Fix PyO3 0.29.1 regression on PyPy causing crashes when deallocating `#[pyclass]` instances. [#6294](https://github.com/PyO3/pyo3/pull/6294)
26+
- Fix missing trailing nul in Python 3.9 `#[pyclass]` docstrings. [#6296](https://github.com/PyO3/pyo3/pull/6296)
27+
- Fix reference count leak of `#[classattr]` values created from `fn` items. [#6297](https://github.com/PyO3/pyo3/pull/6297)
28+
1329
## [0.29.1] - 2026-08-02
1430

1531
### Changed
@@ -2682,7 +2698,8 @@ Yanked
26822698

26832699
- Initial release
26842700

2685-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.29.1...HEAD
2701+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.29.2...HEAD
2702+
[0.29.1]: https://github.com/pyo3/pyo3/compare/v0.29.1...v0.29.2
26862703
[0.29.1]: https://github.com/pyo3/pyo3/compare/v0.29.0...v0.29.1
26872704
[0.29.0]: https://github.com/pyo3/pyo3/compare/v0.28.3...v0.29.0
26882705
[0.28.3]: https://github.com/pyo3/pyo3/compare/v0.28.2...v0.28.3

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.29.1"
3+
version = "0.29.2"
44
description = "Bindings to Python interpreter"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
readme = "README.md"
@@ -36,10 +36,10 @@ libc = "0.2.62"
3636
once_cell = "1.21"
3737

3838
# ffi bindings to the python interpreter, split into a separate crate so they can be used independently
39-
pyo3-ffi = { path = "pyo3-ffi", version = "=0.29.1" }
39+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.29.2" }
4040

4141
# support crate for macros feature
42-
pyo3-macros = { path = "pyo3-macros", version = "=0.29.1", optional = true }
42+
pyo3-macros = { path = "pyo3-macros", version = "=0.29.2", optional = true }
4343

4444
# support crate for multiple-pymethods feature
4545
inventory = { version = "0.3.5", optional = true }
@@ -94,7 +94,7 @@ regex = "1.12.3"
9494
ctrlc = "3.5.2"
9595

9696
[build-dependencies]
97-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.29.1" }
97+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.29.2" }
9898

9999
[features]
100100
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 = "0.29.1"
74+
pyo3 = "0.29.2"
7575
```
7676

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

140140
```toml
141141
[dependencies.pyo3]
142-
version = "0.29.1"
142+
version = "0.29.2"
143143
# Enabling this cargo feature will cause PyO3 to start a Python interpreter on first call to `Python::attach`
144144
features = ["auto-initialize"]
145145
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.29.1");
1+
variable::set("PYO3_VERSION", "0.29.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.29.1");
1+
variable::set("PYO3_VERSION", "0.29.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.29.1");
1+
variable::set("PYO3_VERSION", "0.29.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.29.1");
1+
variable::set("PYO3_VERSION", "0.29.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.29.1");
1+
variable::set("PYO3_VERSION", "0.29.2");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

guide/src/building-and-distribution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ An example output of doing this is shown below:
2828

2929
```console
3030
$ PYO3_PRINT_CONFIG=1 cargo build
31-
Compiling pyo3-ffi v0.29.1 (/Users/goldbaum/Documents/pyo3/pyo3-ffi)
32-
error: failed to run custom build command for `pyo3-ffi v0.29.1 (/Users/goldbaum/Documents/pyo3/pyo3-ffi)`
31+
Compiling pyo3-ffi v0.29.2 (/Users/goldbaum/Documents/pyo3/pyo3-ffi)
32+
error: failed to run custom build command for `pyo3-ffi v0.29.2 (/Users/goldbaum/Documents/pyo3/pyo3-ffi)`
3333

3434
Caused by:
3535
process didn't exit successfully: `/Users/goldbaum/Documents/pyo3/target/debug/build/pyo3-ffi-71f0882ba738a1f0/build-script-build` (exit status: 101)

newsfragments/6185.fixed.md

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

0 commit comments

Comments
 (0)