Skip to content

Commit

Permalink
Update Django to 4.2.8 and python to 3.11. Required small change to
Browse files Browse the repository at this point in the history
"ALLOWED_HOSTS" in settings.py and change versions in requirements.txt.
Closes #69.
  • Loading branch information
elserj committed Dec 7, 2023
1 parent 3c03114 commit 6e05f94
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.11

ENV PYTHONUNBUFFERED 1
ENV DJANGO_ENV local
Expand All @@ -9,4 +9,4 @@ RUN pip install -r /app/requirements.txt
COPY . /app/
WORKDIR /app/

EXPOSE 8000
EXPOSE 8000
2 changes: 1 addition & 1 deletion curate/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG')

ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS')
ALLOWED_HOSTS = list(os.environ.get('ALLOWED_HOSTS'))


# Application definition
Expand Down
94 changes: 47 additions & 47 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
amqp==5.0.6
asgiref==3.4.1
billiard==3.6.4.0
biopython==1.79
biothings-client==0.2.6
cached-property==1.5.2
celery==5.1.2
celery-progress==0.1.1
certifi==2021.5.30
charset-normalizer==2.0.4
click==7.1.2
click-didyoumean==0.0.3
click-plugins==1.1.1
click-repl==0.2.0
Django==3.2.7
django-celery-beat==2.2.1
django-celery-results==2.2.0
django-cors-headers==3.8.0
django-crispy-forms==1.12.0
amqp
asgiref
billiard
biopython
biothings-client
cached-property
celery
celery-progress
certifi
charset-normalizer
click
click-didyoumean
click-plugins
click-repl
Django==4.2.8
django-celery-beat
django-celery-results
django-cors-headers
django-crispy-forms
django-filter
django-filters-facet @ git+https://github.com/caktus/django-filters-facet.git@main#egg=django-filters-facet
django-rest-framework==0.1.0
django-simple-history==3.0.0
django-timezone-field==4.2.1
djangorestframework==3.12.4
django-rest-framework
django-simple-history
django-timezone-field
djangorestframework
elasticsearch-dsl>=7.0.0,<8.0.0
django-elasticsearch-dsl
django-elasticsearch-dsl-drf
idna==3.2
importlib-metadata==4.8.1
kombu==5.1.0
mozilla-django-oidc==2.0.0
mygene==3.2.2
numpy==1.19.5
idna
importlib-metadata
kombu
mozilla-django-oidc
mygene
numpy==1.26.2
pandas==1.1.5
plac==1.3.3
prompt-toolkit==3.0.20
PyMySQL==1.0.2
python-crontab==2.5.1
python-dateutil==2.8.2
python-dotenv==0.19.0
pytz==2021.1
PyYAML==5.4.1
redis==3.5.3
requests==2.26.0
six==1.16.0
sqlparse==0.4.2
tqdm==4.62.2
typing-extensions==3.10.0.2
urllib3==1.26.6
vine==5.0.0
wcwidth==0.2.5
zipp==3.5.0
plac
prompt-toolkit
PyMySQL
python-crontab
python-dateutil
python-dotenv
pytz
PyYAML
redis
requests
six
sqlparse
tqdm
typing-extensions
urllib3
vine
wcwidth
zipp

0 comments on commit 6e05f94

Please sign in to comment.