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

inmanta-workon: set pip env vars according to project's pip config #6721

Closed
sanderr opened this issue Nov 8, 2023 · 0 comments
Closed

inmanta-workon: set pip env vars according to project's pip config #6721

sanderr opened this issue Nov 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request usability This ticket is related to improved usability
Milestone

Comments

@sanderr
Copy link
Contributor

sanderr commented Nov 8, 2023

Set PIP_PRE, PIP_INDEX_URL and PIP_EXTRA_INDEX_URL iff they are set explicitly in the config file. If use-system-config is false, also override PIP_CONFIG to be disabled.

Iff there is no index configured and use-system-config is false, produce a warning and don't set ANY config. Reason: unsetting the config and the index urls might lead to PyPi being used, which is worse than keeping the config. Document and/or explain this reason in the warning

For PIP_EXTRA_INDEX_URL, pre-/append to the existing env var iff use-system-config=true.

@sanderr sanderr added suggestion Suggest a change, open to discussion enhancement New feature or request usability This ticket is related to improved usability and removed suggestion Suggest a change, open to discussion labels Nov 8, 2023
@Hugo-Inmanta Hugo-Inmanta self-assigned this Nov 20, 2023
@sanderr sanderr added this to the iso7 milestone Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request usability This ticket is related to improved usability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants