Skip to content

Commit

Permalink
Merge pull request #500 from hugovk/add-3.10
Browse files Browse the repository at this point in the history
Add support for Python 3.10
  • Loading branch information
ionelmc committed Oct 3, 2021
2 parents 679935b + 60a3cc1 commit f015932
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
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
3 changes: 0 additions & 3 deletions setup.cfg
@@ -1,6 +1,3 @@
[bdist_wheel]
universal = 1

[flake8]
max-line-length = 140
exclude = .tox,.eggs,ci/templates,build,dist
Expand Down
1 change: 1 addition & 0 deletions setup.py
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
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 f015932

Please sign in to comment.