Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused dependencies #305

Merged
merged 12 commits into from
Nov 29, 2023
11 changes: 4 additions & 7 deletions requirements/dev-requirements.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
-c requirements.txt
-c test-requirements.txt

Werkzeug # https://github.com/pallets/werkzeug
amstilp marked this conversation as resolved.
Show resolved Hide resolved
# Interactive debugging.
ipdb # https://github.com/gotcha/ipdb

# Testing
# Type checking
# ------------------------------------------------------------------------------
mypy # https://github.com/python/mypy
django-stubs # https://github.com/typeddjango/django-stubs
Expand All @@ -23,11 +23,8 @@ black # https://github.com/psf/black
pylint-django # https://github.com/PyCQA/pylint-django
pre-commit # https://github.com/pre-commit/pre-commit

# Security
# ------------------------------------------------------------------------------
safety # https://github.com/pyupio/safety
setuptools # https://github.com/pypa/setuptools

# Django
# ------------------------------------------------------------------------------
django-debug-toolbar # https://github.com/jazzband/django-debug-toolbar

Werkzeug # https://github.com/pallets/werkzeug
17 changes: 3 additions & 14 deletions requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ click==8.1.3
# via
# -c requirements/requirements.txt
# black
# safety
colorama==0.4.6
# via sphinx-autobuild
decorator==5.1.1
Expand All @@ -67,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 @@ -128,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 @@ -178,19 +173,14 @@ pytz==2023.3.post1
# -c requirements/requirements.txt
# babel
pyyaml==6.0.1
# via pre-commit
# via
# -c requirements/test-requirements.txt
# pre-commit
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
15 changes: 8 additions & 7 deletions requirements/requirements.in
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
# For dependency management
pip-tools

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
oauthlib # https://github.com/oauthlib/oauthlib

# Django
# ------------------------------------------------------------------------------
django>=4.2,<5.0 # https://www.djangoproject.com/
# Read from .env files
django-environ # 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 using Drupal or other SocialApplications.
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 views behind LoginRequired by default.
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
# For time stamped models.
django-extensions # https://github.com/django-extensions/django-extensions
Expand Down
74 changes: 25 additions & 49 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
#
# pip-compile requirements/requirements.in
#
argon2-cffi==23.1.0
# via -r requirements.in
argon2-cffi-bindings==21.2.0
# via argon2-cffi
asgiref==3.7.2
# via django
async-timeout==4.0.2
# via redis
attrs==22.1.0
# via jsonschema
backports-zoneinfo==0.2.1
Expand All @@ -22,12 +16,10 @@ cachetools==5.2.0
# via google-auth
certifi==2023.11.17
# via
# -r requirements.in
# -r requirements/requirements.in
# requests
cffi==1.15.0
# via
# argon2-cffi-bindings
# cryptography
# via cryptography
chardet==5.1.0
# via pronto
charset-normalizer==2.0.12
Expand All @@ -42,53 +34,50 @@ defusedxml==0.7.1
# via python3-openid
django==4.2.7
# via
# -r requirements.in
# -r requirements/requirements.in
# crispy-bootstrap5
# django-allauth
# django-anvil-consortium-manager
# django-dbbackup
# django-extensions
# django-filter
# django-model-utils
# django-redis
# django-tables2
django-allauth==0.54.0
# via -r requirements.in
# via -r requirements/requirements.in
django-anvil-consortium-manager @ git+https://github.com/UW-GAC/[email protected]
# via -r requirements.in
# via -r requirements/requirements.in
django-autocomplete-light==3.9.4
# via django-anvil-consortium-manager
django-crispy-forms==1.14.0
# via
# -r requirements.in
# -r requirements/requirements.in
# crispy-bootstrap5
# django-anvil-consortium-manager
django-dbbackup==4.0.1
# via -r requirements.in
# via -r requirements/requirements.in
django-environ==0.8.1
# via -r requirements.in
# via -r requirements/requirements.in
django-extensions==3.2.3
# via
# -r requirements.in
# -r requirements/requirements.in
# django-anvil-consortium-manager
django-filter==23.3
# via django-anvil-consortium-manager
django-login-required-middleware==0.8.0
# via -r requirements.in
# via -r requirements/requirements.in
django-maintenance-mode==0.16.3
# via -r requirements.in
# via -r requirements/requirements.in
django-model-utils==4.2.0
# via -r requirements.in
django-redis==5.2.0
# via -r requirements.in
# via -r requirements/requirements.in
django-simple-history==3.4.0
# via
# -r requirements.in
# -r requirements/requirements.in
# django-anvil-consortium-manager
django-tables2==2.4.1
# via django-anvil-consortium-manager
django-tree-queries==0.15.0
# via -r requirements.in
# via -r requirements/requirements.in
fastobo==0.12.2
# via pronto
fontawesomefree==6.2.1
Expand All @@ -97,18 +86,16 @@ google-auth[requests]==2.14.1
# via
# django-anvil-consortium-manager
# google-auth
hiredis==2.2.3
# via -r requirements.in
idna==3.3
# via requests
importlib-metadata==5.2.0
# via build
importlib-resources==5.10.0
# via jsonschema
jsonschema==4.16.0
# via -r requirements.in
# via -r requirements/requirements.in
mysqlclient==2.1.0
# via -r requirements.in
# via -r requirements/requirements.in
networkx==2.8.8
# via
# django-anvil-consortium-manager
Expand All @@ -119,22 +106,20 @@ numpy==1.24.2
# pandas
oauthlib==3.2.2
# via
# -r requirements.in
# -r requirements/requirements.in
# requests-oauthlib
packaging==21.3
# via build
pandas==2.0.3
# via -r requirements.in
pillow==10.1.0
# via -r requirements.in
# via -r requirements/requirements.in
pip-tools==7.3.0
# via -r requirements.in
# via -r requirements/requirements.in
pkgutil-resolve-name==1.3.10
# via jsonschema
plotly==5.13.0
# via django-anvil-consortium-manager
pronto==2.5.2
# via -r requirements.in
# via -r requirements/requirements.in
pyasn1==0.4.8
# via
# pyasn1-modules
Expand All @@ -159,23 +144,16 @@ python-dateutil==2.8.2
# pronto
python-fsutil==0.6.1
# via django-maintenance-mode
python-slugify==6.1.2
# via -r requirements.in
python3-openid==3.2.0
# via django-allauth
pytz==2023.3.post1
# via
# -r requirements.in
# django-anvil-consortium-manager
# django-dbbackup
# pandas
redis==4.5.4
# via
# -r requirements.in
# django-redis
requests==2.31.0
# via
# -r requirements.in
# -r requirements/requirements.in
# django-allauth
# requests-oauthlib
requests-oauthlib==1.3.1
Expand All @@ -189,14 +167,12 @@ six==1.16.0
# python-dateutil
sqlparse==0.4.4
# via
# -r requirements.in
# -r requirements/requirements.in
# django
tablib==3.5.0
# via -r requirements.in
# via -r requirements/requirements.in
tenacity==8.2.1
# via plotly
text-unidecode==1.3
# via python-slugify
tomli==2.0.1
# via
# build
Expand All @@ -208,12 +184,12 @@ tzdata==2023.3
# via pandas
urllib3==2.1.0
# via
# -r requirements.in
# -r requirements/requirements.in
# requests
wheel==0.41.3
# via pip-tools
whitenoise==6.6.0
# via -r requirements.in
# via -r requirements/requirements.in
zipp==3.10.0
# via
# importlib-metadata
Expand Down
12 changes: 9 additions & 3 deletions requirements/test-requirements.in
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
-c requirements.txt

# Pytest
pytest # https://github.com/pytest-dev/pytest
# Pytest improvements - progress bar, etc.
pytest-sugar # https://github.com/Frozenball/pytest-sugar
responses # https://github.com/getsentry/responses - for mocking HTTP responses
# Mock HTTP responses
responses # https://github.com/getsentry/responses
# Factories to create Django objects.
factory-boy # https://github.com/FactoryBoy/factory_boy
# Django plugin for pytest.
pytest-django # https://github.com/pytest-dev/pytest-django
# For testing migrations
# Test migrations.
django-test-migrations
# For freezing time in tests
# Freeze time in tests.
freezegun # https://github.com/spulec/freezegun
# Coverage of django templates
django-coverage-plugin # https://github.com/nedbat/django_coverage_plugin
# Test coverage.
coverage