Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR aio-libs#6756/72d3d4b1 backport][3.8] Fix pip reinstallation on w…
…indows due to constraints (aio-libs#6911) **This is a backport of PR aio-libs#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: https://github.com/aio-libs/aiohttp/blob/08ca779e9abdb6d558cdd1647fdca17cfe979711/requirements/constraints.txt#L260 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 ](https://pip.pypa.io/en/latest/getting-started/)from the pip wiki), I decided to update `Makefile` with it. Co-authored-by: Slava <[email protected]>
- Loading branch information