Skip to content

Commit 026bc0b

Browse files
authored
remove pynio from most test envs (#4492)
* remove pynio from py38 tests * remove pynio from other test envs * update docs * Apply suggestions from code review
1 parent 18c6926 commit 026bc0b

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

ci/requirements/py36.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
- pip
3333
- pseudonetcdf
3434
- pydap
35-
- pynio
35+
# - pynio: not compatible with netCDF4>1.5.3; only tested in py36-bare-minimum
3636
- pytest
3737
- pytest-cov
3838
- pytest-env

ci/requirements/py37.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
- pip
3333
- pseudonetcdf
3434
- pydap
35-
- pynio
35+
# - pynio: not compatible with netCDF4>1.5.3; only tested in py36-bare-minimum
3636
- pytest
3737
- pytest-cov
3838
- pytest-env

ci/requirements/py38-all-but-dask.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- pip
3030
- pseudonetcdf
3131
- pydap
32-
- pynio
32+
# - pynio: not compatible with netCDF4>1.5.3; only tested in py36-bare-minimum
3333
- pytest
3434
- pytest-cov
3535
- pytest-env

ci/requirements/py38.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
- pip
3333
- pseudonetcdf
3434
- pydap
35-
- pynio
35+
# - pynio: not compatible with netCDF4>1.5.3; only tested in py36-bare-minimum
3636
- pytest
3737
- pytest-cov
3838
- pytest-env

doc/installing.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ For netCDF and IO
2525
- `pydap <http://www.pydap.org/>`__: used as a fallback for accessing OPeNDAP
2626
- `h5netcdf <https://github.com/shoyer/h5netcdf>`__: an alternative library for
2727
reading and writing netCDF4 files that does not use the netCDF-C libraries
28-
- `pynio <https://www.pyngl.ucar.edu/Nio.shtml>`__: for reading GRIB and other
29-
geoscience specific file formats. Note that pynio is not available for Windows.
28+
- `PyNIO <https://www.pyngl.ucar.edu/Nio.shtml>`__: for reading GRIB and other
29+
geoscience specific file formats. Note that PyNIO is not available for Windows and
30+
that the PyNIO backend may be moved outside of xarray in the future.
3031
- `zarr <http://zarr.readthedocs.io/>`__: for chunked, compressed, N-dimensional arrays.
3132
- `cftime <https://unidata.github.io/cftime>`__: recommended if you
3233
want to encode/decode datetimes for non-standard calendars or dates before

doc/io.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,11 @@ We recommend installing PyNIO via conda::
10221022

10231023
conda install -c conda-forge pynio
10241024

1025+
.. note::
1026+
1027+
PyNIO is no longer actively maintained and conflicts with netcdf4 > 1.5.3.
1028+
The PyNIO backend may be moved outside of xarray in the future.
1029+
10251030
.. _PyNIO: https://www.pyngl.ucar.edu/Nio.shtml
10261031

10271032
.. _io.PseudoNetCDF:

0 commit comments

Comments
 (0)