* run CI with python3.10

* change Dockerfile.deploy too
This commit is contained in:
Andrew Williamson 2022-08-17 18:25:13 +01:00 коммит произвёл GitHub
Родитель 91a35ea5f7
Коммит d42c7750f5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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 = '''
(

Просмотреть файл

@ -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': [