Skip to content

Commit

Permalink
fix(Makefile): install pip<22 to prevent pip-tools bug
Browse files Browse the repository at this point in the history
  • Loading branch information
m0wer committed Feb 1, 2022
1 parent 85e8a7e commit 14d6e55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ install:
@echo "---------------------------"
@echo "- Installing dependencies -"
@echo "---------------------------"
python -m pip install pip-tools
python -m pip install "pip<22" pip-tools
python -m piptools sync requirements.txt docs/requirements.txt requirements-dev.txt
pre-commit install

Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
-c requirements.txt
-c docs/requirements.txt

pip<22

pre-commit
pytest
pytest-cookies
Expand Down
4 changes: 4 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,7 @@ urllib3==1.26.7
# requests
virtualenv==20.9.0
# via pre-commit

# The following packages are considered to be unsafe in a requirements file:
pip==21.3.1
# via -r requirements-dev.in

0 comments on commit 14d6e55

Please sign in to comment.