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

Update libraries and refresh codebase #570

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"corsheaders.middleware.CorsMiddleware",
"allauth.account.middleware.AccountMiddleware",
]

# STATIC
Expand Down
35 changes: 17 additions & 18 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
pytz==2023.3.post1 # https://github.com/stub42/pytz
python-slugify==8.0.1 # https://github.com/un33k/python-slugify
Pillow==10.1.0 # https://github.com/python-pillow/Pillow
psycopg2==2.9.9 # https://github.com/psycopg/psycopg2
pytz==2023.4 # https://github.com/stub42/pytz
python-slugify==8.0.2 # https://github.com/un33k/python-slugify
Pillow==10.2.0 # https://github.com/python-pillow/Pillow
argon2-cffi==23.1.0 # https://github.com/hynek/argon2_cffi
celery==5.3.4 # pyup: < 6.0 # https://github.com/celery/celery
django-celery-beat==2.5.0 # https://github.com/celery/django-celery-beat
flower==2.0.0 # https://github.com/mher/flower
ipython==8.14.0
celery==5.3.6 # pyup: < 6.0 # https://github.com/celery/celery
django-celery-beat==2.1.0 # https://github.com/celery/django-celery-beat
flower==2.0.1 # https://github.com/mher/flower
ipython==8.21.0

# Django
# ------------------------------------------------------------------------------
django==4.2.6 # pyup: < 4.1 # https://www.djangoproject.com/
django-environ==0.10.0 # https://github.com/joke2k/django-environ
django==5.0.1 # pyup: < 4.1 # https://www.djangoproject.com/
django-environ==0.11.2 # https://github.com/joke2k/django-environ
django-extensions==3.2.3 # https://github.com/django-extensions/django-extensions
django-model-utils==4.3.1 # https://github.com/jazzband/django-model-utils
django-allauth==0.54.0 # https://github.com/pennersr/django-allauth
django-crispy-forms==2.0 # https://github.com/django-crispy-forms/django-crispy-forms
crispy-bootstrap5==0.7 # https://github.com/django-crispy-forms/crispy-bootstrap5
django-allauth==0.60.1 # https://github.com/pennersr/django-allauth
django-crispy-forms==2.1 # https://github.com/django-crispy-forms/django-crispy-forms
crispy-bootstrap5==2023.10 # https://github.com/django-crispy-forms/crispy-bootstrap5

# project-specific
beautifulsoup4==4.12.2
boto3==1.28.70
beautifulsoup4==4.12.3
boto3==1.34.31
djangorestframework-datatables==0.7.0
djangorestframework==3.14.0
pycurl==7.45.2
PyGithub==1.59.0
python-slugify==8.0.1
scrapy==2.11.0
tqdm==4.65.0
PyGithub==2.2.0
tqdm==4.66.1
xmltodict==0.13.0
django-cors-headers==4.3.1
27 changes: 13 additions & 14 deletions requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

Werkzeug==3.0.1 # https://github.com/pallets/werkzeug
ipdb==0.13.13 # https://github.com/gotcha/ipdb
psycopg2==2.9.6 # https://github.com/psycopg/psycopg2
watchfiles==0.21.0 # https://github.com/samuelcolvin/watchfiles

# Testing
# ------------------------------------------------------------------------------
mypy==1.4.1 # https://github.com/python/mypy
django-stubs==4.2.3 # https://github.com/typeddjango/django-stubs
pytest==7.4.2 # https://github.com/pytest-dev/pytest
mypy==1.8.0 # https://github.com/python/mypy
django-stubs==4.2.7 # https://github.com/typeddjango/django-stubs
pytest==8.0.0 # https://github.com/pytest-dev/pytest
pytest-sugar==0.9.7 # https://github.com/Frozenball/pytest-sugar
types-requests # maybe instead, we should add `mypy --install-types` to the dockerfile?
types-xmltodict
Expand All @@ -21,24 +20,24 @@ sphinx-autobuild==2021.3.14 # https://github.com/GaretJax/sphinx-autobuild

# Code quality
# ------------------------------------------------------------------------------
flake8==6.1.0 # https://github.com/PyCQA/flake8
flake8-isort==6.0.0 # https://github.com/gforcada/flake8-isort
coverage==7.3.2 # https://github.com/nedbat/coveragepy
black==23.10.1 # https://github.com/psf/black
flake8==7.0.0 # https://github.com/PyCQA/flake8
flake8-isort==6.1.1 # https://github.com/gforcada/flake8-isort
coverage==7.4.1 # https://github.com/nedbat/coveragepy
black==24.1.1 # https://github.com/psf/black
pylint-django==2.5.5 # https://github.com/PyCQA/pylint-django
pylint-celery==0.3 # https://github.com/PyCQA/pylint-celery
pre-commit==3.5.0 # https://github.com/pre-commit/pre-commit
pre-commit==3.6.0 # https://github.com/pre-commit/pre-commit

# Django
# ------------------------------------------------------------------------------
factory-boy==3.3.0 # https://github.com/FactoryBoy/factory_boy

django-debug-toolbar==4.1.0 # https://github.com/jazzband/django-debug-toolbar
django-debug-toolbar==4.2.0 # https://github.com/jazzband/django-debug-toolbar
django-coverage-plugin==3.1.0 # https://github.com/nedbat/django_coverage_plugin
pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django
pytest-django==4.8.0 # https://github.com/pytest-dev/pytest-django

# Redis

redis==4.6.0 # https://github.com/redis/redis-py
hiredis==2.2.3 # https://github.com/redis/hiredis-py
django-redis==5.3.0 # https://github.com/jazzband/django-redis
redis==5.0.1 # https://github.com/redis/redis-py
hiredis==2.3.2 # https://github.com/redis/hiredis-py
django-redis==5.4.0 # https://github.com/jazzband/django-redis
2 changes: 1 addition & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-r base.txt

gunicorn==21.2.0 # https://github.com/benoitc/gunicorn
psycopg2==2.9.6 # https://github.com/psycopg/psycopg2
psycopg2==2.9.9 # https://github.com/psycopg/psycopg2
Collectfast==2.2.0 # https://github.com/antonagestam/collectfast
sentry-sdk==1.31.0 # https://github.com/getsentry/sentry-python

Expand Down