Skip to content

Commit 9ce2f32

Browse files
d-v-bjoshmoore
andauthored
drop py37 (#1067)
Co-authored-by: Josh Moore <j.a.moore@dundee.ac.uk>
1 parent 611afad commit 9ce2f32

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.7', '3.8', '3.9', '3.10']
18+
python-version: ['3.8', '3.9', '3.10']
1919
numpy_version: ['>=1.22.0', '==1.20.*']
2020
exclude:
2121
- python-version: '3.10'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
'ipytree',
3434
],
3535
},
36-
python_requires='>=3.7, <4',
36+
python_requires='>=3.8, <4',
3737
install_requires=dependencies,
3838
package_dir={'': '.'},
3939
packages=['zarr', 'zarr._storage', 'zarr.tests'],

tox.ini

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py37-npy{120,latest}, py38, py39, docs
7+
envlist = py38-npy{120,latest}, py39, py310, docs
88

99
[testenv]
1010
install_command = pip install --no-binary=numcodecs {opts} {packages}
@@ -19,27 +19,27 @@ commands =
1919
# clear out any data files generated during tests
2020
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*")]'
2121
# 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
2323
# don't collect coverage when running older numpy versions
24-
py37-npy120: pytest -v zarr
24+
py38-npy120: pytest -v zarr
2525
# 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
2727
# generate a coverage report
28-
py37-npylatest,py38,py39: coverage report -m
28+
py38-npylatest,py38,py39,p310: coverage report -m
2929
# 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
3131
# pep8 checks
32-
py{38,39}: flake8 zarr
32+
py{38,39, 310}: flake8 zarr
3333
# print environment for debugging
3434
pip freeze
3535
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
3838
-rrequirements_dev_minimal.txt
3939
-rrequirements_dev_optional.txt
4040

4141
[testenv:docs]
42-
basepython = python3.7
42+
basepython = python3.8
4343
changedir = docs
4444
deps =
4545
-rrequirements_rtfd.txt

0 commit comments

Comments
 (0)