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

MAINT: declare that highspy._core supports free-threaded CPython #70

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

rgommers
Copy link
Member

This allows highspy to be imported in a free-threaded CPython (see PEP 703) interpreter without raising a warning and re-enabling the GIL. We've tested thread-safety of this extension module reasonably well in SciPy now, and everything seems fine on all tested platforms (Linux, macOS, Windows and x86-64/arm64).

Changes also submitted to upstream: ERGO-Code#2063

This allows `highspy` to be imported in a free-threaded CPython
(see PEP 703) interpreter without raising a warning and re-enabling
the GIL. We've tested thread-safety of this extension module
reasonably well in SciPy now, and everything seems fine on all
tested platforms (Linux, macOS, Windows and x86-64/arm64).
@rgommers
Copy link
Member Author

Merging immediately to keep the ball rolling with a PR to incorporate this into SciPy's main branch.

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.

1 participant