aviramha / ormsgpack

Msgpack serialization/deserialization library for Python, written in Rust using PyO3 and rust-msgpack. Reboot of orjson. msgpack.org[Python]
Apache License 2.0
254 stars 16 forks source link

Bump pyo3 from 0.22.0 to 0.22.1 #273

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps pyo3 from 0.22.0 to 0.22.1.

Release notes

Sourced from pyo3's releases.

PyO3 0.22.1

This patch release improves some cases related to new functionality in PyO3 0.22.

PartialEq<bool> has been added for Bound<'py, PyBool>.

The #[pyo3(submodule)] attribute has been added for declarative modules to stop submodules from generating an external C symbol for importing the submodule directly (which is typically never used). Declarative modules will also now correctly add items annotated with full-path attributes like #[pyo3::prelude::pyfunction].

The #[pyclass(eq)] option will no longer raise a TypeError on comparison against types not in the signature.

A #[setter] in #[pymethods] with an Option<T> input will no longer raise a deprecation warning.

A regression has been fixed in conversions for 128-bit integers on big-endian platforms.

Thank you to the following contributors for the improvements:

@​alex @​davidhewitt @​jatoben @​kylebarron @​musicinmybrain @​ngoldbaum @​Owen-CH-Leung

Changelog

Sourced from pyo3's changelog.

[0.22.1] - 2024-07-06

Added

  • Add #[pyo3(submodule)] option for declarative #[pymodule]s. #4301
  • Implement PartialEq<bool> for Bound<'py, PyBool>. #4305

Fixed

  • Return NotImplemented instead of raising TypeError from generated equality method when comparing different types. #4287
  • Handle full-path #[pyo3::prelude::pymodule] and similar for #[pyclass] and #[pyfunction] in declarative modules.#4288
  • Fix 128-bit int regression on big-endian platforms with Python <3.13. #4291
  • Stop generating code that will never be covered with declarative modules. #4297
  • Fix invalid deprecation warning for trailing optional on #[setter] function. #4304
Commits
  • 59c4fa3 release: 0.22.1 (#4314)
  • 9afc38a fixes #4285 -- allow full-path to pymodule with nested declarative modules (#...
  • 5860c4f implement PartialEq for Pybool & bool (#4305)
  • 0af0227 fix deprecation warning for trailing optional on #[setter] functions (#4304)
  • ee9123a Fix link in the contribution guide (#4306)
  • ccd0447 refs #4286 -- allow setting submodule on declarative pymodules (#4301)
  • f3603a0 Avoid generating functions that are only ever const evaluated with declarativ...
  • 872bd7e Add pyo3-arrow to README (#4302)
  • 8f7450e Fix 128-bit int regression on big-endian with Python <3.13 (#4291)
  • 7c2f5e8 Don't raise TypeError from generated equality method (#4287)
  • See full diff in compare view


Dependabot compatibility score

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 show 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)