Skip to content

Commit

Permalink
Merge pull request #374 from UW-GAC/maint/remove-unused-dependencies
Browse files Browse the repository at this point in the history
Remove unused dependencies
  • Loading branch information
amstilp authored Nov 30, 2023
2 parents ee509a3 + 36c6534 commit e8f13cc
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 52 deletions.
1 change: 0 additions & 1 deletion requirements/dev-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 2 additions & 13 deletions requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -230,7 +220,6 @@ tomli==2.0.1
# -c requirements/test-requirements.txt
# black
# django-stubs
# dparse
# ipdb
# mypy
# pylint
Expand Down
25 changes: 12 additions & 13 deletions requirements/requirements.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down
26 changes: 1 addition & 25 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 8 additions & 0 deletions requirements/test-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e8f13cc

Please sign in to comment.