Skip to content

Commit a796df0

Browse files
committed
Don't change DataArray module for Sphinx #482
1 parent 12223d2 commit a796df0

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ def filter(self, record: pylogging.LogRecord) -> bool:
100100
# For some reason, intersphinx is not able to to link xarray objects.
101101
# https://github.com/pydata/xarray/issues/4279
102102
xarray.Dataset.__module__ = "xarray"
103-
xarray.DataArray.__module__ = "xarray"
103+
# Note that changing DataArray's module causes separate problems, so we don't do it.
104+
# https://github.com/pystatgen/sgkit/issues/482
105+
# https://github.com/dask/dask/pull/7335
106+
# xarray.DataArray.__module__ = "xarray"
104107

105108

106109
intersphinx_mapping = dict(

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
numpy
22
xarray
3-
dask[array] == 2021.02.0
4-
distributed == 2021.02.0
3+
dask[array]
4+
distributed
55
dask-ml
66
scipy
77
typing-extensions

0 commit comments

Comments
 (0)