Support Python 3.10

This commit is contained in:
Takeshi KOMIYA 2021-10-07 02:34:44 +09:00
parent c922189920
commit f13ad80207
4 changed files with 11 additions and 5 deletions

View File

@ -8,7 +8,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
name: [py36, py37, py38, py39] name: [py36, py37, py38, py39, py310]
include: include:
- name: py36 - name: py36
python: 3.6 python: 3.6
@ -23,8 +23,11 @@ jobs:
python: 3.9 python: 3.9
docutils: du17 docutils: du17
coverage: "--cov ./ --cov-append --cov-config setup.cfg" coverage: "--cov ./ --cov-append --cov-config setup.cfg"
- name: py310-dev - name: py310
python: 3.10-dev python: "3.10"
docutils: du17
- name: py311-dev
python: 3.11-dev
docutils: du17 docutils: du17
env: env:
PYTEST_ADDOPTS: ${{ matrix.coverage }} PYTEST_ADDOPTS: ${{ matrix.coverage }}

View File

@ -4,6 +4,8 @@ Release 4.3.0 (in development)
Dependencies Dependencies
------------ ------------
* Support Python 3.10
Incompatible changes Incompatible changes
-------------------- --------------------

View File

@ -207,6 +207,7 @@ setup(
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: Implementation :: PyPy',
'Framework :: Setuptools Plugin', 'Framework :: Setuptools Plugin',

View File

@ -1,6 +1,6 @@
[tox] [tox]
minversion = 2.4.0 minversion = 2.4.0
envlist = docs,flake8,mypy,twine,coverage,py{36,37,38,39},du{14,15,16,17} envlist = docs,flake8,mypy,twine,coverage,py{36,37,38,39,310},du{14,15,16,17}
[testenv] [testenv]
usedevelop = True usedevelop = True
@ -15,7 +15,7 @@ passenv =
EPUBCHECK_PATH EPUBCHECK_PATH
TERM TERM
description = description =
py{36,37,38,39}: Run unit tests against {envname}. py{36,37,38,39,310}: Run unit tests against {envname}.
du{12,13,14}: Run unit tests with the given version of docutils. du{12,13,14}: Run unit tests with the given version of docutils.
deps = deps =
du14: docutils==0.14.* du14: docutils==0.14.*