Blosc / Blosc/python-blosc2

Add support for the free-threaded build

Ouverte
#555 1 commentaire 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
211
Forks
58
Merge moyen
1 j 17 h
PR mergées (30 j)
6

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire l’avertissement d’importation avec la build free-threading de Python 3.14.2 et examinez comment blosc2.blosc2_ext est compilé et chargé. Consultez les instructions sur py-free-threading.github.io ; le travail est considéré comme terminé lorsque blosc2 peut être importé sans réactiver le GIL dans une build free-threaded.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
backend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.