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

[PR #6756/72d3d4b1 backport][3.8] Fix pip reinstallation on windows due to constraints #6911

Conversation

patchback[bot]
Copy link
Contributor

@patchback patchback bot commented Sep 7, 2022

This is a backport of PR #6756 as merged into master (72d3d4b).

What do these changes do?

Fix for constantly failing CI on windows agents.

Description

We have pinned pip version in constraints.txt file:

So when you call pip install ... -c constraints.txt it will downgrade/upgrade pip depending on the currently installed version. This works fine on all platforms except windows, which forces you to explicitly use python -m pip install ... when dealing with the pip package itself.

Since python -m pip install ... command is a completely legit replacement for pip install ... (examples from the pip wiki), I decided to update Makefile with it.

@webknjaz webknjaz merged commit 9b3f7f5 into 3.8 Sep 7, 2022
@webknjaz webknjaz deleted the patchback/backports/3.8/72d3d4b1f68cca5ad15ef50bffb0419b798c7f23/pr-6756 branch September 7, 2022 19:04
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