✨ Upgrade to Python 3.7, including new compatible Celery (#10)
This commit is contained in:
@@ -20,7 +20,7 @@ pyjwt = "*"
|
|||||||
python-multipart = "*"
|
python-multipart = "*"
|
||||||
email-validator = "*"
|
email-validator = "*"
|
||||||
requests = "*"
|
requests = "*"
|
||||||
celery = "==4.2.1"
|
celery = "~=4.3"
|
||||||
passlib = {extras = ["bcrypt"],version = "*"}
|
passlib = {extras = ["bcrypt"],version = "*"}
|
||||||
tenacity = "*"
|
tenacity = "*"
|
||||||
pydantic = "*"
|
pydantic = "*"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.6
|
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
|
||||||
|
|
||||||
RUN pip install celery==4.2.1 passlib[bcrypt] tenacity requests emails "fastapi>=0.7.1" uvicorn gunicorn pyjwt python-multipart email_validator jinja2 psycopg2-binary alembic SQLAlchemy
|
RUN pip install celery~=4.3 passlib[bcrypt] tenacity requests emails "fastapi>=0.7.1" uvicorn gunicorn pyjwt python-multipart email_validator jinja2 psycopg2-binary alembic SQLAlchemy
|
||||||
|
|
||||||
# For development, Jupyter remote kernel, Hydrogen
|
# For development, Jupyter remote kernel, Hydrogen
|
||||||
# Using inside the container:
|
# Using inside the container:
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
FROM python:3.6
|
FROM python:3.7
|
||||||
|
|
||||||
RUN pip install raven celery==4.2.1 passlib[bcrypt] tenacity requests "fastapi>=0.7.1" emails pyjwt email_validator jinja2 psycopg2-binary alembic SQLAlchemy
|
RUN pip install raven celery~=4.3 passlib[bcrypt] tenacity requests "fastapi>=0.7.1" emails pyjwt email_validator jinja2 psycopg2-binary alembic SQLAlchemy
|
||||||
|
|
||||||
# For development, Jupyter remote kernel, Hydrogen
|
# For development, Jupyter remote kernel, Hydrogen
|
||||||
# Using inside the container:
|
# Using inside the container:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.6
|
FROM python:3.7
|
||||||
|
|
||||||
RUN pip install requests pytest tenacity passlib[bcrypt] "fastapi>=0.7.1" psycopg2-binary SQLAlchemy
|
RUN pip install requests pytest tenacity passlib[bcrypt] "fastapi>=0.7.1" psycopg2-binary SQLAlchemy
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user