Source: python-sparse Version: 0.2.0-1 Severity: normal Dear Maintainer,
While I was updating dask I encountered unit test failures because dask was assuming there was a SparseArray class in python-sparse. (Here's an example stack trace) ___________________ ERROR collecting tests/test_variable.py ____________________ /usr/lib/python3/dist-packages/distributed/tests/test_variable.py:13: in <module> from distributed.utils_test import gen_cluster, inc, div <frozen importlib._bootstrap>:1007: in _find_and_load ??? <frozen importlib._bootstrap>:986: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:680: in _load_unlocked ??? /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) /usr/lib/python3/dist-packages/distributed/utils_test.py:67: in <module> import dask.array # register config /usr/lib/python3/dist-packages/dask/array/__init__.py:2: in <module> from .blockwise import blockwise, atop /usr/lib/python3/dist-packages/dask/array/blockwise.py:259: in <module> from .core import new_da_https://github.com/pydata/sparseobject /usr/lib/python3/dist-packages/dask/array/core.py:63: in <module> from .chunk_types import is_valid_array_chunk, is_valid_chunk_type /usr/lib/python3/dist-packages/dask/array/chunk_types.py:125: in <module> register_chunk_type(sparse.SparseArray) E AttributeError: module 'sparse' has no attribute 'SparseArray' I asked the dask upstream https://github.com/dask/dask/issues/7078 and they said the proper upstream for python-sparse is https://github.com/pydata/sparse and it should be currently be version 0.11.2 The sparse package should probably be updated Thanks, Diane Trout -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable'), (110, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled