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

Improve pip target override condition with VENV_PIP_TARGET environment variable (bsc#1216850) #613

Conversation

vzhestkov
Copy link
Contributor

@vzhestkov vzhestkov commented Nov 15, 2023

What does this PR do?

Backport of saltstack/salt#65562

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

Tracks: https://github.com/SUSE/spacewalk/issues/22982

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 changed the title Open suse/fix/3006.6/improve pip target override condition Improve pip target override condition with VENV_PIP_TARGET environment variable Nov 15, 2023
@vzhestkov vzhestkov changed the title Improve pip target override condition with VENV_PIP_TARGET environment variable Improve pip target override condition with VENV_PIP_TARGET environment variable (bsc#1216850) Nov 17, 2023
@vzhestkov vzhestkov requested review from meaksh and agraul November 20, 2023 08:26
@meaksh meaksh merged commit da938aa into openSUSE/release/3006.0 Jan 18, 2024
3 checks passed
@meaksh meaksh deleted the openSUSE/fix/3006.6/improve-pip-target-override-condition branch January 18, 2024 16:02
meaksh pushed a commit that referenced this pull request Oct 29, 2024
…t variable (bsc#1216850) (#613)

* Improve pip target override condition

* Improve pip test with different condition of overriding the target

* Add changelog entry
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