Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.10 #500

Merged
merged 2 commits into from Oct 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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