Skip to content

Commit

Permalink
Don't change DataArray module for Sphinx sgkit-dev#482
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Mar 8, 2021
1 parent 12223d2 commit a796df0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ def filter(self, record: pylogging.LogRecord) -> bool:
# For some reason, intersphinx is not able to to link xarray objects.
# https://github.com/pydata/xarray/issues/4279
xarray.Dataset.__module__ = "xarray"
xarray.DataArray.__module__ = "xarray"
# Note that changing DataArray's module causes separate problems, so we don't do it.
# https://github.com/pystatgen/sgkit/issues/482
# https://github.com/dask/dask/pull/7335
# xarray.DataArray.__module__ = "xarray"


intersphinx_mapping = dict(
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy
xarray
dask[array] == 2021.02.0
distributed == 2021.02.0
dask[array]
distributed
dask-ml
scipy
typing-extensions
Expand Down

0 comments on commit a796df0

Please sign in to comment.