Skip to content
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

Drop 3.6 builds #774

Merged
merged 6 commits into from
Jun 16, 2021
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.6.9' , 3.7, 3.8]
python-version: [3.7, 3.8]
numpy_version: ['==1.16.4', '']
services:
redis:
Expand Down
49 changes: 0 additions & 49 deletions .travis.yml

This file was deleted.

7 changes: 6 additions & 1 deletion docs/release.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release notes
=============

Unreleased
----------

This release of Zarr Python is the first release of Zarr to not support Python 3.6.

.. _release_2.8.3:

2.8.3
Expand Down Expand Up @@ -129,7 +134,7 @@ Bug fixes
2.6.0
-----

This release of Zarr Python is is the first release of Zarr to not support Python 3.5.
This release of Zarr Python is the first release of Zarr to not support Python 3.5.

* End Python 3.5 support.
By :user:`Chris Barnes <clbarnes>`; :issue:`602`.
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[mypy]
python_version = 3.6
python_version = 3.7
ignore_missing_imports = True
follow_imports = silent
2 changes: 1 addition & 1 deletion requirements_dev_minimal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ numcodecs==0.7.3
msgpack-python==0.5.6
setuptools-scm==6.0.1
# test requirements
pytest==5.2.0; python_version > '3.0'
pytest==5.2.0
2 changes: 1 addition & 1 deletion requirements_dev_numpy.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Break this out into a separate file to allow testing against
# different versions of numpy. This file should pin to the latest
# numpy version.
numpy==1.20.3; python_version >= '3.6'
numpy==1.20.3
7 changes: 4 additions & 3 deletions requirements_dev_optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ipytree==0.2.1
# version to get compatibility with azure storage emulator on appveyor (FIXME)
azure-storage-blob==12.5.0 # pyup: ignore
redis==3.5.3
types-redis
pymongo==3.11.4
# optional test requirements
tox==3.23.1
Expand All @@ -16,6 +17,6 @@ flake8==3.9.2
pytest-cov==2.12.0
pytest-doctestplus==0.4.0
h5py==2.10.0
s3fs==2021.5.0; python_version > '3.6'
fsspec==2021.5.0; python_version > '3.6'
moto[server]>=1.3.14; python_version > '3.6'
s3fs==2021.5.0
fsspec==2021.5.0
moto[server]>=1.3.14
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'ipytree',
],
},
python_requires='>=3.6, <4',
python_requires='>=3.7, <4',
install_requires=dependencies,
package_dir={'': '.'},
packages=['zarr', 'zarr.tests'],
Expand All @@ -47,7 +47,6 @@
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down
10 changes: 5 additions & 5 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 = py36, py37-npy{115,116,latest}, py38, docs
envlist = py37-npy{115,116,latest}, py38, docs

[testenv]
install_command = pip install --no-binary=numcodecs {opts} {packages}
Expand All @@ -18,13 +18,13 @@ 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
py36,py38: pytest -v --cov=zarr --cov-config=.coveragerc zarr
py38: pytest -v --cov=zarr --cov-config=.coveragerc zarr
# don't collect coverage when running older numpy versions
py37-{npy115,npy116}: pytest -v zarr
# collect coverage and run doctests under py37
py37-npylatest: pytest -v --cov=zarr --cov-config=.coveragerc --doctest-plus zarr --remote-data
# generate a coverage report
py36,py37-npylatest,py38: coverage report -m
py37-npylatest,py38: coverage report -m
# run doctests in the tutorial and spec
py38: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
# pep8 checks
Expand All @@ -34,12 +34,12 @@ commands =
deps =
py37-npy115: numpy==1.15.4
py37-npy116: numpy==1.16.4
py36,py37-npylatest,py38: -rrequirements_dev_numpy.txt
py37-npylatest,py38: -rrequirements_dev_numpy.txt
-rrequirements_dev_minimal.txt
-rrequirements_dev_optional.txt

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