Skip to content

Commit

Permalink
feat!: Drop support for Python 3.6.
Browse files Browse the repository at this point in the history
CPython 3.6 reached end-of-life on 2021-12-23 [1]. Future releases of pytest will no longer support Python 3.6 [2].

[1] https://www.python.org/dev/peps/pep-0494/
[2] pytest-dev/pytest#9437

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
  • Loading branch information
seifertm committed Jan 6, 2022
1 parent 5079642 commit 5e4389f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -13,11 +13,11 @@ jobs:
name: "Python ${{ matrix.python-version }}"
runs-on: "ubuntu-latest"
env:
USING_COVERAGE: "3.6,3.7,3.8,3.9,3.10"
USING_COVERAGE: "3.7,3.8,3.9,3.10"

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: "actions/checkout@v2"
Expand Down
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -167,6 +167,7 @@ Changelog
0.17.0 (UNRELEASED)
~~~~~~~~~~~~~~~~~~~
- `pytest-asyncio` no longer alters existing event loop policies. `#168 <https://github.com/pytest-dev/pytest-asyncio/issues/168>`_, `#188 <https://github.com/pytest-dev/pytest-asyncio/issues/168>`_
- Drop support for Python 3.6

0.16.0 (2021-10-16)
~~~~~~~~~~~~~~~~~~~
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -33,15 +33,14 @@ def find_version():
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Testing",
"Framework :: Pytest",
],
python_requires=">= 3.6",
python_requires=">= 3.7",
install_requires=["pytest >= 5.4.0"],
extras_require={
"testing": [
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 3.14.0
envlist = py36, py37, py38, py39, py310, lint
envlist = py37, py38, py39, py310, lint
skip_missing_interpreters = true

[testenv]
Expand All @@ -26,7 +26,6 @@ commands =

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39, lint
Expand Down

0 comments on commit 5e4389f

Please sign in to comment.