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

fix: Python 3.13t with GIL #5139

Merged
merged 7 commits into from
May 28, 2024
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented May 24, 2024

Description

First step toward #5112, just trying to compile against 3.13t.

Suggested changelog entry:

* Compile against Python 3.13t in CI.
* Return ``py::ssize_t`` from ``.ref_count()`` instead of ``int`` 

henryiii added 2 commits May 24, 2024 17:08
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
include/pybind11/pytypes.h Outdated Show resolved Hide resolved
henryiii added 2 commits May 24, 2024 20:10
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/ci/313t branch from adeeee7 to 0d95846 Compare May 25, 2024 03:03
@henryiii henryiii marked this pull request as ready for review May 25, 2024 03:18
@henryiii henryiii changed the title ci: try Python 3.13t ci: Python 3.13t with GIL May 25, 2024
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
tests/test_class.py Outdated Show resolved Hide resolved
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
tests/pybind11_tests.cpp Show resolved Hide resolved
@henryiii henryiii changed the title ci: Python 3.13t with GIL fix: Python 3.13t with GIL May 28, 2024
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit ae6432b into pybind:master May 28, 2024
83 checks passed
@henryiii henryiii deleted the henryiii/ci/313t branch May 28, 2024 13:08
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label May 28, 2024
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Jun 26, 2024
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.

2 participants