From 5e4389fd75b5812fa93d1cba8d025351092d1fc8 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Thu, 6 Jan 2022 14:27:56 +0100 Subject: [PATCH] feat!: Drop support for Python 3.6. 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] https://github.com/pytest-dev/pytest/pull/9437 Signed-off-by: Michael Seifert --- .github/workflows/main.yml | 4 ++-- README.rst | 1 + setup.py | 3 +-- tox.ini | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96f26196..b448cd6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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" diff --git a/README.rst b/README.rst index b1eaa0b1..3f4eeb42 100644 --- a/README.rst +++ b/README.rst @@ -167,6 +167,7 @@ Changelog 0.17.0 (UNRELEASED) ~~~~~~~~~~~~~~~~~~~ - `pytest-asyncio` no longer alters existing event loop policies. `#168 `_, `#188 `_ +- Drop support for Python 3.6 0.16.0 (2021-10-16) ~~~~~~~~~~~~~~~~~~~ diff --git a/setup.py b/setup.py index e15080fe..ad3877ca 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,6 @@ 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", @@ -41,7 +40,7 @@ def find_version(): "Topic :: Software Development :: Testing", "Framework :: Pytest", ], - python_requires=">= 3.6", + python_requires=">= 3.7", install_requires=["pytest >= 5.4.0"], extras_require={ "testing": [ diff --git a/tox.ini b/tox.ini index ef60cba0..edae7dec 100644 --- a/tox.ini +++ b/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] @@ -26,7 +26,6 @@ commands = [gh-actions] python = - 3.6: py36 3.7: py37 3.8: py38 3.9: py39, lint