pypa/hatch

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

Aperta

#1963 aperta il 28 apr 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Python (240 fork)batch import
good first issueneeds investigation

Metriche repository

Star
 (4451 stelle)
Metriche merge PR
 (Merge medio 71g 21h) (10 PR mergiate in 30 g)

Descrizione

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?

Guida contributor