From: Stephen Finucane Date: Sun, 1 Dec 2019 15:01:35 +0000 (+0000) Subject: requirements: Add pyup markers to prevent dumb PRs X-Git-Tag: v2.2.0-rc1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7f7cf50ab8c434db07d4f4180b33ea8d9aeafd4;p=thirdparty%2Fpatchwork.git requirements: Add pyup markers to prevent dumb PRs Until [1] is merged, we're going to have to override what these markers are doing. Perhaps it would be easier to just specify the markers in the comments as the actual marker, but I like using pip's features and the comments *should* be temporary. [1] https://github.com/pyupio/pyup/pull/367 Signed-off-by: Stephen Finucane --- diff --git a/requirements-dev.txt b/requirements-dev.txt index 60eb8a63..d4d1ddf9 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,10 +1,10 @@ -Django~=2.2.0; python_version >= '3.5' +Django~=2.2.0; python_version >= '3.5' # pyup: >= 2.2.0,<2.3.0 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~=2.2.0; python_version >= '3.5' # pyup: >=2.2.0,<2.3.0 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 +django-dbbackup~=3.2.0 # pyup: >=3.2.0,<3.3.0 -r requirements-test.txt diff --git a/requirements-prod.txt b/requirements-prod.txt index 797d30bb..ff583b4b 100644 --- a/requirements-prod.txt +++ b/requirements-prod.txt @@ -1,8 +1,8 @@ -Django~=2.2.0; python_version >= '3.5' +Django~=2.2.0; python_version >= '3.5' # pyup: >=2.2.0,<2.3.0 Django~=1.11.0; python_version < '3.0' # pyup: ignore -djangorestframework~=3.10.0; python_version >= '3.5' +djangorestframework~=3.10.0; python_version >= '3.5' # pyup: >=3.10.0,<3.11.0 djangorestframework~=3.9.0; python_version < '3.0' # pyup: ignore -django-filter~=2.2.0; python_version >= '3.5' +django-filter~=2.2.0; python_version >= '3.5' # pyup: >=2.2.0,<2.3.0 django-filter~=1.1.0; python_version < '3.0' # pyup: ignore -psycopg2-binary~=2.8.0 -sqlparse~=0.3.0 +psycopg2-binary~=2.8.0 # pyup: >=2.8.0,<2.9.0 +sqlparse~=0.3.0 # pyup: >=0.3.0,<0.4.0 diff --git a/requirements-test.txt b/requirements-test.txt index 4235f372..bddc37d3 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,5 @@ -mysqlclient~=1.4.4 -psycopg2-binary~=2.8.0 -sqlparse~=0.3.0 -python-dateutil~=2.8.0 -openapi-core~=0.8.0 +mysqlclient~=1.4.4 # pyup: >=1.4.4,<1.5.0 +psycopg2-binary~=2.8.0 # pyup: >=2.8.0,<2.9.0 +sqlparse~=0.3.0 # pyup: >=0.3.0,<0.4.0 +python-dateutil~=2.8.0 # pyup: >=2.8.0,<2.9.0 +openapi-core~=0.8.0 # pyup: >=0.8.0,<0.9.0