Skip to content

Commit

Permalink
Add support for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 3, 2021
1 parent 679935b commit 0bc997a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy-3.6", "pypy-3.7", "3.6", "3.7", "3.8", "3.9"]
python-version: ["pypy-3.6", "pypy-3.7", "3.6", "3.7", "3.8", "3.9", "3.10-dev"]
tox-extra-versions: [
"pytest46-xdist127",
"pytest46-xdist133",
Expand All @@ -26,12 +26,16 @@ jobs:
- {python-version: "3.7", tox-python-version: "py37"}
- {python-version: "3.8", tox-python-version: "py38"}
- {python-version: "3.9", tox-python-version: "py39"}
- {python-version: "3.10-dev", tox-python-version: "py310"}
exclude:
# Remove some jobs from the matrix
- {tox-extra-versions: "pytest46-xdist127", python-version: "3.8"}
- {tox-extra-versions: "pytest46-xdist127", python-version: "3.9"}
- {tox-extra-versions: "pytest46-xdist133", python-version: "3.9"}
- {tox-extra-versions: "pytest54-xdist133", python-version: "3.9"}
- {tox-extra-versions: "pytest46-xdist127", python-version: "3.10-dev"}
- {tox-extra-versions: "pytest46-xdist133", python-version: "3.10-dev"}
- {tox-extra-versions: "pytest54-xdist133", python-version: "3.10-dev"}

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def run(self):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Testing',
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ envlist =
check
py{36,37,py,py3}-pytest46-xdist127-coverage{55}
py{36,37,38,py3}-pytest{46,54}-xdist133-coverage{55}
py{36,37,38,39,py3}-pytest{62}-xdist202-coverage{55}
py{36,37,38,39,310,py3}-pytest{62}-xdist202-coverage{55}
docs

[testenv]
Expand All @@ -29,7 +29,7 @@ setenv =
pytest54: _DEP_PYTEST=pytest==5.4.3
pytest60: _DEP_PYTEST=pytest==6.0.2
pytest61: _DEP_PYTEST=pytest==6.1.2
pytest62: _DEP_PYTEST=pytest==6.2.2
pytest62: _DEP_PYTEST=pytest==6.2.5

xdist127: _DEP_PYTESTXDIST=pytest-xdist==1.27.0
xdist129: _DEP_PYTESTXDIST=pytest-xdist==1.29.0
Expand Down

0 comments on commit 0bc997a

Please sign in to comment.