Skip to content

Commit

Permalink
feat(Makefile): allow unsafe dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
m0wer committed Feb 1, 2022
1 parent ea6b533 commit 85e8a7e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions 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 --upgrade setuptools pip pip-tools
python -m pip install pip-tools
python -m piptools sync requirements.txt docs/requirements.txt requirements-dev.txt
pre-commit install

Expand All @@ -17,10 +17,9 @@ update:
@echo "-------------------------"
python -m piptools sync requirements.txt docs/requirements.txt requirements-dev.txt

pip install --upgrade pip
pip-compile
pip-compile docs/requirements.in
pip-compile requirements-dev.in
pip-compile --allow-unsafe
pip-compile --allow-unsafe docs/requirements.in
pip-compile --allow-unsafe requirements-dev.in

python -m piptools sync requirements.txt docs/requirements.txt requirements-dev.txt

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# pip-compile docs/requirements.in
# pip-compile --allow-unsafe docs/requirements.in
#
babel==2.9.1
# via mkdocs-git-revision-date-localized-plugin
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# pip-compile requirements-dev.in
# pip-compile --allow-unsafe requirements-dev.in
#
arrow==1.2.1
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# pip-compile
# pip-compile --allow-unsafe
#
arrow==1.2.1
# via jinja2-time
Expand Down

0 comments on commit 85e8a7e

Please sign in to comment.