forked from CGM_Public/pretix_original
Upgrade to Django 3.0 and other dependencies (#1568)
* Upgrade Django to 3.0 and other dependencies to recent versions * Fix otp version contsraint * Remove six dependency * Resolve some warnings * Fix failing tests * Update django-countries * Resolve all RemovedInDjango31Warnings in test suite * Run isort * Fix import * Update PostgreSQL version on travis
This commit is contained in:
62
src/setup.py
62
src/setup.py
@@ -9,7 +9,7 @@ from setuptools import find_packages, setup
|
||||
from pretix import __version__
|
||||
|
||||
CURRENT_PYTHON = sys.version_info[:2]
|
||||
REQUIRED_PYTHON = (3, 5)
|
||||
REQUIRED_PYTHON = (3, 6)
|
||||
if CURRENT_PYTHON < REQUIRED_PYTHON:
|
||||
sys.stderr.write("""
|
||||
==========================
|
||||
@@ -80,39 +80,39 @@ setup(
|
||||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
||||
'Environment :: Web Environment',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Framework :: Django :: 2.2'
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Framework :: Django :: 3.0'
|
||||
],
|
||||
|
||||
keywords='tickets web shop ecommerce',
|
||||
install_requires=[
|
||||
'Django==2.2.*',
|
||||
'djangorestframework==3.9.*',
|
||||
'Django==3.0.*',
|
||||
'djangorestframework==3.11.*',
|
||||
'python-dateutil==2.8.*',
|
||||
'requests==2.21.*',
|
||||
'requests==2.22.*',
|
||||
'pytz',
|
||||
'django-bootstrap3==11.0.*',
|
||||
'django-bootstrap3==12.0.*',
|
||||
'django-formset-js-improved==0.5.0.2',
|
||||
'django-compressor==2.2.*',
|
||||
'django-compressor==2.4.*',
|
||||
'django-hierarkey==1.0.*,>=1.0.2',
|
||||
'django-filter==2.1.*',
|
||||
'django-scopes==1.1.*',
|
||||
'django-filter==2.2.*',
|
||||
'django-scopes==1.2.*',
|
||||
'reportlab>=3.5.18',
|
||||
'Pillow==6.*',
|
||||
'Pillow==7.*',
|
||||
'PyPDF2==1.26.*',
|
||||
'django-libsass',
|
||||
'libsass==0.19.2', # Bump when https://github.com/sass/libsass/issues/3053 is fixed
|
||||
'django-otp==0.5.*',
|
||||
'django-otp==0.7.*,>=0.7.5',
|
||||
'webauthn==0.4.*',
|
||||
'python-u2flib-server==4.*',
|
||||
'django-formtools==2.1',
|
||||
'celery==4.3.*',
|
||||
'kombu==4.5.*',
|
||||
'django-statici18n==1.8.*',
|
||||
'django-formtools==2.2',
|
||||
'celery==4.4.*',
|
||||
'kombu==4.6.*',
|
||||
'django-statici18n==1.9.*',
|
||||
'inlinestyler==0.2.*',
|
||||
'BeautifulSoup4==4.7.*',
|
||||
'BeautifulSoup4==4.8.*',
|
||||
'slimit',
|
||||
'lxml',
|
||||
'static3==0.7.*',
|
||||
@@ -121,13 +121,13 @@ setup(
|
||||
'django-markup',
|
||||
'markdown<=2.2',
|
||||
'bleach==3.1.*',
|
||||
'sentry-sdk==0.7.*',
|
||||
'sentry-sdk==0.14.*',
|
||||
'babel',
|
||||
'paypalrestsdk==1.13.*',
|
||||
'pycparser==2.13',
|
||||
'django-redis==4.10.*',
|
||||
'redis==3.2.*',
|
||||
'stripe==2.32.*',
|
||||
'django-redis==4.11.*',
|
||||
'redis==3.3.*',
|
||||
'stripe==2.42.*',
|
||||
'chardet<3.1.0,>=3.0.2',
|
||||
'mt-940==3.2',
|
||||
'django-i18nfield>=1.7.0',
|
||||
@@ -135,7 +135,7 @@ setup(
|
||||
'psycopg2-binary',
|
||||
'vobject==0.9.*',
|
||||
'pycountry',
|
||||
'django-countries',
|
||||
'django-countries>=6.0',
|
||||
'pyuca',
|
||||
'defusedcsv>=1.1.0',
|
||||
'vat_moss_forked==2020.3.20.0.11.0',
|
||||
@@ -143,32 +143,30 @@ setup(
|
||||
'django-localflavor',
|
||||
'jsonschema',
|
||||
'django-hijack>=2.1.10,<2.2.0',
|
||||
'openpyxl==2.6.*',
|
||||
'openpyxl==3.0.*',
|
||||
'django-oauth-toolkit==1.2.*',
|
||||
'oauthlib==3.1.*',
|
||||
'urllib3==1.24.*', # required by current requests
|
||||
'django-phonenumber-field==3.0.*',
|
||||
'phonenumberslite==8.10.*',
|
||||
'django-phonenumber-field==4.0.*',
|
||||
'phonenumberslite==8.11.*',
|
||||
'python-bidi==0.4.*', # Support for Arabic in reportlab
|
||||
'arabic-reshaper==2.0.15', # Support for Arabic in reportlab
|
||||
'packaging',
|
||||
],
|
||||
extras_require={
|
||||
'dev': [
|
||||
'django-debug-toolbar==1.11',
|
||||
'sqlparse==0.3.*',
|
||||
'django-debug-toolbar==2.1',
|
||||
'pycodestyle==2.5.*',
|
||||
'pyflakes==2.1.*',
|
||||
'flake8==3.7.*',
|
||||
'pep8-naming',
|
||||
'coveralls',
|
||||
'coverage',
|
||||
'pytest==4.4.*',
|
||||
'pytest==5.3.*',
|
||||
'pytest-django',
|
||||
'pytest-xdist==1.28.*',
|
||||
'pytest-xdist==1.31.*',
|
||||
'isort',
|
||||
'pytest-mock==1.10.*',
|
||||
'pytest-rerunfailures==7.*',
|
||||
'pytest-mock==2.0.*',
|
||||
'pytest-rerunfailures==8.*',
|
||||
'responses',
|
||||
'potypo',
|
||||
'freezegun',
|
||||
|
||||
Reference in New Issue
Block a user