Skip to content

Commit 46c16e4

Browse files
authored
add release notes for 0.28.1 (#5813)
1 parent 7c75510 commit 46c16e4

File tree

20 files changed

+36
-29
lines changed

20 files changed

+36
-29
lines changed

CHANGELOG.md

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

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

13+
## [0.28.1] - 2026-02-14
14+
15+
### Fixed
16+
17+
- Fix `*args` / `**kwargs` support in` experimental-async` feature (regressed in 0.28.0). [#5771](https://github.com/PyO3/pyo3/pull/5771)
18+
- Fix `clippy::declare_interior_mutable_const` warning inside `#[pyclass]` generated code on enums. [#5772](https://github.com/PyO3/pyo3/pull/5772)
19+
- Fix `ambiguous_associated_items` compilation error when deriving `FromPyObject` or using `#[pyclass(from_py_object)]` macro on enums with `Error` variant. [#5784](https://github.com/PyO3/pyo3/pull/5784)
20+
- Fix `__qualname__` for complex `#[pyclass]` enum variants to include the enum name. [#5796](https://github.com/PyO3/pyo3/pull/5796)
21+
1322
## [0.28.0] - 2026-02-01
1423

1524
### Packaging
@@ -2489,7 +2498,8 @@ Yanked
24892498

24902499
- Initial release
24912500

2492-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.28.0...HEAD
2501+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.28.1...HEAD
2502+
[0.28.1]: https://github.com/pyo3/pyo3/compare/v0.28.0...v0.28.1
24932503
[0.28.0]: https://github.com/pyo3/pyo3/compare/v0.27.2...v0.28.0
24942504
[0.27.2]: https://github.com/pyo3/pyo3/compare/v0.27.1...v0.27.2
24952505
[0.27.1]: https://github.com/pyo3/pyo3/compare/v0.27.0...v0.27.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.28.0"
3+
version = "0.28.1"
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.0" }
32+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.28.1" }
3333

3434
# support crate for macros feature
35-
pyo3-macros = { path = "pyo3-macros", version = "=0.28.0", optional = true }
35+
pyo3-macros = { path = "pyo3-macros", version = "=0.28.1", 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.0", features = ["resolve-config"] }
85+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.28.1", 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.0"
74+
pyo3 = "0.28.1"
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.0"
140+
version = "0.28.1"
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.0");
1+
variable::set("PYO3_VERSION", "0.28.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.28.0");
1+
variable::set("PYO3_VERSION", "0.28.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.28.0");
1+
variable::set("PYO3_VERSION", "0.28.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.28.0");
1+
variable::set("PYO3_VERSION", "0.28.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.28.0");
1+
variable::set("PYO3_VERSION", "0.28.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

newsfragments/5771.fixed.md

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

newsfragments/5772.fixed.md

Whitespace-only changes.

0 commit comments

Comments
 (0)