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
Use Python 3.7 everywhere #884
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use update-alternatives
instead so we don't need to touch every file which invokes Python: https://jcutrer.com/linux/upgrade-python37-ubuntu1810
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like any of these changes are necessary? The defaults for pip
, python
, etc. are all Python 3.7 on the python:3.7
Docker image and the rest of the changes are from #812.
entrypoint.sh
Outdated
./manage.py collectstatic --clear --noinput -v0 | ||
|
||
echo Running Django dev server | ||
echo "Running Django ASGI server" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it started from the activity-ui-prototype branch?
The Dockerfile changes for importer and celerybeat are definitely necessary. |
Can we rebase this branch so it's just the Dockerfile changes? |
This reuses most of the base Dockerfile to take advantage of the layer cache, which suggests we might want to make an on-build one to further simplify matters.
I just rebased & changed the commit to be more minimal — now it only has the |
No description provided.