Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 13, 2025

Bumps pyo3 from 0.23.3 to 0.23.4.

Release notes

Sourced from pyo3's releases.

PyO3 0.23.4

This release contains a range of fixes on top of PyO3 0.23.3, primarily grouped into the following categories:

  • Fixes for the new support for free-threaded Python 3.13
  • Fixes to conversions between Python and chrono datetimes
  • Fixes to various build configuration cases for Windows
  • Fixes to edge cases in PyO3's macros leading to compile failures

Thank you to the following contributors for the improvements:

@​alex @​bschoenmaeckers @​davidhewitt @​Icxolu @​kahojyun @​LilyFoote @​mejrs @​messense @​msimacek @​ngoldbaum @​Owen-CH-Leung @​Tpt

Changelog

Sourced from pyo3's changelog.

[0.23.4] - 2025-01-10

Added

  • Add PyList::locked_for_each, which uses a critical section to lock the list on the free-threaded build. #4789
  • Add pyo3_build_config::add_python_framework_link_args build script API to set rpath when using macOS system Python. #4833

Changed

  • Use datetime.fold to distinguish ambiguous datetimes when converting to and from chrono::DateTime<Tz> (rather than erroring). #4791
  • Optimize PyList iteration on the free-threaded build. #4789

Fixed

  • Fix unnecessary internal py.allow_threads GIL-switch when attempting to access contents of a PyErr which originated from Python (could lead to unintended deadlocks). #4766
  • Fix thread-unsafe access of dict internals in BoundDictIterator on the free-threaded build. #4788
  • Fix unnecessary critical sections in BoundDictIterator on the free-threaded build. #4788
  • Fix time-of-check to time-of-use issues with list iteration on the free-threaded build. #4789
  • Fix chrono::DateTime<Tz> to-Python conversion when Tz is chrono_tz::Tz. #4790
  • Fix #[pyclass] not being able to be named Probe. #4794
  • Fix not treating cross-compilation from x64 to aarch64 on Windows as a cross-compile. #4800
  • Fix missing struct fields on GraalPy when subclassing builtin classes. #4802
  • Fix generating import lib for PyPy when abi3 feature is enabled. #4806
  • Fix generating import lib for python3.13t when abi3 feature is enabled. #4808
  • Fix compile failure for raw identifiers like r#box in derive(FromPyObject). #4814
  • Fix compile failure for #[pyclass] enum variants with more than 12 fields. #4832
Commits

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 <dependency name> 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)

Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.23.3 to 0.23.4.
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.23.4/CHANGELOG.md)
- [Commits](PyO3/pyo3@v0.23.3...v0.23.4)

---
updated-dependencies:
- dependency-name: pyo3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 13, 2025
@bluegenes bluegenes merged commit 53be616 into main Jan 16, 2025
1 check passed
@bluegenes bluegenes deleted the dependabot/cargo/pyo3-0.23.4 branch January 16, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants