chore: remove support for Python 3.6
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index d819c29..a46cd1b 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -18,8 +18,6 @@
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 f74465d..4972b72 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 41ffe72..fc434e9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@
[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 0000000..bfb1164
--- /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 b89917c..ae14bf7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -13,7 +13,6 @@
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 @@
[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 6a5c81c..0fa96fc 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 @@
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