Skip to content

Commit 72d3d4b

Browse files
authored
Fix pip reinstallation on windows due to constraints (#6756)
1 parent 08ca779 commit 72d3d4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ endif
5050
@python -m pip install --upgrade pip
5151

5252
.install-cython: .update-pip $(call to-hash,requirements/cython.txt)
53-
@pip install -r requirements/cython.txt -c requirements/constraints.txt
53+
@python -m pip install -r requirements/cython.txt -c requirements/constraints.txt
5454
@touch .install-cython
5555

5656
aiohttp/_find_header.c: $(call to-hash,aiohttp/hdrs.py ./tools/gen.py)
@@ -74,7 +74,7 @@ generate-llhttp: .llhttp-gen
7474
cythonize: .install-cython $(PYXS:.pyx=.c)
7575

7676
.install-deps: .install-cython $(PYXS:.pyx=.c) $(call to-hash,$(CYS) $(REQS))
77-
@pip install -r requirements/dev.txt -c requirements/constraints.txt
77+
@python -m pip install -r requirements/dev.txt -c requirements/constraints.txt
7878
@touch .install-deps
7979

8080
.PHONY: lint
@@ -89,7 +89,7 @@ mypy:
8989
mypy
9090

9191
.develop: .install-deps generate-llhttp $(call to-hash,$(PYS) $(CYS) $(CS))
92-
pip install -e . -c requirements/constraints.txt
92+
python -m pip install -e . -c requirements/constraints.txt
9393
@touch .develop
9494

9595
.PHONY: test
@@ -189,7 +189,7 @@ compile-deps: .update-pip $(REQS)
189189

190190
.PHONY: install
191191
install: .update-pip
192-
@pip install -r requirements/dev.txt -c requirements/constraints.txt
192+
@python -m pip install -r requirements/dev.txt -c requirements/constraints.txt
193193

194194
.PHONY: install-dev
195195
install-dev: .develop

0 commit comments

Comments
 (0)