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

[master] Improve pip target override condition with VENV_PIP_TARGET environment variable #65562

Merged

Conversation

vzhestkov
Copy link
Contributor

What does this PR do?

In case of specifyig bin_env the target was populated from VENV_PIP_TARGET environment variable which is not really needed as most probably the it will require separate target for such case, and it's better to use the default for this particular binary environment with no overriding the target from VENV_PIP_TARGET

Previous Behavior

Overrides target in case if it's not specified explicitly for all cases.

New Behavior

Overrides target from the environment variable only if bin_env is not specified.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@vzhestkov vzhestkov requested a review from a team as a code owner November 15, 2023 12:51
@vzhestkov vzhestkov requested review from garethgreenaway and removed request for a team November 15, 2023 12:51
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Improve pip target override condition with VENV_PIP_TARGET environment variable [master] Improve pip target override condition with VENV_PIP_TARGET environment variable Nov 15, 2023
@dwoz dwoz merged commit 1e0c9d7 into saltstack:master Nov 26, 2023
416 checks passed
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

Successfully merging this pull request may close these issues.

2 participants