Skip to content

Commit

Permalink
Merge pull request #396 from jd/remove-python3.6
Browse files Browse the repository at this point in the history
chore: remove support for Python 3.6
  • Loading branch information
jd committed Mar 20, 2023
2 parents 548c5d4 + 96938df commit 2a09589
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
strategy:
matrix:
include:
- python: "3.6"
tox: py36
- python: "3.7"
tox: py37
- python: "3.8"
Expand Down
1 change: 0 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
@@ -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)"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/remove-py36-876c0416cf279d15.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
upgrade:
- |
Support for Python 3.6 has been removed.
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +22,7 @@ classifier =

[options]
install_requires =
python_requires = >=3.6
python_requires = >=3.7
packages = tenacity

[options.packages.find]
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 2a09589

Please sign in to comment.