From e17273391d5321965e1adb1c589f56d231145ba4 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 19 Feb 2023 18:53:04 +0100 Subject: [PATCH] Update dependencies to those on Debian Bookworm --- apps/participation/forms.py | 3 ++- requirements.txt | 34 +++++++++++++++++----------------- tox.ini | 19 ++++++++++--------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/apps/participation/forms.py b/apps/participation/forms.py index 841ce96..a134303 100644 --- a/apps/participation/forms.py +++ b/apps/participation/forms.py @@ -13,7 +13,8 @@ from django.core.exceptions import ValidationError from django.core.validators import FileExtensionValidator from django.utils import formats from django.utils.translation import gettext_lazy as _ -from PyPDF3 import PdfFileReader +from pypdf import PdfFileReader + from registration.models import VolunteerRegistration from .models import Note, Participation, Passage, Pool, Solution, Synthesis, Team, Tournament diff --git a/requirements.txt b/requirements.txt index d91fb6b..aa3c076 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,23 @@ Django>=3.2,<4.0 django-bootstrap-datepicker-plus~=4.0 -django-cas-server~=1.3 -django-crispy-forms~=1.9 -django-extensions~=3.0 -django-filter~=2.4 -django-haystack~=3.0 -django-mailer~=2.1 -django-phonenumber-field~=5.0.0 -django-polymorphic~=3.0 +django-cas-server~=2.0 +django-crispy-forms~=1.14 +django-extensions~=3.2 +django-filter~=22.1 +django-haystack~=3.2 +django-mailer~=2.2 +django-phonenumber-field~=7.0 +django-polymorphic~=3.1 django-tables2~=2.4 -djangorestframework~=3.12 +djangorestframework~=3.14 django-rest-polymorphic~=0.1 gunicorn~=20.1 -matrix-nio~=0.16 -phonenumbers~=8.9.10 -psycopg2-binary~=2.8 -PyPDF3~=1.0.2 -ipython~=7.19.0 -python-magic>=0.4.22 -requests~=2.25.1 -sympasoap~=1.0 +matrix-nio~=0.20 +phonenumbers~=8.12.57 +psycopg2-binary~=2.9.5 +pypdf~=3.4 +ipython~=8.5.0 +python-magic~=0.4.26 +requests~=2.28.1 +sympasoap~=1.1 whoosh~=2.7 \ No newline at end of file diff --git a/tox.ini b/tox.ini index 10b9c5e..db7a21e 100644 --- a/tox.ini +++ b/tox.ini @@ -13,17 +13,18 @@ deps = coverage Django>=3.2,<4.0 django-bootstrap-datepicker-plus~=4.0 - django-crispy-forms~=1.9 - django-filter~=2.4 - django-haystack~=3.0 - django-phonenumber-field~=5.0.0 - django-polymorphic~=3.0 + django-crispy-forms~=1.14 + django-filter~=22.1 + django-haystack~=3.2 + django-phonenumber-field~=7.0 + django-polymorphic~=3.1 django-tables2~=2.4 - djangorestframework~=3.12 + djangorestframework~=3.14 django-rest-polymorphic~=0.1 - phonenumbers~=8.9.10 - PyPDF3~=1.0.2 - python-magic==0.4.22 + phonenumbers~=8.12.57 + pypdf~=3.4 + python-magic~=0.4.26 + requests~=2.28.1 whoosh~=2.7 commands = coverage run --source=apps,tfjm ./manage.py test apps/ tfjm/