diff --git a/requirements.txt b/requirements.txt index 91a0aca..b3a4be3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,82 +1,84 @@ -alabaster==0.7.13 -arrow==1.2.3 -asgiref==3.6.0 -attrs==22.2.0 -autobahn==23.1.1 -Automat==22.10.0 -Babel==2.11.0 -binaryornot==0.4.4 -black==22.10.0 -certifi==2022.12.7 -cffi==1.15.1 -channels==4.0.0 -chardet==5.1.0 -charset-normalizer==2.1.1 -click==8.1.3 -colorama==0.4.6 -constantly==15.1.0 -cookiecutter==2.1.1 -cryptography==39.0.0 -daphne==4.0.0 -Deprecated==1.2.13 -Django==4.1.6 -django-cleanup==6.0.0 -django-crispy-forms==1.14.0 -django-environ==0.9.0 -django-model-utils==4.3.1 -djangorestframework==3.14.0 -docutils==0.19 -ghp-import==2.1.0 -gopay==1.3.0 -hyperlink==21.0.0 -idna==3.4 -imagesize==1.4.1 -incremental==22.10.0 -Jinja2==3.1.2 -jinja2-time==0.2.0 -Markdown==3.3.7 -MarkupSafe==2.1.1 -mergedeep==1.3.4 -mkdocs==1.4.2 -mypy-extensions==0.4.3 -packaging==21.3 -pathspec==0.10.2 -Pillow==9.4.0 -platformdirs==2.5.4 -psycopg2==2.9.5 -pyasn1==0.4.8 -pyasn1-modules==0.2.8 -pycparser==2.21 -Pygments==2.14.0 -pyOpenSSL==23.0.0 -pyparsing==3.0.9 -python-dateutil==2.8.2 -python-slugify==7.0.0 -pytz==2022.7.1 -PyYAML==6.0 -pyyaml_env_tag==0.1 -reportlab==3.6.12 -requests==2.28.1 -service-identity==21.1.0 -six==1.16.0 -snowballstemmer==2.2.0 -Sphinx==6.1.3 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 -sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -sphinxcontrib.applehelp==1.0.3 -sqlparse==0.4.3 -stripe==5.0.0 -text-unidecode==1.3 -tomli==2.0.1 -Twisted==22.10.0 -twisted-iocpsupport==1.0.2 -txaio==23.1.1 -typing_extensions==4.4.0 -tzdata==2022.7 -urllib3==1.26.13 -watchdog==2.1.9 -wrapt==1.14.1 -zope.interface==5.5.2 +-r requirements/local.txt + +# alabaster==0.7.13 +# arrow==1.2.3 +# asgiref==3.6.0 +# attrs==22.2.0 +# autobahn==23.1.1 +# Automat==22.10.0 +# Babel==2.11.0 +# binaryornot==0.4.4 +# black==22.10.0 +# certifi==2022.12.7 +# cffi==1.15.1 +# channels==4.0.0 +# chardet==5.1.0 +# charset-normalizer==2.1.1 +# click==8.1.3 +# colorama==0.4.6 +# constantly==15.1.0 +# cookiecutter==2.1.1 +# cryptography==39.0.0 +# daphne==4.0.0 +# Deprecated==1.2.13 +# Django==4.1.6 +# django-cleanup==6.0.0 +# django-crispy-forms==1.14.0 +# django-environ==0.9.0 +# django-model-utils==4.3.1 +# djangorestframework==3.14.0 +# docutils==0.19 +# ghp-import==2.1.0 +# gopay==1.3.0 +# hyperlink==21.0.0 +# idna==3.4 +# imagesize==1.4.1 +# incremental==22.10.0 +# Jinja2==3.1.2 +# jinja2-time==0.2.0 +# Markdown==3.3.7 +# MarkupSafe==2.1.1 +# mergedeep==1.3.4 +# mkdocs==1.4.2 +# mypy-extensions==0.4.3 +# packaging==21.3 +# pathspec==0.10.2 +# Pillow==9.4.0 +# platformdirs==2.5.4 +# psycopg2==2.9.5 +# pyasn1==0.4.8 +# pyasn1-modules==0.2.8 +# pycparser==2.21 +# Pygments==2.14.0 +# pyOpenSSL==23.0.0 +# pyparsing==3.0.9 +# python-dateutil==2.8.2 +# python-slugify==7.0.0 +# pytz==2022.7.1 +# PyYAML==6.0 +# pyyaml_env_tag==0.1 +# reportlab==3.6.12 +# requests==2.28.1 +# service-identity==21.1.0 +# six==1.16.0 +# snowballstemmer==2.2.0 +# Sphinx==6.1.3 +# sphinxcontrib-devhelp==1.0.2 +# sphinxcontrib-htmlhelp==2.0.0 +# sphinxcontrib-jsmath==1.0.1 +# sphinxcontrib-qthelp==1.0.3 +# sphinxcontrib-serializinghtml==1.1.5 +# sphinxcontrib.applehelp==1.0.3 +# sqlparse==0.4.3 +# stripe==5.0.0 +# text-unidecode==1.3 +# tomli==2.0.1 +# Twisted==22.10.0 +# twisted-iocpsupport==1.0.2 +# txaio==23.1.1 +# typing_extensions==4.4.0 +# tzdata==2022.7 +# urllib3==1.26.13 +# watchdog==2.1.9 +# wrapt==1.14.1 +# zope.interface==5.5.2 diff --git a/requirements/base.txt b/requirements/base.txt new file mode 100644 index 0000000..df5baf2 --- /dev/null +++ b/requirements/base.txt @@ -0,0 +1,23 @@ +pytz==2022.7 # https://github.com/stub42/pytz +python-slugify==7.0.0 # https://github.com/un33k/python-slugify +Pillow==9.3.0 # https://github.com/python-pillow/Pillow +rcssmin==1.1.0 # https://github.com/ndparker/rcssmin +argon2-cffi==21.3.0 # https://github.com/hynek/argon2_cffi +whitenoise==6.2.0 # https://github.com/evansd/whitenoise +redis==4.4.0 # https://github.com/redis/redis-py +hiredis==2.1.0 # https://github.com/redis/hiredis-py + +# Django +# ------------------------------------------------------------------------------ +django==4.0.8 # pyup: < 4.1 # https://www.djangoproject.com/ +django-environ==0.9.0 # https://github.com/joke2k/django-environ +django-model-utils==4.3.1 # https://github.com/jazzband/django-model-utils +django-crispy-forms==1.14.0 # https://github.com/django-crispy-forms/django-crispy-forms +crispy-bootstrap5==0.7 # https://github.com/django-crispy-forms/crispy-bootstrap5 +django-compressor==4.1 # https://github.com/django-compressor/django-compressor +django-redis==5.2.0 # https://github.com/jazzband/django-redis +# Django REST Framework +djangorestframework==3.14.0 # https://github.com/encode/django-rest-framework +django-cors-headers==3.13.0 # https://github.com/adamchainz/django-cors-headers +# DRF-spectacular for api documentation +drf-spectacular==0.25.1 # https://github.com/tfranzel/drf-spectacular diff --git a/requirements/local.txt b/requirements/local.txt new file mode 100644 index 0000000..5a4b626 --- /dev/null +++ b/requirements/local.txt @@ -0,0 +1,36 @@ +-r base.txt + +Werkzeug[watchdog]==2.2.2 # https://github.com/pallets/werkzeug +ipdb==0.13.11 # https://github.com/gotcha/ipdb +psycopg2-binary==2.9.5 # https://github.com/psycopg/psycopg2 + +# Testing +# ------------------------------------------------------------------------------ +mypy==0.982 # https://github.com/python/mypy +django-stubs==1.13.1 # https://github.com/typeddjango/django-stubs +pytest==7.2.0 # https://github.com/pytest-dev/pytest +pytest-sugar==0.9.6 # https://github.com/Frozenball/pytest-sugar +djangorestframework-stubs==1.8.0 # https://github.com/typeddjango/djangorestframework-stubs + +# Documentation +# ------------------------------------------------------------------------------ +sphinx==5.3.0 # https://github.com/sphinx-doc/sphinx +sphinx-autobuild==2021.3.14 # https://github.com/GaretJax/sphinx-autobuild + +# Code quality +# ------------------------------------------------------------------------------ +flake8==6.0.0 # https://github.com/PyCQA/flake8 +flake8-isort==5.0.3 # https://github.com/gforcada/flake8-isort +coverage==7.0.0 # https://github.com/nedbat/coveragepy +black==22.12.0 # https://github.com/psf/black +pylint-django==2.5.3 # https://github.com/PyCQA/pylint-django +pre-commit==2.20.0 # https://github.com/pre-commit/pre-commit + +# Django +# ------------------------------------------------------------------------------ +factory-boy==3.2.1 # https://github.com/FactoryBoy/factory_boy + +django-debug-toolbar==3.8.1 # https://github.com/jazzband/django-debug-toolbar +django-extensions==3.2.1 # https://github.com/django-extensions/django-extensions +django-coverage-plugin==3.0.0 # https://github.com/nedbat/django_coverage_plugin +pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django diff --git a/requirements/production.txt b/requirements/production.txt new file mode 100644 index 0000000..2dea78c --- /dev/null +++ b/requirements/production.txt @@ -0,0 +1,11 @@ +# PRECAUTION: avoid production dependencies that aren't in development + +-r base.txt + +gunicorn==20.1.0 # https://github.com/benoitc/gunicorn +psycopg2==2.9.5 # https://github.com/psycopg/psycopg2 + +# Django +# ------------------------------------------------------------------------------ +django-storages[boto3]==1.13.1 # https://github.com/jschneier/django-storages +django-anymail[amazon_ses]==9.0 # https://github.com/anymail/django-anymail