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

Upgrade django, jinja2, cryptography, transformers #296

Merged
merged 2 commits into from
Feb 5, 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
7 changes: 5 additions & 2 deletions backend/docker/requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# main dependencies for the backend application
celery
Django
cryptography>=41.0.6
Django>=4.2.7
django-allauth
django-configurations
django-extensions
Expand All @@ -11,16 +12,18 @@ django-formtools
django-rest-swagger
django-webpack-loader
djangorestframework-jwt
jinja2>=3.1.3
openpyxl
pandas
Pillow
pyodbc
redis
requests
scikit-learn
sentence_transformers
sentence_transformers==2.2.1 # starting at 2.3.0 sentence_transformers requires upgrading torch to 1.11.0 - which appears to be a significant change
statsmodels
sqlalchemy
transformers>=4.36.0
xlrd

# dependencies for code formatters, dependency management, testing, etc.
Expand Down
100 changes: 52 additions & 48 deletions backend/docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# pip-compile docker/requirements.in
# pip-compile requirements.in
#
amqp==5.1.1
# via kombu
Expand All @@ -17,12 +17,12 @@ backports-zoneinfo==0.2.1
billiard==3.6.4.0
# via celery
black==21.11b1
# via -r docker/requirements.in
# via -r requirements.in
build==1.0.3
# via pip-tools
celery==5.2.7
# via
# -r docker/requirements.in
# -r requirements.in
# django-celery-results
certifi==2021.10.8
# via requests
Expand All @@ -41,7 +41,6 @@ click==8.0.3
# click-repl
# nltk
# pip-tools
# sacremoses
click-didyoumean==0.3.0
# via celery
click-plugins==1.1.1
Expand All @@ -55,18 +54,20 @@ coreapi==2.3.3
coreschema==0.0.4
# via coreapi
coverage==6.1.2
# via -r docker/requirements.in
cryptography==35.0.0
# via pyjwt
# via -r requirements.in
cryptography==42.0.2
# via
# -r requirements.in
# pyjwt
defusedxml==0.7.1
# via python3-openid
distlib==0.3.3
# via virtualenv
dj-rest-auth==3.0.0
# via -r docker/requirements.in
django==4.2
# via -r requirements.in
django==4.2.9
# via
# -r docker/requirements.in
# -r requirements.in
# dj-rest-auth
# django-allauth
# django-celery-results
Expand All @@ -76,29 +77,29 @@ django==4.2
# django-postgres-stats
# djangorestframework
django-allauth==0.54.0
# via -r docker/requirements.in
# via -r requirements.in
django-celery-results==2.5.1
# via -r docker/requirements.in
# via -r requirements.in
django-configurations==2.4.1
# via -r docker/requirements.in
# via -r requirements.in
django-extensions==3.2.1
# via -r docker/requirements.in
# via -r requirements.in
django-formtools==2.4
# via -r docker/requirements.in
# via -r requirements.in
django-postgres-stats==1.0.0
# via -r docker/requirements.in
# via -r requirements.in
django-rest-swagger==2.2.0
# via -r docker/requirements.in
# via -r requirements.in
django-webpack-loader==1.8.1
# via -r docker/requirements.in
# via -r requirements.in
djangorestframework==3.14.0
# via
# dj-rest-auth
# django-rest-swagger
djangorestframework-jwt==1.11.0
# via -r docker/requirements.in
# via -r requirements.in
docformatter==1.4
# via -r docker/requirements.in
# via -r requirements.in
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.2.0
Expand All @@ -109,12 +110,15 @@ filelock==3.4.0
# transformers
# virtualenv
flake8==4.0.1
# via -r docker/requirements.in
# via -r requirements.in
fsspec==2023.12.2
# via huggingface-hub
greenlet==1.1.2
# via sqlalchemy
huggingface-hub==0.2.1
huggingface-hub==0.20.3
# via
# sentence-transformers
# tokenizers
# transformers
identify==2.3.6
# via pre-commit
Expand All @@ -125,15 +129,16 @@ importlib-metadata==7.0.1
iniconfig==1.1.1
# via pytest
isort==5.10.1
# via -r docker/requirements.in
# via -r requirements.in
itypes==1.2.0
# via coreapi
jinja2==3.0.3
# via coreschema
jinja2==3.1.3
# via
# -r requirements.in
# coreschema
joblib==1.3.2
# via
# nltk
# sacremoses
# scikit-learn
kombu==5.2.4
# via celery
Expand Down Expand Up @@ -162,7 +167,7 @@ oauthlib==3.2.2
openapi-codec==1.3.2
# via django-rest-swagger
openpyxl==3.0.9
# via -r docker/requirements.in
# via -r requirements.in
packaging==21.2
# via
# build
Expand All @@ -171,26 +176,26 @@ packaging==21.2
# transformers
pandas==1.4.3
# via
# -r docker/requirements.in
# -r requirements.in
# statsmodels
pathspec==0.9.0
# via black
patsy==0.5.2
# via statsmodels
pillow==10.2.0
# via
# -r docker/requirements.in
# -r requirements.in
# torchvision
pip-tools==7.3.0
# via -r docker/requirements.in
# via -r requirements.in
platformdirs==2.4.0
# via
# black
# virtualenv
pluggy==1.0.0
# via pytest
pre-commit==2.15.0
# via -r docker/requirements.in
# via -r requirements.in
prompt-toolkit==3.0.22
# via click-repl
psycopg2==2.9.2
Expand All @@ -207,15 +212,15 @@ pyjwt[crypto]==1.7.1
# djangorestframework-jwt
# pyjwt
pyodbc==4.0.35
# via -r docker/requirements.in
# via -r requirements.in
pyparsing==2.4.7
# via packaging
pyproject-hooks==1.0.0
# via build
pytest==7.3.1
# via pytest-django
pytest-django==4.5.2
# via -r docker/requirements.in
# via -r requirements.in
python-dateutil==2.8.2
# via pandas
python3-openid==3.2.0
Expand All @@ -231,36 +236,35 @@ pyyaml==6.0
# pre-commit
# transformers
redis==5.0.1
# via -r docker/requirements.in
# via -r requirements.in
regex==2021.11.10
# via
# black
# nltk
# sacremoses
# transformers
requests==2.28.2
# via
# -r docker/requirements.in
# -r requirements.in
# coreapi
# django-allauth
# huggingface-hub
# requests-oauthlib
# transformers
requests-oauthlib==1.3.0
# via django-allauth
sacremoses==0.0.46
safetensors==0.4.2
# via transformers
scikit-learn==1.1.3
# via
# -r docker/requirements.in
# -r requirements.in
# sentence-transformers
scipy==1.9.1
# via
# scikit-learn
# sentence-transformers
# statsmodels
sentence-transformers==2.2.0
# via -r docker/requirements.in
sentence-transformers==2.2.1
# via -r requirements.in
sentencepiece==0.1.96
# via sentence-transformers
simplejson==3.17.6
Expand All @@ -270,17 +274,16 @@ six==1.16.0
# click-repl
# patsy
# python-dateutil
# sacremoses
# virtualenv
sqlalchemy==1.4.28
# via -r docker/requirements.in
# via -r requirements.in
sqlparse==0.4.2
# via django
statsmodels==0.13.1
# via -r docker/requirements.in
# via -r requirements.in
threadpoolctl==3.0.0
# via scikit-learn
tokenizers==0.10.3
tokenizers==0.15.1
# via transformers
toml==0.10.2
# via pre-commit
Expand All @@ -301,11 +304,12 @@ tqdm==4.62.3
# via
# huggingface-hub
# nltk
# sacremoses
# sentence-transformers
# transformers
transformers==4.14.1
# via sentence-transformers
transformers==4.37.2
# via
# -r requirements.in
# sentence-transformers
typing-extensions==4.0.0
# via
# black
Expand All @@ -329,7 +333,7 @@ wcwidth==0.2.5
wheel==0.37.0
# via pip-tools
xlrd==2.0.1
# via -r docker/requirements.in
# via -r requirements.in
zipp==3.17.0
# via importlib-metadata

Expand Down
Loading