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`` 

Signed-off-by: Henry Schreiner <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
include/pybind11/pytypes.h Outdated Show resolved Hide resolved
Signed-off-by: Henry Schreiner <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
@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 <[email protected]>
tests/test_class.py Outdated Show resolved Hide resolved
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
@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