Sourced from pyo3's releases.
PyO3 0.20.2
This release corrects a failure to compile of the
either
feature when theexperimental-inspect
feature is not enabled.It also adds backwards-compatibility for
pyo3
0.20.0 to build againstpyo3-build-config
0.20.2, aspyo3
0.20.0 was (unintentionally) not pinned against an exact patch versionpyo3-build-config
, andpyo3
0.20.0 could not build againstpyo3-build-config
0.20.1 due to an internal API adjustment.Thank you to the following users for the improvements:
PyO3 0.20.1
This release is a maintenance release to resolve a clippy warning which triggers on function arguments of
Py<Self>
.This release also contains a few minor API additions, including optional support for the
either
andsmallvec
crates.Thank you to the following users for the improvements:
@adamreichold
@aldanor
@alex
@daemontus
@davidhewitt
@mejrs
@messense
@neachdainn
@orhun
@suriya-ganesh
@wyfo
Sourced from pyo3's changelog.
[0.20.2] - 2024-01-04
Packaging
- Pin
pyo3
andpyo3-ffi
dependencies onpyo3-build-config
to require the same patch version, i.e.pyo3
0.20.2 requires exactlypyo3-build-config
0.20.2. #3721Fixed
- Fix compile failure when building
pyo3
0.20.0 with latestpyo3-build-config
0.20.X. #3724- Fix docs.rs build. #3722
[0.20.1] - 2023-12-30
Added
- Add optional
either
feature to add conversions foreither::Either<L, R>
sum type. #3456- Add optional
smallvec
feature to add conversions forsmallvec::SmallVec
. #3507- Add
take
andinto_inner
methods toGILOnceCell
#3556#[classmethod]
methods can now also receivePy<PyType>
as their first argument. #3587#[pyfunction(pass_module)]
can now also receivePy<PyModule>
as their first argument. #3587- Add
traverse
method toGILProtected
. #3616- Added
abi3-py312
feature #3687Fixed
bcef18b
release: 0.20.2fa6d60b
Use a definite version specification when depending on
pyo3-build-config.f9f0bdd
Merge pull request #3724 from
davidhewitt/fix-build-config-issuecf21325
re-add emit_pyo3_cfgs for pyo3 0.20.0 compatibilityf789385
Merge pull request #3722 from
PyO3/fix-doc-build9120b35
Include the experimental-inspect feature for the docs.rs build thereby
making...2e79c55
Add CI job to test the equivalent of a docs.rs build.2564ca4
Fix missing feature flags in implementation of Either conversion.be4d562
Merge pull request #3713 from
PyO3/release-0.20.1d3f034a
release: 0.20.1