Feature/update python to 3.9.9 (#7969)
* [7953] update to Python 3.10 * [7953] update to Python 3.9.9 * [7953] update more files to Python 3.9.9
This commit is contained in:
Родитель
c3f8202582
Коммит
7307ec2e8e
|
@ -53,7 +53,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7.7
|
||||
python-version: 3.9.9
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
|
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7.7
|
||||
python-version: 3.9.9
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
|
|
|
@ -132,7 +132,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: 3.9.9
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
|
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: 3.9.9
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.7
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile dev-requirements.in
|
||||
|
@ -35,10 +35,6 @@ idna==3.2
|
|||
# -c requirements.txt
|
||||
# requests
|
||||
# urllib3
|
||||
importlib-metadata==4.6.3
|
||||
# via
|
||||
# -c requirements.txt
|
||||
# flake8
|
||||
mccabe==0.6.1
|
||||
# via flake8
|
||||
ptvsd==4.3.2
|
||||
|
@ -63,15 +59,7 @@ six==1.16.0
|
|||
# via
|
||||
# -c requirements.txt
|
||||
# pyopenssl
|
||||
typing-extensions==3.10.0.0
|
||||
# via
|
||||
# -c requirements.txt
|
||||
# importlib-metadata
|
||||
urllib3[secure]==1.26.6
|
||||
# via
|
||||
# -c requirements.txt
|
||||
# requests
|
||||
zipp==3.5.0
|
||||
# via
|
||||
# -c requirements.txt
|
||||
# importlib-metadata
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.7.8-slim
|
||||
FROM python:3.9.9-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gettext \
|
||||
|
|
|
@ -208,7 +208,7 @@ All our containers run on Linux.
|
|||
For local development, we have two Dockerfiles that define our images:
|
||||
|
||||
- `Dockerfile.node`: use a node8 Debian Stretch slim base image from the Docker Hub and install node dependencies,
|
||||
- `Dockerfile.python`: use a python3.7 Debian Stretch slim base image, install required build dependencies before installing pipenv and the project dependencies.
|
||||
- `Dockerfile.python`: use a python3.9 Debian Stretch slim base image, install required build dependencies before installing pipenv and the project dependencies.
|
||||
We don't have a custom image for running postgres and use one from the Docker Hub.
|
||||
|
||||
The `docker-compose.yml` file describes the 3 services that the project needs to run:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.8
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile
|
||||
|
|
|
@ -1 +1 @@
|
|||
python-3.7.8
|
||||
python-3.9.9
|
||||
|
|
Загрузка…
Ссылка в новой задаче