Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673482 - dev-python/xarray-0.10.8 with dev-python/bottleneck-1.0.0 - AttributeError: module 'bottleneck' has no attribute 'move_var'
Summary: dev-python/xarray-0.10.8 with dev-python/bottleneck-1.0.0 - AttributeError: m...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 13:31 UTC by Erik Quaeghebeur
Modified: 2020-03-29 12:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2018-12-20 13:31:03 UTC
When importing xarray (0.10.8), it fails with an error referencing bottleneck (1.0.0); installing bottleneck-1.2.1 fixed the issue:

import xarray as xr
Traceback (most recent call last):

  File "<ipython-input-1-ff9522b3dae8>", line 1, in <module>
    import xarray as xr

  File "/usr/lib64/python3.6/site-packages/xarray/__init__.py", line 14, in <module>
    from .core.extensions import (register_dataarray_accessor,

  File "/usr/lib64/python3.6/site-packages/xarray/core/extensions.py", line 6, in <module>
    from .dataarray import DataArray

  File "/usr/lib64/python3.6/site-packages/xarray/core/dataarray.py", line 9, in <module>
    from . import computation, groupby, indexing, ops, resample, rolling, utils

  File "/usr/lib64/python3.6/site-packages/xarray/core/rolling.py", line 458, in <module>
    inject_bottleneck_rolling_methods(DataArrayRolling)

  File "/usr/lib64/python3.6/site-packages/xarray/core/ops.py", line 347, in inject_bottleneck_rolling_methods
    f = getattr(bn, bn_name)

AttributeError: module 'bottleneck' has no attribute 'move_var'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-29 12:24:45 UTC
Old version removed.  Please reopen if the problem persists.