pypa/hatch

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

Open

#1,963 opened on Apr 28, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (240 forks)batch import
good first issueneeds investigation

Repository metrics

Stars
 (4,451 stars)
PR merge metrics
 (Avg merge 71d 21h) (10 merged PRs in 30d)

Description

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