Skip to content

Commit

Permalink
Merge pull request #35096 from dimagi/dm/make-requirements-output
Browse files Browse the repository at this point in the history
Suppress verbose make requirements output
  • Loading branch information
millerdev authored Sep 5, 2024
2 parents b37cc5a + d8985c5 commit 741addb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions requirements/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

requirements: export CUSTOM_COMPILE_COMMAND=`make requirements` or `make upgrade-requirements`
requirements:
pip-compile -o requirements.txt requirements.in --allow-unsafe
pip-compile -o prod-requirements.txt prod-requirements.in --allow-unsafe
pip-compile -o test-requirements.txt test-requirements.in --allow-unsafe
pip-compile -o dev-requirements.txt dev-requirements.in --allow-unsafe
pip-compile -o docs-requirements.txt docs-requirements.in --allow-unsafe
pip-compile -qo requirements.txt requirements.in --allow-unsafe
pip-compile -qo prod-requirements.txt prod-requirements.in --allow-unsafe
pip-compile -qo test-requirements.txt test-requirements.in --allow-unsafe
pip-compile -qo dev-requirements.txt dev-requirements.in --allow-unsafe
pip-compile -qo docs-requirements.txt docs-requirements.in --allow-unsafe
python ../scripts/purge-platform-pkgs.py ./*requirements.txt

upgrade-requirements: export CUSTOM_COMPILE_COMMAND=`make requirements` or `make upgrade-requirements`
upgrade-requirements:
pip-compile --upgrade -o requirements.txt requirements.in --allow-unsafe
pip-compile --upgrade -o prod-requirements.txt prod-requirements.in --allow-unsafe
pip-compile --upgrade -o test-requirements.txt test-requirements.in --allow-unsafe
pip-compile --upgrade -o dev-requirements.txt dev-requirements.in --allow-unsafe
pip-compile --upgrade -o docs-requirements.txt docs-requirements.in --allow-unsafe
pip-compile --upgrade -qo requirements.txt requirements.in --allow-unsafe
pip-compile --upgrade -qo prod-requirements.txt prod-requirements.in --allow-unsafe
pip-compile --upgrade -qo test-requirements.txt test-requirements.in --allow-unsafe
pip-compile --upgrade -qo dev-requirements.txt dev-requirements.in --allow-unsafe
pip-compile --upgrade -qo docs-requirements.txt docs-requirements.in --allow-unsafe
python ../scripts/purge-platform-pkgs.py ./*requirements.txt

# To upgrade a specific package to latest version use this command
# make upgrade-package package={package_name}
upgrade-package: export CUSTOM_COMPILE_COMMAND=`make requirements` or `make upgrade-requirements`
upgrade-package:
pip-compile --upgrade-package $(package) -o requirements.txt requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -o prod-requirements.txt prod-requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -o test-requirements.txt test-requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -o dev-requirements.txt dev-requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -o docs-requirements.txt docs-requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -qo requirements.txt requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -qo prod-requirements.txt prod-requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -qo test-requirements.txt test-requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -qo dev-requirements.txt dev-requirements.in --allow-unsafe
pip-compile --upgrade-package $(package) -qo docs-requirements.txt docs-requirements.in --allow-unsafe
python ../scripts/purge-platform-pkgs.py ./*requirements.txt

0 comments on commit 741addb

Please sign in to comment.