sqloxide
sqloxide copied to clipboard
Update pyo3 requirement from 0.16 to 0.17
Updates the requirements on pyo3 to permit the latest version.
Release notes
Sourced from pyo3's releases.
PyO3 0.16.6
This release is a tactical set of soundness fixes identified for the
PyCapsulebindings released in PyO3 0.16. To avoid breaking API changes capsules created withPyCapsule::newandPyCapsule::new_with_destructorwill now leak their contents (and not call the destructor) if released on a thread other than the one they were created.PyO3 0.17 will be released shortly with breaking API changes which resolve the
PyCapsuleissues with better design (e.g. thedestructorhas aSendbound added). Users are encouraged to upgrade at their earliest convenience.Thanks to
@saethlinfor reporting the issue, and to@adamreicholdand@davidhewittfor implementing the resolution.
Changelog
Sourced from pyo3's changelog.
[0.16.6] - 2022-08-23
### Changed
- Fix soundness issues with
PyCapsuletype with select workarounds. Users are encourage to upgrade to PyO3 0.17 at their earliest convenience which contains API breakages which fix the issues in a long-term fashion. #2522
PyCapsule::newandPyCapsule::new_with_destructornow take ownership of a copy of thenameto resolve a possible use-after-free.PyCapsule::namenow returns an emptyCStrinstead of dereferencing a null pointer if the capsule has no name.- The destructor
FinPyCapsule::new_with_destructorwill never be called if the capsule is deleted from a thread other than the one which the capsule was created in (a warning will be emitted).- Panics during drop of panic payload caught by PyO3 will now abort. #2544
[0.16.5] - 2022-05-15
Added
- Add an experimental
generate-import-libfeature to support auto-generating non-abi3 python import libraries for Windows targets. #2364- Add FFI definition
Py_ExitStatusException. #2374Changed
- Deprecate experimental
generate-abi3-import-libfeature in favor of the newgenerate-import-libfeature. #2364Fixed
- Added missing
warn_default_encodingfield toPyConfigon 3.10+. The previously missing field could result in incorrect behavior or crashes. #2370- Fixed order of
pathconfig_warningsandprogram_namefields ofPyConfigon 3.10+. Previously, the order of the fields was swapped and this could lead to incorrect behavior or crashes. #2370[0.16.4] - 2022-04-14
Added
- Add
PyTzInfoAccesstrait for safe access to time zone information. #2263- Add an experimental
generate-abi3-import-libfeature to auto-generatepython3.dllimport libraries for Windows. #2282- Add FFI definitions for
PyDateTime_BaseTimeandPyDateTime_BaseDateTime. #2294Changed
- Improved performance of failing calls to
FromPyObject::extractwhich is common when functions accept multiple distinct types. #2279- Default to "m" ABI tag when choosing
libpythonlink name for CPython 3.7 on Unix. #2288- Allow to compile "abi3" extensions without a working build host Python interpreter. #2293
Fixed
- Crates depending on PyO3 can collect code coverage via LLVM instrumentation using stable Rust. #2286
- Fix segfault when calling FFI methods
PyDateTime_DATE_GET_TZINFOorPyDateTime_TIME_GET_TZINFOondatetimeortimewithout a tzinfo. #2289- Fix directory names starting with the letter
nbreaking serialization of the interpreter configuration on Windows since PyO3 0.16.3. #2299[0.16.3] - 2022-04-05
Packaging
... (truncated)
Commits
4fdebfcrelease: 0.16.6dde98a0pin bumpalo30211a6ui test fixes5c74ddfclippy fixes7426aeasafety: abort on uncaught panics916abf6Merge pull request #2522 from davidhewitt/capsule-soundness-backportc267aceci: fix nightly UI tests86740f9ci: fix nightly ui tests96427eeUse proper method for pinning MSRV minimal package versions1e8f6d9Try fix hashbrown version on msrv- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)