Skip to content

Commit 654769f

Browse files
Build(deps): bump pyo3 from 0.28.1 to 0.28.2 (#224)
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/v0.28.2/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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyo3&package-manager=cargo&previous-version=0.28.1&new-version=0.28.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents f930caf + 34547f2 commit 654769f

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

Cargo.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ dependencies = [
4444

4545
[[package]]
4646
name = "pyo3"
47-
version = "0.28.1"
47+
version = "0.28.2"
4848
source = "registry+https://github.com/rust-lang/crates.io-index"
49-
checksum = "14c738662e2181be11cb82487628404254902bb3225d8e9e99c31f3ef82a405c"
49+
checksum = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1"
5050
dependencies = [
5151
"libc",
5252
"once_cell",
@@ -58,28 +58,28 @@ dependencies = [
5858

5959
[[package]]
6060
name = "pyo3-build-config"
61-
version = "0.28.1"
61+
version = "0.28.2"
6262
source = "registry+https://github.com/rust-lang/crates.io-index"
63-
checksum = "f9ca0864a7dd3c133a7f3f020cbff2e12e88420da854c35540fd20ce2d60e435"
63+
checksum = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7"
6464
dependencies = [
6565
"target-lexicon",
6666
]
6767

6868
[[package]]
6969
name = "pyo3-ffi"
70-
version = "0.28.1"
70+
version = "0.28.2"
7171
source = "registry+https://github.com/rust-lang/crates.io-index"
72-
checksum = "9dfc1956b709823164763a34cc42bbfd26b8730afa77809a3df8b94a3ae3b059"
72+
checksum = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc"
7373
dependencies = [
7474
"libc",
7575
"pyo3-build-config",
7676
]
7777

7878
[[package]]
7979
name = "pyo3-macros"
80-
version = "0.28.1"
80+
version = "0.28.2"
8181
source = "registry+https://github.com/rust-lang/crates.io-index"
82-
checksum = "29dc660ad948bae134d579661d08033fbb1918f4529c3bbe3257a68f2009ddf2"
82+
checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
8383
dependencies = [
8484
"proc-macro2",
8585
"pyo3-macros-backend",
@@ -89,9 +89,9 @@ dependencies = [
8989

9090
[[package]]
9191
name = "pyo3-macros-backend"
92-
version = "0.28.1"
92+
version = "0.28.2"
9393
source = "registry+https://github.com/rust-lang/crates.io-index"
94-
checksum = "e78cd6c6d718acfcedf26c3d21fe0f053624368b0d44298c55d7138fde9331f7"
94+
checksum = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a"
9595
dependencies = [
9696
"heck",
9797
"proc-macro2",

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ crate-type = ["cdylib",]
99

1010

1111
[dependencies]
12-
pyo3 = { version = "^0.28.1", features = ["extension-module"] }
12+
pyo3 = { version = "^0.28.2", features = ["extension-module"] }

0 commit comments

Comments
 (0)