pypa/hatch

Support creating a free-threaded environment

Open

#1.931 geöffnet am 11. März 2025

Auf GitHub ansehen
 (4 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Python (240 Forks)batch import
buggood first issue

Repository-Metriken

Stars
 (4.451 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 41T 22h) (20 gemergte PRs in 30 T)

Beschreibung

Perhaps complicated by the fact that hatch isn't easily installable on the free-threaded build (#1801, but see https://github.com/pypa/hatch/issues/1801#issuecomment-2715720577), it doesn't look like it's possible to create a hatch environment with a free-threaded interpreter:

$ hatch python install 3.13t
Unknown distributions: 3.13t

Is that something that you'd be interested in adding support for?

I think if we do, projects should be able to install hatch in a GIL-enabled interpreter, and then use hatch to orchestrate downloading a free-threaded interpreter and using it to run tests, sidestepping #1801.

Contributor Guide