diff --git a/src/requirements/dev.txt b/src/requirements/dev.txt index c7489d0287..11bb51df21 100644 --- a/src/requirements/dev.txt +++ b/src/requirements/dev.txt @@ -1,9 +1,9 @@ -django-debug-toolbar==3.2 +django-debug-toolbar==2.1 # Testing requirements -pycodestyle==2.6.* -pyflakes==2.2.* +pycodestyle==2.5.* +pyflakes==2.1.* pep8-naming -flake8==3.8.* +flake8==3.7.* codecov coverage pytest-cov @@ -11,12 +11,12 @@ pytest==6.* pytest-django==4.* isort pytest-rerunfailures==9.* -pytest-mock==3.5.* +pytest-mock==2.0.* responses potypo freezegun # Not really required, just nice to have -pytest-xdist==2.2.* +pytest-xdist==1.31.* pytest-cache pytest-sugar diff --git a/src/requirements/production.txt b/src/requirements/production.txt index 8563dc96c7..18f912fe37 100644 --- a/src/requirements/production.txt +++ b/src/requirements/production.txt @@ -1,19 +1,19 @@ # Functional requirements -Django==3.1.* -djangorestframework==3.12.* +Django==3.0.*,>=3.0.9 +djangorestframework==3.11.* python-dateutil==2.8.* isoweek -requests==2.25.0 +requests==2.24.0 pytz -django-bootstrap3==14.0.* +django-bootstrap3==12.0.* django-formset-js-improved==0.5.0.2 django-compressor==2.4.* django-hierarkey==1.0.*,>=1.0.4 -django-filter==2.4.* +django-filter==2.2.* django-scopes==1.2.* -reportlab>=3.5.65 +reportlab>=3.5.18 PyPDF2==1.26.* -Pillow==8.* +Pillow==7.* django-libsass==0.8 libsass==0.20.* django-otp==0.7.*,>=0.7.5 @@ -22,9 +22,9 @@ webauthn==0.4.* django-formtools==2.2 celery==4.4.* kombu==4.6.* -django-statici18n==2.0.* +django-statici18n==1.9.* inlinestyler==0.2.* -BeautifulSoup4==4.9.* +BeautifulSoup4==4.8.* slimit lxml static3==0.7.* @@ -35,38 +35,39 @@ markdown==3.3.* bleach==3.3.* sentry-sdk==0.14.* babel -django-i18nfield==1.9.* -django-hijack==2.3.* +django-i18nfield>=1.7.0 +django-hijack>=2.1.10,<2.2.0 jsonschema openpyxl==3.0.* -django-oauth-toolkit==1.4.* +django-oauth-toolkit==1.2.* oauthlib==3.1.* django-jsonfallback>=2.1.2 psycopg2-binary tqdm==4.* # Stripe -stripe==2.56.* +stripe==2.42.* # PayPal paypalrestsdk==1.13.* +pycparser==2.13 # https://github.com/eliben/pycparser/issues/147 # Banktransfer -chardet==4.0.* +chardet<3.1.0,>=3.0.2 mt-940==3.2 vobject==0.9.* pycountry -django-countries==7.* +django-countries>=6.0 pyuca # for better sorting of country names in django-countries defusedcsv>=1.1.0 vat_moss_forked==2020.3.20.0.11.0 -django-localflavor==3.0.* -django-redis==4.12.* -redis==3.5.* -django-phonenumber-field==5.0.* -phonenumberslite==8.12.* +django-localflavor>=2.2 +django-redis==4.11.* +redis==3.4.* +django-phonenumber-field==4.0.* +phonenumberslite==8.11.* python-bidi==0.4.* # Support for arabic in reportlab arabic-reshaper==2.0.15 # Support for Aabic in reportlab packaging -tlds>=2021031000 +tlds>=2020041600 text-unidecode==1.* -protobuf==3.15.* +protobuf==3.13.* cryptography>=3.4.2 sepaxml==2.4.*,>=2.4.1 diff --git a/src/setup.py b/src/setup.py index 0a797c6341..db3cea586a 100644 --- a/src/setup.py +++ b/src/setup.py @@ -88,19 +88,19 @@ setup( keywords='tickets web shop ecommerce', install_requires=[ - 'Django==3.1.*', - 'djangorestframework==3.12.*', + 'Django==3.0.*,>=3.0.9', + 'djangorestframework==3.11.*', 'python-dateutil==2.8.*', 'isoweek', - 'requests==2.25.*', + 'requests==2.24.*', 'pytz', - 'django-bootstrap3==14.0.*', + 'django-bootstrap3==12.0.*', 'django-formset-js-improved==0.5.0.2', 'django-compressor==2.4.*', 'django-hierarkey==1.0.*,>=1.0.4', - 'django-filter==2.4.*', + 'django-filter==2.2.*', 'django-scopes==1.2.*', - 'reportlab>=3.5.65', + 'reportlab>=3.5.18', 'Pillow==7.*', 'PyPDF2==1.26.*', 'django-libsass==0.8', @@ -111,9 +111,9 @@ setup( 'django-formtools==2.2', 'celery==4.4.*', 'kombu==4.6.*', - 'django-statici18n==2.0.*', + 'django-statici18n==1.9.*', 'inlinestyler==0.2.*', - 'BeautifulSoup4==4.9.*', + 'BeautifulSoup4==4.8.*', 'slimit', 'lxml', 'static3==0.7.*', @@ -125,52 +125,53 @@ setup( 'sentry-sdk==0.14.*', 'babel', 'paypalrestsdk==1.13.*', - 'django-redis==4.12.*', - 'redis==3.5.*', - 'stripe==2.56.*', - 'chardet==4.0.*', + 'pycparser==2.13', + 'django-redis==4.11.*', + 'redis==3.4.*', + 'stripe==2.42.*', + 'chardet<3.1.0,>=3.0.2', 'mt-940==3.2', - 'django-i18nfield==1.9.*', + 'django-i18nfield>=1.7.0', 'django-jsonfallback>=2.1.2', 'psycopg2-binary', 'tqdm==4.*', 'vobject==0.9.*', 'pycountry', - 'django-countries==7.*', + 'django-countries>=6.0', 'pyuca', 'defusedcsv>=1.1.0', 'vat_moss_forked==2020.3.20.0.11.0', - 'django-localflavor==3.0.*', + 'django-localflavor>=2.2', 'jsonschema', - 'django-hijack==2.3.*', + 'django-hijack>=2.1.10,<2.2.0', 'openpyxl==3.0.*', - 'django-oauth-toolkit==1.4.*', + 'django-oauth-toolkit==1.2.*', 'oauthlib==3.1.*', - 'django-phonenumber-field==5.0.*', - 'phonenumberslite==8.12.*', + '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', - 'tlds>=2021031000', + 'tlds>=2020041600', 'text-unidecode==1.*', - 'protobuf==3.15.*', + 'protobuf==3.13.*', 'cryptography>=3.4.2', 'sepaxml==2.4.*,>=2.4.1', ], extras_require={ 'dev': [ - 'django-debug-toolbar==3.2', - 'pycodestyle==2.6.*', - 'pyflakes==2.2.*', - 'flake8==3.8.*', + 'django-debug-toolbar==2.1', + 'pycodestyle==2.5.*', + 'pyflakes==2.1.*', + 'flake8==3.7.*', 'pep8-naming', 'coveralls', 'coverage', 'pytest==6.*', 'pytest-django==4.*', - 'pytest-xdist==2.2.*', + 'pytest-xdist==1.31.*', 'isort', - 'pytest-mock==3.5.*', + 'pytest-mock==2.0.*', 'pytest-rerunfailures==9.*', 'responses', 'potypo',