Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.23.4 #4835

Open
wants to merge 25 commits into
base: release-0.23
Choose a base branch
from
Open

release: 0.23.4 #4835

wants to merge 25 commits into from

Conversation

davidhewitt
Copy link
Member

I think there's a lot of fixes accumulated which are worth shipping independently of any motion we have towards 0.24.

Thanks to everyone who has been reporting / investigating / authoring / reviewing these while I have been mostly occupied with family concerns through December. Happy New Year, and here's to further progress for PyO3 in 2025 🚀 🎉

I will wait for #4789 and then complete this release.

davidhewitt and others added 19 commits January 3, 2025 11:10
* eagerly complete once in normalized error state

* newsfragment
* Fix chrono deprecation warning

* use allow(deprecated) instead

---------

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
* fix `chrono::DateTime<Tz>` intoPyObject conversion

* Add test
#4791)

* use `datetime.fold` to distinguish ambiguous datetimes when converting

* Set correct fold when converting to ambiguous `chrono::DateTime<Tz>`
* Fix struct layouts on GraalPy

* Add changelog item
* fix: cross-compilation compatibility checks for Windows

* add newsfragments

* add simple test
* Expand docs on when and why allow_threads is necessary

* spelling

* simplify example a little

* use less indirection in the example

* Update guide/src/parallelism.md

* Add note about the GIL preventing parallelism

* Update guide/src/free-threading.md

Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>

* pared down text about need to use with_gil

* rearrange slightly

---------

Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
messense and others added 2 commits January 3, 2025 15:18
* clarify safety docs for PyDict API

* get dict size using PyDict_Size on free-threaded build

* avoid unnecessary critical sections in PyDict

* add changelog entry

* fix build error on GIL-enabled build

* address code review comments

* move attribute below doc comment

* ignore unsafe_op_in_unsafe_fn in next_unchecked

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
mejrs and others added 4 commits January 10, 2025 15:53
* implement locked iteration for PyList

* fix limited API and PyPy support

* fix formatting of safety docstrings

* only define fold and rfold on not(feature = "nightly")

* add missing try_fold implementation on nightly

* Use split borrows for locked iteration for PyList

Inline ListIterImpl implementations by using split borrows and
destructuring let Self { .. } = self destructuring inside
BoundListIterator impls.

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>

* use a function to do the split borrow

* add changelog entries

* fix clippy on limited API and PyPy

* use a macro for the split borrow

* add a test that mutates the list during a fold

* enable next_unchecked on PyPy

* fix incorrect docstring for locked_for_each

* simplify borrows by adding BoundListIterator::with_critical_section

* fix build on GIL-enabled and limited API builds

* fix docs build on MSRV

---------

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
Co-authored-by: Manos Pitsidianakis <manos@pitsidianak.is>
* Fix failing ruff fmt test

* Add newsfragments

* remove changelog

* use wasm32-wasip1 in CI

* update ui tests

* use `wasm32-wasip1` in noxfile

* update one more ui test

* fix clippy beta

* bump `EMSCRIPTEN_VERSION`

* emscripten link `sqlite3`

* emscipten update node

---------

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Co-authored-by: Icxolu <10486322+Icxolu@users.noreply.github.com>
@davidhewitt davidhewitt marked this pull request as ready for review January 10, 2025 16:09
@davidhewitt
Copy link
Member Author

Thank you everyone for the continued progress. I've now pulled all the fixes since I previously pushed this branch, and if CI is green I'll probably put this live tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.