-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
dscim directly depends on the zarr package. When dependabot tried to bump the zarr-python package to the new v3.0.0 release, it failed CI checks.
See the PR here: #368
Cut-n-pasted from CI logs:
==================================== ERRORS ====================================
_________________ ERROR collecting tests/test_input_damages.py _________________
ImportError while importing test module '/home/runner/work/dscim/dscim/tests/test_input_damages.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_input_damages.py:10: in <module>
from dscim.preprocessing.input_damages import (
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/dscim/preprocessing/input_damages.py:17: in <module>
from zarr.errors import GroupNotFoundError
E ImportError: cannot import name 'GroupNotFoundError' from 'zarr.errors' (/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/zarr/errors.py)
From a quick look it looks like it's failing to even collect test_input_damages.py because it's importing something that's now missing from the zarr package in this input_damages.py
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed