From 330223017f86a1f90f8ea99f35568198d2506993 Mon Sep 17 00:00:00 2001 From: "K.D. Sunera Avinash Chandrasiri" Date: Wed, 29 Jan 2025 13:35:31 +0530 Subject: [PATCH] Bump dependencies --- .pre-commit-config.yaml | 2 +- apps/dashboard/views.py | 4 +-- requirements.txt | 58 ++++++++++++++++++++--------------------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5020aa2..05d706a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ exclude: 'docs|node_modules|migrations|.git|.tox' -default_stages: [ commit ] +default_stages: [ pre-commit ] fail_fast: true repos: diff --git a/apps/dashboard/views.py b/apps/dashboard/views.py index 4c29457..55ead58 100644 --- a/apps/dashboard/views.py +++ b/apps/dashboard/views.py @@ -12,7 +12,7 @@ class DashboardView(TemplateView): def dispatch(self, request, *args, **kwargs): return super().dispatch(request, *args, **kwargs) - def get_context_data(self): - context = super().get_context_data() + def get_context_data(self, **kwargs): + context = super().get_context_data(**kwargs) context["number_of_users"] = User.objects.count() return context diff --git a/requirements.txt b/requirements.txt index ec6d580..ac971cd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,46 +1,46 @@ # ---------------------------------------- Django and Core Libraries -django==5.0.3 -django-environ==0.11.2 -django-model-utils==4.4.0 -django-filter==24.1 -Pillow==10.2.0 -psycopg2-binary==2.9.9 +django==5.1.5 +django-environ==0.12.0 +django-model-utils==5.0.0 +django-filter==24.3 +Pillow==11.1.0 +psycopg2-binary==2.9.10 argon2-cffi==23.1.0 -gunicorn==21.2.0 +gunicorn==23.0.0 # ---------------------------------------- Django REST Framework and Authentication -djangorestframework==3.14.0 -django-cors-headers==4.3.1 -drf-spectacular==0.27.1 -drf-standardized-errors[openapi]==0.13.0 -dj-rest-auth==5.0.2 -djangorestframework-simplejwt==5.3.1 +djangorestframework==3.15.2 +django-cors-headers==4.6.0 +drf-spectacular==0.28.0 +drf-standardized-errors[openapi]==0.14.1 +dj-rest-auth==7.0.1 +djangorestframework-simplejwt==5.4.0 # ---------------------------------------- Django Admin -django-admin-interface==0.28.6 -django-import-export==3.3.7 +django-admin-interface==0.29.4 +django-import-export==4.3.4 # ---------------------------------------- Third-Party Integrations -django-anymail==10.3 -sentry-sdk==1.42.0 -django-constance[database]==3.1.0 -django-storages[boto3]==1.14.2 -celery==5.3.6 +django-anymail==12.0 +sentry-sdk==2.20.0 +django-constance[database]==4.3.1 +django-storages[boto3]==1.14.4 +celery==5.4.0 django-celery-results==2.5.1 -django_celery_beat==2.6.0 +django_celery_beat==2.7.0 # ---------------------------------------- Testing and Code Quality -pre-commit==3.6.2 -mypy==1.9.0 -djangorestframework-stubs==3.14.5 -django-stubs==4.2.7 -types-python-dateutil==2.9.0.20240316 -types-requests==2.31.0.20240311 +pre-commit==4.1.0 +mypy==1.14.1 +djangorestframework-stubs==3.15.2 +django-stubs==5.1.2 +types-python-dateutil==2.9.0.20241206 +types-requests==2.32.0.20241016 # ---------------------------------------- Debugging and Development Tools -django-debug-toolbar==4.3.0 +django-debug-toolbar==5.0.1 django-extensions==3.2.3 -django-structlog==8.0.0 +django-structlog==9.0.0 # ---------------------------------------- Debugging and Development Tools pip-upgrader==1.4.15