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 #168

Merged
merged 4 commits into from
Sep 16, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
"3.7",
"3.8",
"3.9",
"3.10-dev",
"pypy3",
]
pytest-version: [
Expand All @@ -36,6 +37,12 @@ jobs:
"6.2.*",
"main",
]
exclude:
# Only pytest 6.2+ supports Python 3.10
- { python-version: "3.10-dev", pytest-version: "5.3.*" }
- { python-version: "3.10-dev", pytest-version: "5.4.*" }
- { python-version: "3.10-dev", pytest-version: "6.0.*" }
- { python-version: "3.10-dev", pytest-version: "6.1.*" }
steps:
- uses: actions/checkout@v2

Expand Down
11 changes: 6 additions & 5 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
10.2 (unreleased)
-----------------

- Nothing changed yet.
- Add support for Python 3.10 (as of Python 3.10.rc2).
(Thanks to `@hugovk <https://github.com/hugovk>`_ for the PR.)


10.1 (2021-07-02)
Expand Down Expand Up @@ -34,16 +35,16 @@ Features
++++++++

- Add ``condition`` keyword argument to the re-run marker.
(Thanks to `@BeyondEvil`_ for the PR)
(Thanks to `@BeyondEvil`_ for the PR.)

- Add support for Python 3.9.
(Thanks to `@digitronik`_ for the PR)
(Thanks to `@digitronik`_ for the PR.)

- Add support for pytest 6.3.
(Thanks to `@bluetech`_ for the PR)
(Thanks to `@bluetech`_ for the PR.)

- Add compatibility with ``pytest-xdist >= 2.0``.
(Thanks to `@bluetech`_ for the PR)
(Thanks to `@bluetech`_ for the PR.)

Other changes
+++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Requirements

You will need the following prerequisites in order to use pytest-rerunfailures:

- Python 3.6, up to 3.9, or PyPy3
- Python 3.6, up to 3.10, or PyPy3
- pytest 5.3 or newer

This package is currently tested against the last 5 minor pytest releases. In
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ max-line-length = 88
[tox]
envlist =
linting
py{36,37,38,39,py3}-pytest{53,54,60,61,62}
py{36,37,38,39,py3}-pytest{53,54,60,61,62,main}
py310-pytest{62,main}
minversion = 3.17.1

[testenv]
Expand Down