Skip to content

Commit f107559

Browse files
author
Ned Batchelder
committed
build: Python 3.6 is the minimum
1 parent 95879eb commit f107559

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ clean: ## remove generated byte code, coverage reports, and build artifacts
2424
cd docs; make clean
2525

2626
coverage: clean ## generate and view HTML coverage report
27-
tox -e py35,py38,coverage
27+
tox -e py36,py39,coverage
2828
$(BROWSER)htmlcov/index.html
2929

3030
docs: ## generate Sphinx HTML documentation, including API docs
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Changed
2+
.......
3+
4+
- Python 3.6 is now the minimum supported Python version.
5+

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ classifiers =
1515
License :: OSI Approved :: Apache Software License
1616
Natural Language :: English
1717
Programming Language :: Python :: 3
18+
Programming Language :: Python :: 3.6
19+
Programming Language :: Python :: 3.7
20+
Programming Language :: Python :: 3.8
21+
Programming Language :: Python :: 3.9
1822

1923
[options]
2024
packages =
@@ -74,7 +78,7 @@ source =
7478
*/site-packages
7579

7680
[mypy]
77-
python_version = 3.5
81+
python_version = 3.6
7882
ignore_missing_imports = True
7983
check_untyped_defs = True
8084

tox.ini

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35,py36,py37,py38,py39,pypy3,coverage,docs,quality
2+
envlist = py36,py37,py38,py39,pypy3,coverage,docs,quality
33

44
[testenv]
55
deps =
@@ -16,14 +16,14 @@ commands =
1616
coverage run -p -m pytest -Wd {posargs}
1717

1818
[testenv:coverage]
19-
envdir = {toxworkdir}/py38
19+
envdir = {toxworkdir}/py36
2020
commands =
2121
coverage combine
2222
coverage report -m --skip-covered
2323
coverage html
2424

2525
[testenv:docs]
26-
basepython = python3.8
26+
basepython = python3.6
2727
setenv =
2828
PYTHONPATH = {toxinidir}
2929
deps =
@@ -35,7 +35,7 @@ commands =
3535
doc8 -q --ignore-path docs/include README.rst docs
3636

3737
[testenv:quality]
38-
basepython = python3.8
38+
basepython = python3.6
3939
deps =
4040
-r{toxinidir}/requirements/quality.txt
4141
commands =
@@ -49,16 +49,13 @@ commands =
4949
twine check dist/*
5050

5151
[testenv:upgrade]
52-
# Picking a version to pin in is tricky. Use a late version, and pin packages
53-
# in constraints.txt to keep them working on the earlier versions.
54-
basepython = python3.8
52+
basepython = python3.6
5553
commands =
5654
python -m pip install -U pip
5755
make upgrade
5856

5957
[gh-actions]
6058
python =
61-
3.5: py35
6259
3.6: py36
6360
3.7: py37
6461
3.8: py38

0 commit comments

Comments
 (0)