Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Global option enabling system-packages #1200

Open
oliviercailloux opened this issue Jan 6, 2024 · 0 comments
Open

Feature request: Global option enabling system-packages #1200

oliviercailloux opened this issue Jan 6, 2024 · 0 comments

Comments

@oliviercailloux
Copy link

oliviercailloux commented Jan 6, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant