This release fixes a memory leak caused by a reference counting error which affected PySet::new, PyFrozenSet::new and conversions from Rust set types to Python's set.
There are several other notable quality-of-life changes in this release:
Support for PyPy 3.10.
Support for hashbrown 0.14 and indexmap 2.0.
Conversions for std::net::IpAddr have been added.
The num-bigint feature is now supported with the abi3 feature.
The num-complex feature with abi3 feature enabled will now correctly use __complex__ implementations (it always has without abi3 enabled).
#[new] methods can now return Py<Self> to return an existing object (e.g. for singleton classes).
There are also a handful of other additions and bugfixes included in this release.
Thank you to the following users for the improvements:
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 commands and options
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
Bumps pyo3-build-config from 0.19.0 to 0.19.1.
Release notes
Sourced from pyo3-build-config's releases.
Changelog
Sourced from pyo3-build-config's changelog.
Commits
dfe04e9
release: 0.19.17b2d627
workaround msrv lint issue5fb41a4
fixup minimal package versions for msrv9151c96
support PyPy 3.109f9be35
Allow#[new]
to return existing instances1812274
Apparently, PySet_Add does not steal a reference, hence we should not forget ...efea50b
clarify ownership of opt_to_pyobj helper function710a2dc
Fix typos and add punctuation recommended by grammarly in Class.md0ba07db
use _run_cargo helper in noxfilecd33b1c
move pyo3-ffi-check into its own workspaceDependabot 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 commands and options
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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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)