]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
requirements: Use compatible MINOR releases
authorStephen Finucane <stephen@that.guru>
Tue, 10 Sep 2019 18:12:16 +0000 (19:12 +0100)
committerStephen Finucane <stephen@that.guru>
Tue, 10 Sep 2019 18:12:16 +0000 (19:12 +0100)
'~= 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")
requirements-dev.txt
requirements-prod.txt
requirements-test.txt

index 28bb8efb364f65b2851f62d94dd908f0d06bfebc..60eb8a63071952a40870dd92acbd0ce8496765df 100644 (file)
@@ -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
index 1532b4f666e4dcd41d623a573238927f80cae6fe..797d30bbb2e500a800f0edbb6498adcfc0fb63df 100644 (file)
@@ -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
index 6d0b3ef10b27a076b3dbc092784a023524778377..4235f3721c5f60963b0ccc5f02d57de5bbd25f0f 100644 (file)
@@ -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