Skip to content

Commit d66735f

Browse files
build(deps): bump pyo3 from 0.28.1 to 0.28.2 (#267)
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.28.1 to 0.28.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pyo3/pyo3/releases">pyo3's releases</a>.</em></p> <blockquote> <h2>PyO3 0.28.2</h2> <p>This patch release contains a soundness fix for subclassing native types such as <code>PyList</code> with the <code>abi3</code> feature enabled when targeting a minimum version of Python 3.12 or higher. (Support for doing such subclassing was newly added in PyO3 0.28.0.)</p> <p>PyO3 0.28.0 and 0.28.1 will be yanked.</p> <p>This release also contains a correction to the FFI definition <code>PyType_GetTypeDataSize</code> and incorrectly-generated <code>__qualname__</code> on <code>#[pyclass]</code> enum variant types when using <code>#[pyo3(name = &quot;...&quot;)]</code> option to rename the enum and/or variant.</p> <p>Thank you to the following contributors for the improvements:</p> <p><a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> <a href="https://github.com/Icxolu"><code>@​Icxolu</code></a> <a href="https://github.com/ngoldbaum"><code>@​ngoldbaum</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md">pyo3's changelog</a>.</em></p> <blockquote> <h2>[0.28.2] - 2026-02-18</h2> <h3>Fixed</h3> <ul> <li>Fix complex enum <code>__qualname__</code> not using python name <a href="https://redirect.github.com/PyO3/pyo3/pull/5815">#5815</a></li> <li>Fix FFI definition <code>PyType_GetTypeDataSize</code> (was incorrectly named <code>PyObject_GetTypeDataSize</code>). <a href="https://redirect.github.com/PyO3/pyo3/pull/5819">#5819</a></li> <li>Fix memory corruption when subclassing native types with <code>abi3</code> feature on Python 3.12+ (newly enabled in PyO3 0.28.0). <a href="https://redirect.github.com/PyO3/pyo3/pull/5823">#5823</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/2b392c8500673520066486f6098cbf2316211ff6"><code>2b392c8</code></a> release: 0.28.2</li> <li><a href="https://github.com/PyO3/pyo3/commit/7e44c1d64d40a12e0bd55c819e3feda5322fc219"><code>7e44c1d</code></a> fix complex enum <code>__qualname__</code> not using python name (<a href="https://redirect.github.com/pyo3/pyo3/issues/5815">#5815</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/75abd8602896b350fd8c778e52e0a74b4644ccca"><code>75abd86</code></a> fix memory corruption when subclassing variable-size types (e.g. <code>abi3</code> + 3.1...</li> <li><a href="https://github.com/PyO3/pyo3/commit/b62c7a278fc14e9afb0d73ab1ded7ba00cda3be2"><code>b62c7a2</code></a> Fix typo in PyType_GetTypeDataSize bindings (<a href="https://redirect.github.com/pyo3/pyo3/issues/5819">#5819</a>)</li> <li>See full diff in <a href="https://github.com/pyo3/pyo3/compare/v0.28.1...v0.28.2">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f38480a commit d66735f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ crate-type = ["cdylib"]
1717
bench = false
1818

1919
[dependencies]
20-
pyo3 = { version = "0.28.1", features = ["extension-module", "abi3-py39"] }
20+
pyo3 = { version = "0.28.2", features = ["extension-module", "abi3-py39"] }
2121
cpp-linter = { path = "../../cpp-linter" }
2222
tokio = "1.49.0"
2323

docs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license.workspace = true
1010

1111
[dependencies]
1212
cpp-linter = { path = "../cpp-linter" }
13-
pyo3 = {version = "0.28.0", features = ["extension-module"] }
13+
pyo3 = {version = "0.28.2", features = ["extension-module"] }
1414
clap = { version = "4.5.57", features = ["derive"] }
1515

1616
[lib]

0 commit comments

Comments
 (0)