hatch icon indicating copy to clipboard operation
hatch copied to clipboard

Feature request: Global option enabling system-packages

Open oliviercailloux opened this issue 1 year ago • 0 comments

I’d like to enable system-packages for all my projects. Also, I’d like not to impose that on my co-workers. It should be an option depending on how the developer wants their system configured, not on the project. So, I’d like to have that option in ~/.config/hatch/config.toml (or any other configuration setting not depending on the project), not in pyproject.toml.

Unfortunately, it seems that the configuration “for Hatch itself” does not permit to set default options for environments. I tried to add [envs.default] system-packages = true to ~/.config/hatch/config.toml but it seems to have no effect.

Please let the user set an option, once and for all, that enables system-packages everywhere!

oliviercailloux avatar Jan 06 '24 11:01 oliviercailloux