home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 397950349

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
397950349 MDU6SXNzdWUzOTc5NTAzNDk= 2664 Xarray fails to build with bottleneck on Travis CI 10819524 closed 0     3 2019-01-10T18:06:24Z 2019-01-10T18:30:48Z 2019-01-10T18:15:44Z CONTRIBUTOR      

I'm currently having trouble building a project built on xarray (https://github.com/Ouranosinc/xclim/pull/139). Problems seem to have arose during the holidays as even our previously stable master branch is now failing.

We believe the issue is due to incompatibilities with bottleneck and/or numpy which seem to pop up every now and then. The build seems to only fail when run via Travis CI. Running tests via tox locally does not raise errors. Fixes from other issues similar to this haven't been successful (such as #1294). I've attempted the following: - manually upgrading pip before install - adjusting the base versions of xarray, bottleneck and numpy prior to installation - reinstalling bottleneck after xarray is installed

```python tests/test_checks.py:4: in <module> import xarray as xr .tox/py36/lib/python3.6/site-packages/xarray/init.py:14: in <module> from .core.extensions import (register_dataarray_accessor, .tox/py36/lib/python3.6/site-packages/xarray/core/extensions.py:6: in <module> from .dataarray import DataArray .tox/py36/lib/python3.6/site-packages/xarray/core/dataarray.py:9: in <module> from . import computation, groupby, indexing, ops, resample, rolling, utils .tox/py36/lib/python3.6/site-packages/xarray/core/rolling.py:457: in <module> inject_bottleneck_rolling_methods(DataArrayRolling) .tox/py36/lib/python3.6/site-packages/xarray/core/ops.py:357: in inject_bottleneck_rolling_methods f = getattr(bn, bn_name) E AttributeError: module 'bottleneck' has no attribute 'move_sum' ------------------------------- Captured stderr -------------------------------- ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

```

I believe this could be a bug in either xarray or in Travis CI. Help appreciated. :)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2664/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 0.607ms · About: xarray-datasette