pypa/hatch

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

Open

#1,963 创建于 2025年4月28日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (4,451 star) (240 fork)batch import
good first issueneeds investigation

描述

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?

贡献者指南

PEP723: Using `--system-site-packages` · pypa/hatch#1963 | Good First Issue