Skip to content

Commit ce114fa

Browse files
Drop Python 3.6 from tests - and add Python 3.10 (#339)
1 parent d2bd392 commit ce114fa

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
TODO:
44

55
- [ ] Unit tests and/or doctests in docstrings
6-
- [ ] `tox -e py39` passes locally
6+
- [ ] `tox -e py310` passes locally
77
- [ ] Docstrings and API docs for any new/modified user-facing classes and functions
88
- [ ] Changes documented in docs/release.rst
99
- [ ] `tox -e docs` passes locally

docs/release.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Maintenance
1717
* Fix spelling.
1818
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`336`.
1919

20+
* Drop Python 3.6 from tests
21+
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`,
22+
:issue:`338`, :issue:`339`.
23+
2024
* Remove trailing spaces and empty lines.
2125
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`341`.
2226

tox.ini

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
1-
# Tox (http://tox.testrun.org/) is a tool for running tests
2-
# in multiple virtualenvs. This configuration file will run the
3-
# test suite on all supported python versions. To use it, "pip install tox"
4-
# and then run "tox" from this directory.
1+
# Tox (https://tox.wiki/) is a tool for running tests in multiple virtualenvs.
2+
# This configuration file will run the test suite on supported python versions.
3+
# To use it, "pip install tox" and then run "tox" from this directory.
54

65
[tox]
7-
envlist = py36, py37, py38, py39, docs
6+
envlist = py37, py38, py39, py310, docs
87

98
[testenv]
109
setenv =
1110
PYTHONHASHSEED = 42
1211
# hooks for coverage exclusions based on Python major version
13-
py36,py37,py38,py39: PY_MAJOR_VERSION = py3
12+
py37,py38,py39,py310: PY_MAJOR_VERSION = py3
1413
commands =
1514
python setup.py build_ext --inplace
16-
py36,py37,py38: pytest -v --cov=numcodecs numcodecs
17-
py39: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs
15+
py37,py38,py39: pytest -v --cov=numcodecs numcodecs
16+
py310: pytest -v --cov=numcodecs --doctest-modules --doctest-glob=*.pyx numcodecs
1817
coverage report -m
19-
py39: flake8 numcodecs
18+
py310: flake8 numcodecs
2019
pip freeze
2120
deps =
2221
-rrequirements_dev.txt
2322
-rrequirements_test.txt
2423

2524
[testenv:docs]
26-
basepython = python3.9
25+
basepython = python3.10
2726
changedir = docs
2827
deps =
2928
-rrequirements_rtfd.txt

0 commit comments

Comments
 (0)