diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d819c29d..a46cd1ba 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,8 +18,6 @@ jobs: strategy: matrix: include: - - python: "3.6" - tox: py36 - python: "3.7" tox: py37 - python: "3.8" diff --git a/.mergify.yml b/.mergify.yml index f74465d1..4972b726 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,7 +1,6 @@ queue_rules: - name: default conditions: &CheckRuns - - "check-success=test (3.6, py36)" - "check-success=test (3.7, py37)" - "check-success=test (3.8, py38)" - "check-success=test (3.9, py39)" diff --git a/pyproject.toml b/pyproject.toml index 41ffe726..fc434e9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ build-backend="setuptools.build_meta" [tool.black] line-length = 120 safe = true -target-version = ["py36", "py37", "py38", "py39", "py310", "py311"] +target-version = ["py37", "py38", "py39", "py310", "py311"] [tool.mypy] strict = true diff --git a/releasenotes/notes/remove-py36-876c0416cf279d15.yaml b/releasenotes/notes/remove-py36-876c0416cf279d15.yaml new file mode 100644 index 00000000..bfb1164d --- /dev/null +++ b/releasenotes/notes/remove-py36-876c0416cf279d15.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + Support for Python 3.6 has been removed. diff --git a/setup.cfg b/setup.cfg index b89917cb..ae14bf7b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,7 +13,6 @@ classifier = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 @@ -23,7 +22,7 @@ classifier = [options] install_requires = -python_requires = >=3.6 +python_requires = >=3.7 packages = tenacity [options.packages.find] diff --git a/tox.ini b/tox.ini index 6a5c81c9..0fa96fce 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3{6,7,8,9,10,11}, pep8, pypy3 +envlist = py3{7,8,9,10,11}, pep8, pypy3 skip_missing_interpreters = True [testenv] @@ -10,9 +10,9 @@ deps = pytest typeguard commands = - py3{6,7,8,9,10,11},pypy3: pytest {posargs} - py3{6,7,8,9,10,11},pypy3: sphinx-build -a -E -W -b doctest doc/source doc/build - py3{6,7,8,9,10,11},pypy3: sphinx-build -a -E -W -b html doc/source doc/build + py3{7,8,9,10,11},pypy3: pytest {posargs} + py3{7,8,9,10,11},pypy3: sphinx-build -a -E -W -b doctest doc/source doc/build + py3{7,8,9,10,11},pypy3: sphinx-build -a -E -W -b html doc/source doc/build [testenv:pep8] basepython = python3