4
4
# and then run "tox" from this directory.
5
5
6
6
[tox]
7
- envlist = py37 -npy{120,latest}, py38, py39 , docs
7
+ envlist = py38 -npy{120,latest}, py39, py310 , docs
8
8
9
9
[testenv]
10
10
install_command = pip install --no-binary =numcodecs {opts} {packages}
@@ -19,27 +19,27 @@ commands =
19
19
# clear out any data files generated during tests
20
20
python -c ' import glob; import shutil; import os; [(shutil.rmtree(d) if os.path.isdir(d) else os.remove(d) if os.path.isfile(d) else None) for d in glob.glob("./example*")]'
21
21
# main unit test runner
22
- py{38,39 }: pytest -v --cov =zarr --cov-config =.coveragerc zarr
22
+ py{39,310 }: pytest -v --cov =zarr --cov-config =.coveragerc zarr
23
23
# don't collect coverage when running older numpy versions
24
- py37 -npy120: pytest -v zarr
24
+ py38 -npy120: pytest -v zarr
25
25
# collect coverage and run doctests under py37
26
- py37 -npylatest: pytest -v --cov =zarr --cov-config =.coveragerc --doctest-plus zarr --remote-data
26
+ py38 -npylatest: pytest -v --cov =zarr --cov-config =.coveragerc --doctest-plus zarr --remote-data
27
27
# generate a coverage report
28
- py37 -npylatest,py38,py39: coverage report -m
28
+ py38 -npylatest,py38,py39,p310 : coverage report -m
29
29
# run doctests in the tutorial and spec
30
- py{38,39}: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
30
+ py{38,39,310 }: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
31
31
# pep8 checks
32
- py{38,39}: flake8 zarr
32
+ py{38,39, 310 }: flake8 zarr
33
33
# print environment for debugging
34
34
pip freeze
35
35
deps =
36
- py37 -npy120: numpy ==1.20.*
37
- py37 -npylatest,py38: -rrequirements_dev_numpy.txt
36
+ py38 -npy120: numpy ==1.20.*
37
+ py38 -npylatest,py38: -rrequirements_dev_numpy.txt
38
38
-rrequirements_dev_minimal.txt
39
39
-rrequirements_dev_optional.txt
40
40
41
41
[testenv:docs]
42
- basepython = python3.7
42
+ basepython = python3.8
43
43
changedir = docs
44
44
deps =
45
45
-rrequirements_rtfd.txt
0 commit comments