Skip to content

Commit

Permalink
Requirements update
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Mar 23, 2021
1 parent 5371bb4 commit 9d9f0e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pytest-cov==2.11.1
pytest-django==4.1.0
pytest-xdist==2.2.1
mysqlclient==2.0.3
sphinx==3.5.2
sphinx==3.5.3
sphinx-autobuild==2021.3.14
sphinx-intl==2.0.1
sphinx-rtd-theme==0.5.1
3 changes: 3 additions & 0 deletions tools/check-requirements-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
rm -f /tmp/outdated.txt /tmp/outdated-reqs.txt /tmp/reqs.txt

# Keep pip in sync with reqs
echo "Installing pinned requirements"
pip3 install -r dsmrreader/provisioning/requirements/base.txt -r dsmrreader/provisioning/requirements/dev.txt

# List outdated packages
echo "Checking for outdated packages"
pip list --outdated --local --format freeze | tr '[:upper:]' '[:lower:]' | cut -d'=' -f1 | sort > /tmp/outdated.txt

# List packages from requirements
Expand All @@ -16,6 +18,7 @@ cat dsmrreader/provisioning/requirements/*.txt | tr '[:upper:]' '[:lower:]' | gr
comm -1 -2 /tmp/outdated.txt /tmp/reqs.txt > /tmp/outdated-reqs.txt


echo "Refreshing for outdated packages"
pip list --outdated --local

echo ""
Expand Down

0 comments on commit 9d9f0e4

Please sign in to comment.