Skip to content

Commit

Permalink
Merge pull request pytest-dev#8494 from nicoddemus/python-3.10
Browse files Browse the repository at this point in the history
(cherry picked from commit c1bdff9)
  • Loading branch information
nicoddemus authored and mgorny committed May 5, 2021
1 parent 15a4538 commit ca68875
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -27,13 +27,16 @@ jobs:
"windows-py37",
"windows-py37-pluggy",
"windows-py38",
"windows-py39",
"windows-py310",

"ubuntu-py36",
"ubuntu-py37",
"ubuntu-py37-pluggy",
"ubuntu-py37-freeze",
"ubuntu-py38",
"ubuntu-py39",
"ubuntu-py310",
"ubuntu-pypy3",

"macos-py37",
Expand Down Expand Up @@ -62,6 +65,14 @@ jobs:
os: windows-latest
tox_env: "py38-unittestextras"
use_coverage: true
- name: "windows-py39"
python: "3.9"
os: windows-latest
tox_env: "py39-xdist"
- name: "windows-py310"
python: "3.10-dev"
os: windows-latest
tox_env: "py310-xdist"

- name: "ubuntu-py36"
python: "3.6"
Expand All @@ -88,6 +99,10 @@ jobs:
python: "3.9"
os: ubuntu-latest
tox_env: "py39-xdist"
- name: "ubuntu-py310"
python: "3.10-dev"
os: ubuntu-latest
tox_env: "py310-xdist"
- name: "ubuntu-pypy3"
python: "pypy3"
os: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Expand Up @@ -42,8 +42,7 @@ repos:
rev: v1.11.0
hooks:
- id: setup-cfg-fmt
# TODO: when upgrading setup-cfg-fmt this can be removed
args: [--max-py-version=3.9]
args: [--max-py-version=3.10]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.6.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions changelog/8494.feature.rst
@@ -0,0 +1 @@
Python 3.10 is now supported.
2 changes: 2 additions & 0 deletions pyproject.toml
Expand Up @@ -26,6 +26,8 @@ filterwarnings = [
# produced by older pyparsing<=2.2.0.
"default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
"default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*",
# distutils is deprecated in 3.10, scheduled for removal in 3.12
"ignore:The distutils package is deprecated:DeprecationWarning",
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)."
"ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))",
# produced by pytest-xdist
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Expand Up @@ -21,6 +21,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Software Development :: Libraries
Topic :: Software Development :: Testing
Topic :: Utilities
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -9,6 +9,7 @@ envlist =
py37
py38
py39
py310
pypy3
py37-{pexpect,xdist,unittestextras,numpy,pluggymaster}
doctesting
Expand Down

0 comments on commit ca68875

Please sign in to comment.