Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 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 Feb 1, 2025
@codecov
Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.06%. Comparing base (14a1313) to head (ca842b5).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #473   +/-   ##
=======================================
  Coverage   82.06%   82.06%           
=======================================
  Files           9        9           
  Lines        2570     2570           
=======================================
  Hits         2109     2109           
  Misses        461      461           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 1, 2025

CodSpeed Performance Report

Merging #473 will not alter performance

Comparing dependabot/cargo/light-curve/pyo3-0.23.4 (ca842b5) with master (14a1313)

Summary

✅ 104 untouched benchmarks

@hombit hombit merged commit a730140 into master Feb 1, 2025
50 of 52 checks passed
@hombit hombit deleted the dependabot/cargo/light-curve/pyo3-0.23.4 branch February 1, 2025 02:23
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