diff --git a/requirements/dev-requirements.in b/requirements/dev-requirements.in index 50bab308..875ad81f 100644 --- a/requirements/dev-requirements.in +++ b/requirements/dev-requirements.in @@ -25,6 +25,5 @@ pre-commit # https://github.com/pre-commit/pre-commit # Security # ------------------------------------------------------------------------------ -safety # https://github.com/pyupio/safety django-debug-toolbar # https://github.com/jazzband/django-debug-toolbar diff --git a/requirements/dev-requirements.txt b/requirements/dev-requirements.txt index 7515ef87..dd7d8caf 100644 --- a/requirements/dev-requirements.txt +++ b/requirements/dev-requirements.txt @@ -6,6 +6,8 @@ # alabaster==0.7.13 # via sphinx +appnope==0.1.3 + # via ipython asgiref==3.7.2 # via # -c requirements/requirements.txt @@ -40,7 +42,6 @@ click==8.1.7 # via # -c requirements/requirements.txt # black - # safety colorama==0.4.6 # via sphinx-autobuild decorator==5.1.1 @@ -65,8 +66,6 @@ django-stubs-ext==4.2.5 # via django-stubs docutils==0.20.1 # via sphinx -dparse==0.6.3 - # via safety executing==2.0.1 # via stack-data filelock==3.13.1 @@ -126,8 +125,6 @@ packaging==21.3 # via # -c requirements/requirements.txt # -c requirements/test-requirements.txt - # dparse - # safety # sphinx parso==0.8.3 # via jedi @@ -183,14 +180,7 @@ requests==2.31.0 # via # -c requirements/requirements.txt # -c requirements/test-requirements.txt - # safety # sphinx -ruamel-yaml==0.18.5 - # via safety -ruamel-yaml-clib==0.2.8 - # via ruamel-yaml -safety==2.3.5 - # via -r requirements/dev-requirements.in six==1.16.0 # via # -c requirements/requirements.txt @@ -230,7 +220,6 @@ tomli==2.0.1 # -c requirements/test-requirements.txt # black # django-stubs - # dparse # ipdb # mypy # pylint diff --git a/requirements/requirements.in b/requirements/requirements.in index 5c840cf1..6bcfaf1f 100644 --- a/requirements/requirements.in +++ b/requirements/requirements.in @@ -1,31 +1,30 @@ # For dependency management pip-tools -# Other -pytz # https://github.com/stub42/pytz -python-slugify # https://github.com/un33k/python-slugify -Pillow # https://github.com/python-pillow/Pillow -argon2-cffi # https://github.com/hynek/argon2_cffi +# Middleware for whitenoise/static files. whitenoise # https://github.com/evansd/whitenoise -redis # https://github.com/andymccurdy/redis-py -hiredis # https://github.com/redis/hiredis-py +# Login via oauth oauthlib # https://github.com/oauthlib/oauthlib -# Django -# ------------------------------------------------------------------------------ django>=4.2,<5.0 # pyup: < 3.3 # https://www.djangoproject.com/ -# Note that django-environ introduces a bug where secret keys are truncated if they have a # -# for now just update the requirements file manually, instead of pinning here. +# Read from .env files +# Note that django-environ 0.11+ introduces a bug where secret keys are truncated if they have a # # https://github.com/joke2k/django-environ/issues/497 -django-environ # https://github.com/joke2k/django-environ +django-environ<0.11.0 # https://github.com/joke2k/django-environ +# Turn on and off maintenance mode django-maintenance-mode # https://github.com/fabiocaccamo/django-maintenance-mode +# Model utilities django-model-utils # https://github.com/jazzband/django-model-utils +# login/auth via Drupal or other Social Application # 0.56 adds requirement for middleware - we can update later. django-allauth # https://github.com/pennersr/django-allauth +# Nicer forms django-crispy-forms # https://github.com/django-crispy-forms/django-crispy-forms -django-redis # https://github.com/jazzband/django-redis +# Protect all iews behind LoginRequired django-login-required-middleware # https://github.com/CleitonDeLima/django-login-required-middleware +# Back up the database before migrations/updates django-dbbackup # https://github.com/jazzband/django-dbbackup +# Time stamped models. django-extensions # https://github.com/django-extensions/django-extensions # Bootstrap5 templates for crispy-forms crispy-bootstrap5 # https://github.com/django-crispy-forms/crispy-bootstrap5 diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 3f35ff13..bdc0ee63 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -4,16 +4,10 @@ # # pip-compile requirements/requirements.in # -argon2-cffi==23.1.0 - # via -r requirements/requirements.in -argon2-cffi-bindings==21.2.0 - # via argon2-cffi asgiref==3.7.2 # via # -r requirements/requirements.in # django -async-timeout==4.0.2 - # via redis backports-zoneinfo==0.2.1 # via django build==1.0.3 @@ -25,9 +19,7 @@ certifi==2023.7.22 # -r requirements/requirements.in # requests cffi==1.16.0 - # via - # argon2-cffi-bindings - # cryptography + # via cryptography charset-normalizer==2.0.12 # via requests click==8.1.7 @@ -51,7 +43,6 @@ django==4.2.7 # django-extensions # django-filter # django-model-utils - # django-redis # django-tables2 django-allauth==0.54.0 # via -r requirements/requirements.in @@ -80,8 +71,6 @@ django-maintenance-mode==0.19.0 # via -r requirements/requirements.in django-model-utils==4.3.1 # via -r requirements/requirements.in -django-redis==5.4.0 - # via -r requirements/requirements.in django-simple-history==3.4.0 # via # -r requirements/requirements.in @@ -94,8 +83,6 @@ google-auth[requests]==2.11.0 # via # django-anvil-consortium-manager # google-auth -hiredis==2.2.3 - # via -r requirements/requirements.in idna==3.3 # via requests importlib-metadata==6.8.0 @@ -114,8 +101,6 @@ packaging==21.3 # via # build # plotly -pillow==10.1.0 - # via -r requirements/requirements.in pip-tools==7.3.0 # via -r requirements/requirements.in plotly==5.18.0 @@ -138,19 +123,12 @@ pyproject-hooks==1.0.0 # via build python-fsutil==0.11.0 # via django-maintenance-mode -python-slugify==8.0.1 - # via -r requirements/requirements.in python3-openid==3.2.0 # via django-allauth pytz==2023.3.post1 # via - # -r requirements/requirements.in # django-anvil-consortium-manager # django-dbbackup -redis==5.0.1 - # via - # -r requirements/requirements.in - # django-redis requests==2.31.0 # via # django-allauth @@ -169,8 +147,6 @@ sqlparse==0.4.4 # django tenacity==8.2.3 # via plotly -text-unidecode==1.3 - # via python-slugify tomli==2.0.1 # via # build diff --git a/requirements/test-requirements.in b/requirements/test-requirements.in index 1991b358..f34770c7 100644 --- a/requirements/test-requirements.in +++ b/requirements/test-requirements.in @@ -3,11 +3,19 @@ # Testing # ------------------------------------------------------------------------------ types-requests +# Pytest pytest # https://github.com/pytest-dev/pytest +# Pytest improvements - progress bar, etc. pytest-sugar # https://github.com/Frozenball/pytest-sugar +# Mock HTTP responses responses # https://github.com/getsentry/responses - for mocking HTTP responses +# Factories to create Django objects in tests factory-boy # https://github.com/FactoryBoy/factory_boy +# Test covarage coverage # https://github.com/nedbat/coveragepy +# Coverage of django templates django-coverage-plugin # https://github.com/nedbat/django_coverage_plugin +# Django plugin for pytest pytest-django # https://github.com/pytest-dev/pytest-django +# Test migrations django_test_migrations