Skip to content

Commit

Permalink
Fix pip reinstallation on windows due to constraints (#6756)
Browse files Browse the repository at this point in the history
  • Loading branch information
greshilov authored May 19, 2022
1 parent 08ca779 commit 72d3d4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ endif
@python -m pip install --upgrade pip

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

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

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

.PHONY: lint
Expand All @@ -89,7 +89,7 @@ mypy:
mypy

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

.PHONY: test
Expand Down Expand Up @@ -189,7 +189,7 @@ compile-deps: .update-pip $(REQS)

.PHONY: install
install: .update-pip
@pip install -r requirements/dev.txt -c requirements/constraints.txt
@python -m pip install -r requirements/dev.txt -c requirements/constraints.txt

.PHONY: install-dev
install-dev: .develop

0 comments on commit 72d3d4b

Please sign in to comment.