Skip to content

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

Merged
dwoz merged 4 commits into
saltstack:masterfrom
vzhestkov:improve-pip-target-override-condition
Nov 26, 2023
Merged

dwoz merged 4 commits into
saltstack:masterfrom
vzhestkov:improve-pip-target-override-condition

Conversation

@vzhestkov

Copy link
Copy Markdown
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
agraul pushed a commit to agraul/salt that referenced this pull request Jan 27, 2025
…t variable (bsc#1216850) (saltstack#613)

* Improve pip target override condition

* Improve pip test with different condition of overriding the target

* Add changelog entry

BACKPORT-UPSTREAM=saltstack#65562

This branch was previously deployed

1 inactive deployment
ci — 95675617 Deployed Nov 15, 2023 by vzhestkov
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