Skip to content

Commit 82bc4a4

Browse files
authored
release: 0.28.3 (#5935)
1 parent 96c53e3 commit 82bc4a4

21 files changed

Lines changed: 35 additions & 29 deletions

File tree

CHANGELOG.md

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

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

13+
## [0.28.3] - 2026-04-02
14+
15+
### Fixed
16+
17+
- Fix compile error with `#[pyclass(get_all)]` on a type named `Probe`. [#5837](https://github.com/PyO3/pyo3/pull/5837)
18+
- Fix compile error in debug builds related to `_Py_NegativeRefcount` with Python < 3.12. [#5847](https://github.com/PyO3/pyo3/pull/5847)
19+
- Fix a race condition where `Python::attach` or `try_attach` could return before `site.py` had finished running. [#5903](https://github.com/PyO3/pyo3/pull/5903)
20+
- Fix unsoundness in `PyBytesWriter::write_vectored` with Python 3.15 prerelease versions. [#5907](https://github.com/PyO3/pyo3/pull/5907)
21+
- Fix deadlock in `.into_pyobject()` implementation for C-like `#[pyclass]` enums. [#5928](https://github.com/PyO3/pyo3/pull/5928)
22+
1323
## [0.28.2] - 2026-02-18
1424

1525
### Fixed
@@ -2507,7 +2517,8 @@ Yanked
25072517

25082518
- Initial release
25092519

2510-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.28.2...HEAD
2520+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.28.3...HEAD
2521+
[0.28.3]: https://github.com/pyo3/pyo3/compare/v0.28.2...v0.28.3
25112522
[0.28.2]: https://github.com/pyo3/pyo3/compare/v0.28.1...v0.28.2
25122523
[0.28.1]: https://github.com/pyo3/pyo3/compare/v0.28.0...v0.28.1
25132524
[0.28.0]: https://github.com/pyo3/pyo3/compare/v0.27.2...v0.28.0

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.28.2"
3+
version = "0.28.3"
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.28.2" }
32+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.28.3" }
3333

3434
# support crate for macros feature
35-
pyo3-macros = { path = "pyo3-macros", version = "=0.28.2", optional = true }
35+
pyo3-macros = { path = "pyo3-macros", version = "=0.28.3", optional = true }
3636

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

8484
[build-dependencies]
85-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.28.2", features = ["resolve-config"] }
85+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.28.3", features = ["resolve-config"] }
8686

8787
[features]
8888
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.28.2"
74+
pyo3 = "0.28.3"
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.28.2"
140+
version = "0.28.3"
141141
# Enabling this cargo feature will cause PyO3 to start a Python interpreter on first call to `Python::attach`
142142
features = ["auto-initialize"]
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.28.2");
1+
variable::set("PYO3_VERSION", "0.28.3");
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.28.2");
1+
variable::set("PYO3_VERSION", "0.28.3");
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.28.2");
1+
variable::set("PYO3_VERSION", "0.28.3");
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.28.2");
1+
variable::set("PYO3_VERSION", "0.28.3");
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.28.2");
1+
variable::set("PYO3_VERSION", "0.28.3");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

newsfragments/5837.fixed.md

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

newsfragments/5847.fixed.md

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

0 commit comments

Comments
 (0)