Skip to content

drop py37 #1067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']
numpy_version: ['>=1.22.0', '==1.20.*']
exclude:
- python-version: '3.10'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'ipytree',
],
},
python_requires='>=3.7, <4',
python_requires='>=3.8, <4',
install_requires=dependencies,
package_dir={'': '.'},
packages=['zarr', 'zarr._storage', 'zarr.tests'],
Expand Down
20 changes: 10 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

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

[testenv]
install_command = pip install --no-binary=numcodecs {opts} {packages}
Expand All @@ -19,27 +19,27 @@ commands =
# clear out any data files generated during tests
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*")]'
# main unit test runner
py{38,39}: pytest -v --cov=zarr --cov-config=.coveragerc zarr
py{39,310}: pytest -v --cov=zarr --cov-config=.coveragerc zarr
# don't collect coverage when running older numpy versions
py37-npy120: pytest -v zarr
py38-npy120: pytest -v zarr
# collect coverage and run doctests under py37
py37-npylatest: pytest -v --cov=zarr --cov-config=.coveragerc --doctest-plus zarr --remote-data
py38-npylatest: pytest -v --cov=zarr --cov-config=.coveragerc --doctest-plus zarr --remote-data
# generate a coverage report
py37-npylatest,py38,py39: coverage report -m
py38-npylatest,py38,py39,p310: coverage report -m
# run doctests in the tutorial and spec
py{38,39}: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
py{38,39,310}: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
# pep8 checks
py{38,39}: flake8 zarr
py{38,39, 310}: flake8 zarr
# print environment for debugging
pip freeze
deps =
py37-npy120: numpy==1.20.*
py37-npylatest,py38: -rrequirements_dev_numpy.txt
py38-npy120: numpy==1.20.*
py38-npylatest,py38: -rrequirements_dev_numpy.txt
-rrequirements_dev_minimal.txt
-rrequirements_dev_optional.txt

[testenv:docs]
basepython = python3.7
basepython = python3.8
changedir = docs
deps =
-rrequirements_rtfd.txt
Expand Down