From d525e907fa9189405d1f467b32ec58abcd60692f Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Sat, 2 Nov 2019 01:12:25 -0400 Subject: [PATCH 1/4] python 3.8 tests --- azure-pipelines.yml | 2 ++ ci/requirements/py38.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 ci/requirements/py38.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c7f9de73cf4..90de0705a27 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,6 +18,8 @@ jobs: conda_env: py36 py37: conda_env: py37 + py38: + conda_env: py38 py37-upstream-dev: conda_env: py37 upstream_dev: true diff --git a/ci/requirements/py38.yml b/ci/requirements/py38.yml new file mode 100644 index 00000000000..9698e3efecf --- /dev/null +++ b/ci/requirements/py38.yml @@ -0,0 +1,15 @@ +name: xarray-tests +channels: + - conda-forge +dependencies: + - python=3.8 + - pip + - pip: + - coveralls + - dask + - distributed + - numpy + - pandas + - pytest + - pytest-cov + - pytest-env From 37dd3dce5f428e33a79366d028c85654ee9474e4 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Sat, 2 Nov 2019 01:35:48 -0400 Subject: [PATCH 2/4] whatsnew --- doc/whats-new.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 47e2e58e988..033de15fdfa 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -78,7 +78,8 @@ Bug fixes Documentation ~~~~~~~~~~~~~ -- Fix leap year condition in example (http://xarray.pydata.org/en/stable/examples/monthly-means.html) by `Mickaël Lalande `_. +- Fix leap year condition in example (http://xarray.pydata.org/en/stable/examples/monthly-means.html) + by `Mickaël Lalande `_. - Fix the documentation of :py:meth:`DataArray.resample` and :py:meth:`Dataset.resample` and explicitly state that a datetime-like dimension is required. (:pull:`3400`) @@ -107,6 +108,9 @@ Internal Changes - Use Python 3.6 idioms throughout the codebase. (:pull:3419) By `Maximilian Roos `_ +- Run basic CI tests on Python 3.8. (:pull:3477) + By `Maximilian Roos `_ + .. _whats-new.0.14.0: From 93796cc7babf5a1324f1c0af0ff3c7a67c6f1208 Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Sat, 2 Nov 2019 15:52:59 -0400 Subject: [PATCH 3/4] Update doc/whats-new.rst Co-Authored-By: crusaderky --- doc/whats-new.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 033de15fdfa..9e55d2558c6 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -108,7 +108,7 @@ Internal Changes - Use Python 3.6 idioms throughout the codebase. (:pull:3419) By `Maximilian Roos `_ -- Run basic CI tests on Python 3.8. (:pull:3477) +- Run basic CI tests on Python 3.8. (:pull:`3477`) By `Maximilian Roos `_ From 92b61f844b6d3aae27e7467190f55348a89e9ce2 Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Sat, 2 Nov 2019 15:53:07 -0400 Subject: [PATCH 4/4] Update doc/whats-new.rst Co-Authored-By: crusaderky --- doc/whats-new.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 9e55d2558c6..c117382f23f 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -105,7 +105,7 @@ Internal Changes ``pip install git+https://github.com/andrewgsavage/pint.git@refs/pull/6/head)``. Even with it, interaction with non-numpy array libraries, e.g. dask or sparse, is broken. -- Use Python 3.6 idioms throughout the codebase. (:pull:3419) +- Use Python 3.6 idioms throughout the codebase. (:pull:`3419`) By `Maximilian Roos `_ - Run basic CI tests on Python 3.8. (:pull:`3477`)