-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
What happened?
Creating a fresh testing environment and running the tests causes those in test_distributed.py to fail.
What did you expect to happen?
All tests should pass.
Minimal Complete Verifiable Example
Environment was setup as follows (according to contribution guidelines)
// Env setup
conda create -c conda-forge -n xarray-tests python=3.10
conda env update -f ci/requirements/environment.yml
conda activate xarray-tests
pip install -e .
// Running tests
pytest xarray/tests/test_distributed.pyMVCE confirmation
- Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
- Complete example — the example is self-contained, including all data and the text of any traceback.
- Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
- New issue — a search of GitHub Issues suggests this is not a duplicate.
Relevant log output
No response
Anything else we need to know?
This can be remedied when manually downgrading dask-core and distributed packages from 2023.1.1 to 2023.1.0. Fixing their versions should fix this error until the underlying reason can be figured out.
Environment
xarray: 2023.1.1.dev14+gd385e206
pandas: 1.5.3
numpy: 1.23.5
scipy: 1.10.0
netCDF4: 1.6.0
pydap: installed
h5netcdf: 1.1.0
h5py: 3.8.0
Nio: None
zarr: 2.13.3
cftime: 1.6.2
nc_time_axis: 1.4.1
PseudoNetCDF: 3.2.2
rasterio: 1.3.4
cfgrib: 0.9.10.3
iris: 3.4.0
bottleneck: 1.3.6
dask: 2023.1.1
distributed: 2023.1.1
matplotlib: 3.6.3
cartopy: 0.21.1
seaborn: 0.12.2
numbagg: 0.2.2
fsspec: 2023.1.0
cupy: None
pint: 0.20.1
sparse: 0.13.0
flox: 0.6.7
numpy_groupies: 0.9.20
setuptools: 66.1.1
pip: 22.3.1
conda: 22.11.1
pytest: 7.2.1
mypy: None
IPython: None
sphinx: None