diff options
author | Stephen Finucane <stephen@that.guru> | 2019-09-10 19:12:16 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2019-09-10 19:12:16 +0100 |
commit | 8f0ba2bb74499c3c4884746a782e87ed362e8f1e (patch) | |
tree | 218a965c45a928a273f69909e29708ab95023eb1 | |
parent | c90473ea4478db20a0c7e6686620ad8dd0d412e4 (diff) | |
download | patchwork-8f0ba2bb74499c3c4884746a782e87ed362e8f1e.tar patchwork-8f0ba2bb74499c3c4884746a782e87ed362e8f1e.tar.gz |
requirements: Use compatible MINOR releases
'~= 2.2' will match '2.2.N', '2.3.N', etc. but not '3.0.N'. What we want
in most cases is to match '2.2.N' only. Ensure this is the case.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: c90473ea ("requirements: Switch to compatible releases")
-rw-r--r-- | requirements-dev.txt | 18 | ||||
-rw-r--r-- | requirements-prod.txt | 16 | ||||
-rw-r--r-- | requirements-test.txt | 6 |
3 files changed, 20 insertions, 20 deletions
diff --git a/requirements-dev.txt b/requirements-dev.txt index 28bb8ef..60eb8a6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,10 +1,10 @@ -Django~=2.2; python_version >= '3.5' -Django~=1.11; python_version < '3.0' # pyup: ignore -djangorestframework~=3.10; python_version >= '3.5' -djangorestframework~=3.9; python_version < '3.0' # pyup: ignore -django-filter~=2.2; python_version >= '3.5' -django-filter~=1.1; python_version < '3.0' # pyup: ignore -django-debug-toolbar~=2.0; python_version >= '3.5' # pyup: ignore -django-debug-toolbar~=1.11; python_version < '3.0' # pyup: ignore -django-dbbackup~=3.2 +Django~=2.2.0; python_version >= '3.5' +Django~=1.11.0; python_version < '3.0' # pyup: ignore +djangorestframework~=3.10.0; python_version >= '3.5' +djangorestframework~=3.9.0; python_version < '3.0' # pyup: ignore +django-filter~=2.2.0; python_version >= '3.5' +django-filter~=1.1.0; python_version < '3.0' # pyup: ignore +django-debug-toolbar~=2.0.0; python_version >= '3.5' # pyup: ignore +django-debug-toolbar~=1.11.0; python_version < '3.0' # pyup: ignore +django-dbbackup~=3.2.0 -r requirements-test.txt diff --git a/requirements-prod.txt b/requirements-prod.txt index 1532b4f..797d30b 100644 --- a/requirements-prod.txt +++ b/requirements-prod.txt @@ -1,8 +1,8 @@ -Django~=2.2; python_version >= '3.5' -Django~=1.11; python_version < '3.0' # pyup: ignore -djangorestframework~=3.10; python_version >= '3.5' -djangorestframework~=3.9; python_version < '3.0' # pyup: ignore -django-filter~=2.2; python_version >= '3.5' -django-filter~=1.1; python_version < '3.0' # pyup: ignore -psycopg2-binary~=2.8 -sqlparse~=0.3 +Django~=2.2.0; python_version >= '3.5' +Django~=1.11.0; python_version < '3.0' # pyup: ignore +djangorestframework~=3.10.0; python_version >= '3.5' +djangorestframework~=3.9.0; python_version < '3.0' # pyup: ignore +django-filter~=2.2.0; python_version >= '3.5' +django-filter~=1.1.0; python_version < '3.0' # pyup: ignore +psycopg2-binary~=2.8.0 +sqlparse~=0.3.0 diff --git a/requirements-test.txt b/requirements-test.txt index 6d0b3ef..4235f37 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,5 @@ mysqlclient~=1.4.4 -psycopg2-binary~=2.8 -sqlparse~=0.3 -python-dateutil~=2.8 +psycopg2-binary~=2.8.0 +sqlparse~=0.3.0 +python-dateutil~=2.8.0 openapi-core~=0.8.0 |