-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Description
Some packages (e.g numcodecs) try to probe zfpy version to ensure correct version.
import zfpy
zfpy.__version__
Results in AttributeError: module 'zfpy' has no attribute '__version__'
And no package metadata can be found either (used in numcodecs)
from importlib.metadata import version
version("zfpy")
Traceback (most recent call last):
File "/anaconda3/2025.06/envs/qeye3/lib/python3.13/importlib/metadata/__init__.py", line 407, in from_name
return next(iter(cls.discover(name=name)))
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "version_zfpy.py", line 3, in <module>
version("zfpy")
~~~~~~~^^^^^^^^
File "/anaconda3/2025.06/envs/qeye3/lib/python3.13/importlib/metadata/__init__.py", line 987, in version
return distribution(distribution_name).version
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/anaconda3/2025.06/envs/qeye3/lib/python3.13/importlib/metadata/__init__.py", line 960, in distribution
return Distribution.from_name(distribution_name)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/anaconda3/2025.06/envs/qeye3/lib/python3.13/importlib/metadata/__init__.py", line 409, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for zfpy
Metadata
Metadata
Assignees
Labels
No labels