Skip to content

Commit

Permalink
Python 3.8 CI (#3727)
Browse files Browse the repository at this point in the history
* Run full fat Python 3.8 test suite

* Move asv, Windows tests, and MacOSX tests to py38

* Move more stuff to Python 3.8

* Roll back windows to py37

* Update rtd and binder to 3.8

* Downgrade rtd to 3.7

* RTD to 3.8 again
  • Loading branch information
crusaderky authored Jan 31, 2020
1 parent 95e4f6c commit 4c96d53
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: xarray-examples
channels:
- conda-forge
dependencies:
- python=3.7
- python=3.8
- boto3
- bottleneck
- cartopy
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ repos:
rev: stable
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

// The Pythons you'd like to test against. If not provided, defaults
// to the current version of Python used to run `asv`.
"pythons": ["3.6"],
"pythons": ["3.8"],

// The matrix of dependencies to test. Each key is the name of a
// package (in PyPI) and the values are version numbers. An empty
Expand Down
16 changes: 8 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
conda_env: py37
py38:
conda_env: py38
py37-upstream-dev:
conda_env: py37
py38-upstream-dev:
conda_env: py38
upstream_dev: true
py36-flaky:
conda_env: py36
py38-flaky:
conda_env: py38
pytest_extra_flags: --run-flaky --run-network-tests
allow_failure: true
pool:
Expand All @@ -35,8 +35,8 @@ jobs:
- job: MacOSX
strategy:
matrix:
py36:
conda_env: py36
py38:
conda_env: py38
pool:
vmImage: 'macOS-10.13'
steps:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:

- job: TypeChecking
variables:
conda_env: py37
conda_env: py38
pool:
vmImage: 'ubuntu-16.04'
steps:
Expand All @@ -86,7 +86,7 @@ jobs:
- job: isort
variables:
conda_env: py37
conda_env: py38
pool:
vmImage: 'ubuntu-16.04'
steps:
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
# Don't change to pkgs/main, as it causes random timeouts in readthedocs
- conda-forge
dependencies:
- python=3.7
- python=3.8
- bottleneck
- cartopy
- cfgrib
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/py36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- hypothesis
- iris
- isort
- lxml # optional dep of pydap
- lxml # Optional dep of pydap
- matplotlib
- mypy=0.761 # Must match .pre-commit-config.yaml
- nc-time-axis
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/py37-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies:
- nc-time-axis
- netcdf4
- numba
- numpy<1.18 # FIXME https://github.com/pydata/xarray/issues/3409
- numpy
- pandas
- pint
- pip
Expand Down
49 changes: 40 additions & 9 deletions ci/requirements/py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,45 @@ channels:
- conda-forge
dependencies:
- python=3.8
- setuptools
- black
- boto3
- bottleneck
- cartopy
- cdms2
- cfgrib
- cftime
- coveralls
- dask
- distributed
- flake8
- h5netcdf
- h5py
- hdf5
- hypothesis
- iris
- isort
- lxml # Optional dep of pydap
- matplotlib
- mypy=0.761 # Must match .pre-commit-config.yaml
- nc-time-axis
- netcdf4
- numba
- numpy
- pandas
- pint
- pip
- pseudonetcdf
- pydap
- pynio
- pytest
- pytest-cov
- pytest-env
- rasterio
- scipy
- seaborn
- setuptools
- sparse
- toolz
- zarr
- pip:
- coveralls
- dask
- distributed
- numpy
- pandas
- pytest
- pytest-cov
- pytest-env
- numbagg
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ conda:
environment: ci/requirements/doc.yml

python:
version: 3.7
version: 3.8
install: []

formats: []

0 comments on commit 4c96d53

Please sign in to comment.