upgrade to python 3.10 (#19568)
* run CI with python3.10 * change Dockerfile.deploy too
This commit is contained in:
Родитель
91a35ea5f7
Коммит
d42c7750f5
|
@ -283,7 +283,7 @@ references:
|
|||
|
||||
docker-images:
|
||||
# These versions should try to match what we run in production.
|
||||
- &python "cimg/python:3.9"
|
||||
- &python "cimg/python:3.10"
|
||||
- &redis "redis:6.2"
|
||||
- &memcached "memcached:1.4"
|
||||
- &mysql "mysql:8.0.28"
|
||||
|
|
|
@ -8,7 +8,7 @@ version: 2
|
|||
build:
|
||||
os: ubuntu-20.04
|
||||
tools:
|
||||
python: "3.9"
|
||||
python: "3.10"
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.9-slim-buster
|
||||
FROM python:3.10-slim-buster
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.9-slim-buster
|
||||
FROM python:3.10-slim-buster
|
||||
|
||||
# need to compile swig
|
||||
ENV SWIG_FEATURES="-D__x86_64__"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py39']
|
||||
target-version = ['py310']
|
||||
skip-string-normalization = true
|
||||
exclude = '''
|
||||
(
|
||||
|
|
2
setup.py
2
setup.py
|
@ -25,7 +25,7 @@ setup(
|
|||
'Framework :: Django',
|
||||
'Topic :: Internet :: WWW/HTTP :: Browsers',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
],
|
||||
entry_points={
|
||||
'babel.extractors': [
|
||||
|
|
Загрузка…
Ссылка в новой задаче