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 support for python 3.6 #4720

Merged
merged 17 commits into from
Jan 7, 2021
Merged
Show file tree
Hide file tree
Changes from 9 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
18 changes: 8 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ jobs:
- job: Linux
strategy:
matrix:
py36-bare-minimum:
conda_env: py36-bare-minimum
py36-min-all-deps:
conda_env: py36-min-all-deps
py36-min-nep18:
conda_env: py36-min-nep18
py36:
conda_env: py36
py37-bare-minimum:
conda_env: py37-bare-minimum
py37-min-all-deps:
conda_env: py37-min-all-deps
py37-min-nep18:
conda_env: py37-min-nep18
py37:
conda_env: py37
py38:
Expand Down Expand Up @@ -121,6 +119,6 @@ jobs:
- template: ci/azure/add-conda-to-path.yml
- bash: |
conda install -y pyyaml
python ci/min_deps_check.py ci/requirements/py36-bare-minimum.yml
python ci/min_deps_check.py ci/requirements/py36-min-all-deps.yml
python ci/min_deps_check.py ci/requirements/py37-bare-minimum.yml
python ci/min_deps_check.py ci/requirements/py37-min-all-deps.yml
displayName: minimum versions policy
49 changes: 0 additions & 49 deletions ci/requirements/py36.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
- nodefaults
dependencies:
- python=3.6
- python=3.7
- coveralls
- pip
- pytest
Expand All @@ -12,4 +12,4 @@ dependencies:
- pytest-xdist
- numpy=1.15
- pandas=0.25
- setuptools=38.4
- setuptools=40.4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
# Run ci/min_deps_check.py to verify that this file respects the policy.
# When upgrading python, numpy, or pandas, must also change
# doc/installing.rst and setup.py.
- python=3.6
- python=3.7
- black
- boto3=1.9
- bottleneck=1.2
Expand All @@ -33,7 +33,7 @@ dependencies:
- numba=0.46
- numpy=1.15
- pandas=0.25
# - pint # See py36-min-nep18.yml
# - pint # See py37-min-nep18.yml
- pip
- pseudonetcdf=3.0
- pydap=3.2
Expand All @@ -45,8 +45,8 @@ dependencies:
- rasterio=1.0
- scipy=1.3
- seaborn=0.9
- setuptools=38.4
# - sparse # See py36-min-nep18.yml
- setuptools=40.4
# - sparse # See py37-min-nep18.yml
- toolz=0.10
- zarr=2.3
- pip:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
# Optional dependencies that require NEP18, such as sparse and pint,
# require drastically newer packages than everything else
- python=3.6
- python=3.7
- coveralls
- dask=2.9
- distributed=2.9
Expand All @@ -18,5 +18,5 @@ dependencies:
- pytest-env
- pytest-xdist
- scipy=1.3
- setuptools=38.4
- setuptools=40.4
- sparse=0.8
2 changes: 1 addition & 1 deletion doc/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Installation
Required dependencies
---------------------

- Python (3.6 or later)
- Python (3.7 or later)
- setuptools (38.4 or later)
keewis marked this conversation as resolved.
Show resolved Hide resolved
- `numpy <http://www.numpy.org/>`__ (1.15 or later)
- `pandas <http://pandas.pydata.org/>`__ (0.25 or later)
Expand Down
3 changes: 2 additions & 1 deletion doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ v0.16.3 (unreleased)

Breaking changes
~~~~~~~~~~~~~~~~

- xarray no longer supports python 3.6 (:issue:`4688`, :pull:`4720`)
By `Justus Magin <https://github.com/keewis>`_.

New Features
~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ classifiers =
Intended Audience :: Science/Research
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Scientific/Engineering

[options]
packages = find:
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True
python_requires = >=3.6
python_requires = >=3.7
install_requires =
numpy >= 1.15
pandas >= 0.25
Expand Down