pypa/hatch

PEP723: Using `--system-site-packages`

Open

#1.963 geöffnet am 28. Apr. 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (240 Forks)batch import
good first issueneeds investigation

Repository-Metriken

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

Beschreibung

This may be more general issue, but how would we define that we want the venv to have --system-site-packages passed? For hatch frontend, maybe the closest would be to add

[tool.hatch.envs.default]
system-site-packages = true

and similarly for each frontend? Would adding that be accounted for in hatch run?

Contributor Guide