Skip to content

Commit

Permalink
Merge pull request #394 from ImperialCollegeLondon/dependency_upgrade
Browse files Browse the repository at this point in the history
updating requirements files
  • Loading branch information
Sahil590 authored Oct 15, 2024
2 parents 081c863 + 44b56d5 commit 21dd203
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 36 deletions.
16 changes: 16 additions & 0 deletions djangomain/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,5 +288,21 @@
)
)

# Staticfiles finders for locating dash app assets and related files
STATICFILES_FINDERS = [
"django.contrib.staticfiles.finders.FileSystemFinder",
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
"django_plotly_dash.finders.DashAssetFinder",
"django_plotly_dash.finders.DashComponentFinder",
"django_plotly_dash.finders.DashAppDirectoryFinder",
]

# Plotly components containing static content that should
# be handled by the Django staticfiles infrastructure

PLOTLY_COMPONENTS = [
# Common components (ie within dash itself) are automatically added
# django-plotly-dash components
"dpd_components"
]
DATA_UPLOAD_MAX_NUMBER_FIELDS = None
50 changes: 36 additions & 14 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ asgiref==3.8.1
# django
blinker==1.8.2
# via flask
build==1.2.2
build==1.2.2.post1
# via pip-tools
certifi==2024.8.30
# via requests
cfgv==3.4.0
# via pre-commit
channels==4.1.0
# via django-plotly-dash
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via
# djlint
Expand All @@ -28,11 +32,11 @@ colorama==0.4.6
# click
# djlint
# tqdm
crispy-bootstrap5==2024.2
crispy-bootstrap5==2024.10
# via Paricia (pyproject.toml)
cssbeautifier==1.15.1
# via djlint
dash==2.9.3
dash==2.18.1
# via
# dash-ag-grid
# dash-bootstrap-components
Expand All @@ -47,7 +51,7 @@ dash-html-components==2.0.0
# via dash
dash-table==5.0.0
# via dash
distlib==0.3.8
distlib==0.3.9
# via virtualenv
django==5.1.2
# via
Expand Down Expand Up @@ -80,7 +84,7 @@ django-filter==24.3
# via Paricia (pyproject.toml)
django-guardian==2.4.0
# via Paricia (pyproject.toml)
django-plotly-dash==2.4.0
django-plotly-dash==2.4.3
# via Paricia (pyproject.toml)
django-tables2==2.7.0
# via Paricia (pyproject.toml)
Expand Down Expand Up @@ -115,12 +119,16 @@ html-tag-names==0.1.2
# via djlint
html-void-elements==0.1.0
# via djlint
huey==2.5.1
huey==2.5.2
# via Paricia (pyproject.toml)
identify==2.6.1
# via pre-commit
idna==3.10
# via Paricia (pyproject.toml)
# via
# Paricia (pyproject.toml)
# requests
importlib-metadata==8.5.0
# via dash
inflection==0.5.1
# via drf-yasg
itsdangerous==2.2.0
Expand All @@ -141,12 +149,14 @@ markupsafe==3.0.1
# via
# jinja2
# werkzeug
model-bakery==1.19.5
model-bakery==1.20.0
# via Paricia (pyproject.toml)
mypy==1.11.2
mypy==1.12.0
# via Paricia (pyproject.toml)
mypy-extensions==1.0.0
# via mypy
nest-asyncio==1.6.0
# via dash
nodeenv==1.9.1
# via pre-commit
numpy==2.1.2
Expand All @@ -160,7 +170,7 @@ packaging==24.1
# build
# drf-yasg
# plotly
pandas==2.2.2
pandas==2.2.3
# via Paricia (pyproject.toml)
pathspec==0.12.1
# via djlint
Expand All @@ -174,15 +184,15 @@ plotly==5.24.1
# via
# dash
# django-plotly-dash
pre-commit==3.8.0
pre-commit==4.0.1
# via Paricia (pyproject.toml)
psycopg2==2.9.9
# via Paricia (pyproject.toml)
pycountry==24.6.1
# via Paricia (pyproject.toml)
pyjwt==2.9.0
# via djangorestframework-simplejwt
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via
# build
# pip-tools
Expand All @@ -201,13 +211,18 @@ pyyaml==6.0.2
# pre-commit
regex==2024.9.11
# via djlint
requests==2.32.3
# via dash
retrying==1.3.4
# via dash
ruff==0.6.9
# via Paricia (pyproject.toml)
six==1.16.0
# via
# cssbeautifier
# jsbeautifier
# python-dateutil
# retrying
sqlparse==0.5.1
# via django
tenacity==9.0.0
Expand All @@ -217,25 +232,32 @@ tqdm==4.66.5
# Paricia (pyproject.toml)
# djlint
typing-extensions==4.12.2
# via mypy
tzdata==2024.1
# via
# dash
# mypy
tzdata==2024.2
# via
# django
# pandas
uritemplate==4.1.1
# via
# Paricia (pyproject.toml)
# drf-yasg
urllib3==2.2.3
# via requests
virtualenv==20.26.6
# via pre-commit
werkzeug==3.0.4
# via
# dash
# django-plotly-dash
# flask
wheel==0.44.0
# via pip-tools
whitenoise==6.7.0
# via Paricia (pyproject.toml)
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
46 changes: 32 additions & 14 deletions requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ certifi==2024.8.30
# via requests
channels==4.1.0
# via django-plotly-dash
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via
Expand All @@ -30,9 +30,9 @@ colorama==0.4.6
# griffe
# mkdocs
# mkdocs-material
crispy-bootstrap5==2024.2
crispy-bootstrap5==2024.10
# via Paricia (pyproject.toml)
dash==2.9.3
dash==2.18.1
# via
# dash-ag-grid
# dash-bootstrap-components
Expand Down Expand Up @@ -77,7 +77,7 @@ django-filter==24.3
# via Paricia (pyproject.toml)
django-guardian==2.4.0
# via Paricia (pyproject.toml)
django-plotly-dash==2.4.0
django-plotly-dash==2.4.3
# via Paricia (pyproject.toml)
django-tables2==2.7.0
# via Paricia (pyproject.toml)
Expand All @@ -102,14 +102,16 @@ flask==3.0.3
# django-plotly-dash
ghp-import==2.1.0
# via mkdocs
griffe==1.3.2
griffe==1.4.1
# via mkdocstrings-python
huey==2.5.1
huey==2.5.2
# via Paricia (pyproject.toml)
idna==3.10
# via
# Paricia (pyproject.toml)
# requests
importlib-metadata==8.5.0
# via dash
inflection==0.5.1
# via drf-yasg
itsdangerous==2.2.0
Expand Down Expand Up @@ -171,18 +173,20 @@ mkdocs-glightbox==0.4.0
# via Paricia (pyproject.toml)
mkdocs-literate-nav==0.6.1
# via Paricia (pyproject.toml)
mkdocs-material==9.5.39
mkdocs-material==9.5.40
# via Paricia (pyproject.toml)
mkdocs-material-extensions==1.3.1
# via mkdocs-material
mkdocs-section-index==0.3.9
# via Paricia (pyproject.toml)
mkdocstrings==0.26.1
mkdocstrings==0.26.2
# via
# Paricia (pyproject.toml)
# mkdocstrings-python
mkdocstrings-python==1.11.1
mkdocstrings-python==1.12.1
# via Paricia (pyproject.toml)
nest-asyncio==1.6.0
# via dash
numpy==2.1.2
# via
# Paricia (pyproject.toml)
Expand All @@ -196,7 +200,7 @@ packaging==24.1
# plotly
paginate==0.5.7
# via mkdocs-material
pandas==2.2.2
pandas==2.2.3
# via Paricia (pyproject.toml)
pathspec==0.12.1
# via mkdocs
Expand Down Expand Up @@ -244,28 +248,42 @@ pyyaml-env-tag==0.1
regex==2024.9.11
# via mkdocs-material
requests==2.32.3
# via mkdocs-material
# via
# dash
# mkdocs-material
retrying==1.3.4
# via dash
six==1.16.0
# via python-dateutil
# via
# python-dateutil
# retrying
sqlparse==0.5.1
# via django
tenacity==9.0.0
# via plotly
tzdata==2024.1
typing-extensions==4.12.2
# via dash
tzdata==2024.2
# via
# django
# pandas
uritemplate==4.1.1
# via
# Paricia (pyproject.toml)
# drf-yasg
urllib3==2.2.2
urllib3==2.2.3
# via requests
watchdog==5.0.3
# via mkdocs
werkzeug==3.0.4
# via
# dash
# django-plotly-dash
# flask
whitenoise==6.7.0
# via Paricia (pyproject.toml)
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
Loading

0 comments on commit 21dd203

Please sign in to comment.