Update pyo3 requirement from 0.18 to 0.21
Updates the requirements on pyo3 to permit the latest version.
Release notes
Sourced from pyo3's releases.
PyO3 0.18.3
This release fixes an issue with
PyDateTime::type_object()incorrectly returning the type object forPyDate, which would cause someis_instancechecks to behave incorrectly.In addition, this release contains a handful of minor quality-of-life corrections over PyO3 0.18.2.
Thank you to the following users for the improvements:
@adamreichold@davidhewitt@decathorpe@ijl@mejrs@messense@sollyucko@willstott101@wjones127
Changelog
Sourced from pyo3's changelog.
[0.18.3] - 2023-04-13
Added
- Add
GILProtected<T>to mediate concurrent access to a value using Python's global interpreter lock (GIL). #2975- Support
PyASCIIObject/PyUnicodeand associated methods on big-endian architectures. #3015- Add FFI definition
_PyDict_Contains_KnownHash()for CPython 3.10 and up. #3088Fixed
- Fix compile error for
#[pymethods]and#[pyfunction]called "output". #3022- Fix compile error in generated code for magic methods implemented as a
#[staticmethod]. #3055- Fix
is_instanceforPyDateTime(would incorrectly check for aPyDate). #3071- Fix upstream deprecation of
PyUnicode_InternImmortalsince Python 3.10. #3071[0.18.2] - 2023-03-24
Packaging
- Disable default features of
chronoto avoid depending ontimev0.1.x. #2939Added
- Implement
IntoPy<PyObject>,ToPyObjectandFromPyObjectforCow<[u8]>to efficiently handle bothbytesandbytearrayobjects. #2899- Implement
IntoPy<PyObject>,ToPyObjectandFromPyObjectforCell<T>. #3014- Add
PyList::to_tuple(), as a convenient and efficient conversion from lists to tuples. #3042- Add
PyTuple::to_list(), as a convenient and efficient conversion from tuples to lists. #3044Changed
- Optimize
PySequenceconversion forlistandtupleinputs. #2944- Improve exception raised when creating
#[pyclass]type object fails during module import. #2947- Optimize
PyMappingconversion fordictinputs. #2954- Allow
create_exception!to take adotted.moduleto place the exception in a submodule. #2979Fixed
- Fix a reference counting race condition affecting
PyObjects cloned inallow_threadsblocks. #2952- Fix
clippy::redundant_closurelint on default arguments in#[pyo3(signature = (...))]annotations. #2990- Fix
non_snake_caselint on generated code in#[pyfunction]macro. #2993- Fix some FFI definitions for the upcoming PyPy 3.10 release. #3031
[0.18.1] - 2023-02-07
Added
... (truncated)
Commits
5cdc133release: 0.18.3a8dd453PEP 623: wstr, wstr_length, state changes9ebdcb7Define _PyDict_Contains_KnownHash() FFI for CPython 3.10 or later7cc2644Fix redundant imports in doc tests thereby fixing the careful CI job.8498003docs: show pattern for self.class.name in repr63ff262fix typo DateType -> DateTimeType, fixes #306948c0655Add wrapper for PyASCIIObject state bitfield accesses based on bindgence288e6CI: Pininventoryto0.3.4in MSRV job9dccad3Emit a better error for bad argument names24d2dddFix function name shadowing- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
@rmalmain I guess this lacks the same changes on the qemu bridge side
@domenukk I tried to update this dependency in the past, but this update is not possible because of this dependency. If we want the update to work, we need this crate to be up to date as well. Should I open a PR there?
This needs changes in nautilus - cc @eqv
@domenukk I tried to update this dependency in the past, but this update is not possible because of this dependency. If we want the update to work, we need this crate to be up to date as well. Should I open a PR there?
@rmalmain we got rid of the dependency / included it in the repo now, can you see if we can update pyo3 now?
It should be good to go now
Closed in favor of #2459
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.