Add support for the free-threaded build
- Vorherrschende Sprache
- Python
- Sterne
- 211
- Forks
- 58
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
blosc2 ships free-threaded wheels, but they re-enable the GIL on import:
```
goldbaum at Nathans-MBP in ~
○ python
Python 3.14.2 free-threading build (main, Dec 8 2025, 15:41:12) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
i>>> import blosc2
:491: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'blosc2.blosc2_ext', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.
```
See https://py-free-threading.github.io for more information about the free-threaded build and how to support it.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Importwarnung mit dem Free-Threading-Build von Python 3.14.2 zu reproduzieren, und untersuche, wie blosc2.blosc2_ext gebaut und geladen wird. Lies die Hinweise auf py-free-threading.github.io; als abgeschlossen gilt die Aufgabe, wenn blosc2 importiert werden kann, ohne den GIL in einem Free-Threaded-Build wieder zu aktivieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100