From 9d9f0e4c904de4f420dc2686d60be96401c25ac1 Mon Sep 17 00:00:00 2001 From: Dennis Siemensma Date: Tue, 23 Mar 2021 21:17:12 +0100 Subject: [PATCH] Requirements update --- dsmrreader/provisioning/requirements/dev.txt | 2 +- tools/check-requirements-updates.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dsmrreader/provisioning/requirements/dev.txt b/dsmrreader/provisioning/requirements/dev.txt index b7b896a8b..bbdcf9bb4 100644 --- a/dsmrreader/provisioning/requirements/dev.txt +++ b/dsmrreader/provisioning/requirements/dev.txt @@ -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 diff --git a/tools/check-requirements-updates.sh b/tools/check-requirements-updates.sh index 8402ca7bd..98ba6cbc2 100755 --- a/tools/check-requirements-updates.sh +++ b/tools/check-requirements-updates.sh @@ -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 @@ -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 ""