Skip to content

Commit

Permalink
ci: remove the requirements files to avoid conflicts
Browse files Browse the repository at this point in the history
pip-compile used the existent requirements.txt content to pin the
versions of some packages creating conflicts. Not anymore
  • Loading branch information
lyz-code committed Dec 28, 2020
1 parent f25b0ed commit d161d29
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ update:
@echo "- Updating dependencies -"
@echo "-------------------------"

rm requirements.txt
touch requirements.txt
pip-compile -Ur --allow-unsafe

rm docs/requirements.txt
touch docs/requirements.txt
pip-compile -Ur --allow-unsafe docs/requirements.in --output-file docs/requirements.txt

rm requirements-dev.txt
touch requirements-dev.txt
pip-compile -Ur --allow-unsafe requirements-dev.in --output-file requirements-dev.txt

pip install -r requirements-dev.txt

@echo ""
Expand Down

0 comments on commit d161d29

Please sign in to comment.