Add support for Python 3.10

This commit is contained in:
Hugo van Kemenade
2021-09-15 17:14:59 +03:00
parent 1c8178abc5
commit ed47f0e01a
3 changed files with 9 additions and 5 deletions

View File

@@ -15,6 +15,7 @@ jobs:
- "py37-pytestlatest"
- "py38-pytestlatest"
- "py39-pytestlatest"
- "py310-pytestlatest"
- "py38-pytestmain"
- "py38-psutil"
- "py38-setproctitle"
@@ -29,6 +30,8 @@ jobs:
python: "3.8"
- tox_env: "py39-pytestlatest"
python: "3.9"
- tox_env: "py310-pytestlatest"
python: "3.10-dev"
- tox_env: "py38-pytestmain"
python: "3.8"
- tox_env: "py38-psutil"
@@ -37,9 +40,9 @@ jobs:
python: "3.8"
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
@@ -59,9 +62,9 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Install wheel

View File

@@ -48,5 +48,6 @@ setup(
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)

View File

@@ -1,7 +1,7 @@
[tox]
envlist=
linting
py{36,37,38,39}-pytestlatest
py{36,37,38,39,310}-pytestlatest
py38-pytestmain
py38-psutil
py38-setproctitle