Upgrade to Django 2.2 and modern DRF and py.test (#1246)

* Upgrade django and stuff

* Update to Django 2.2 and recent versions of similar packages

* Provide explicit orderings to all models used in paginated queries

* Resolve naive datetime warnings in test suite

* Deal with deprecation warnings

* Fix sqlparse version
This commit is contained in:
Raphael Michel
2019-04-07 14:09:49 +01:00
committed by GitHub
parent cb531a7a6a
commit 6d1dea7922
39 changed files with 126 additions and 102 deletions
+14 -13
View File
@@ -87,21 +87,21 @@ setup(
keywords='tickets web shop ecommerce',
install_requires=[
'Django>=2.1,<2.2',
'djangorestframework==3.8.*',
'python-dateutil==2.4.*',
'Django==2.2.*',
'djangorestframework==3.9.*',
'python-dateutil==2.8.*',
'pytz',
'django-bootstrap3==10.0.*',
'django-bootstrap3==11.0.*',
'django-formset-js-improved==0.5.0.2',
'django-compressor==2.2.*',
'django-hierarkey==1.0.*,>=1.0.2',
'django-filter==2.0.*',
'django-filter==2.1.*',
'reportlab==3.5.*',
'Pillow==5.*',
'PyPDF2==1.26.*',
'django-libsass',
'libsass',
'django-otp==0.4.*',
'django-otp==0.5.*',
'python-u2flib-server==4.*',
'django-formtools==2.1',
'celery==4.3.*',
@@ -116,7 +116,7 @@ setup(
'csscompressor',
'django-markup',
'markdown<=2.2',
'bleach==2.*',
'bleach==3.1.*',
'sentry-sdk==0.7.*',
'babel',
'paypalrestsdk==1.13.*',
@@ -144,21 +144,22 @@ setup(
],
extras_require={
'dev': [
'django-debug-toolbar==1.9.1',
'sqlparse==0.2.1',
'django-debug-toolbar==1.11',
'sqlparse==0.3.*',
'pycodestyle==2.5.*',
'pyflakes==2.1.*',
'flake8==3.7.*',
'pep8-naming',
'coveralls',
'coverage',
'pytest==3.6.*',
'pytest==4.4.*',
'pytest-django',
'pytest-xdist==1.27.*',
'pytest-xdist==1.28.*',
'isort',
'pytest-mock==1.6.*',
'pytest-rerunfailures',
'pytest-mock==1.10.*',
'pytest-rerunfailures==7.*',
'responses',
'potypo',
'freezegun',
],
'memcached': ['pylibmc'],