Source: python-pyspike
Version: 0.8.0+dfsg-3
Severity: serious

Dar Maintainer,

The latest upload of "numpy" has dropped
it's dependency on python3-pkg-resources.

>From the autopkgtest log,
it looks like python-pyspike expects python3-pkg-resources to be there.

Please either add this runtime dependency or
patch out usage of pkg_resources.

Greetings,

Alexandre




https://setuptools.pypa.io/en/latest/pkg_resources.html

> Use of pkg_resources is deprecated in favor of importlib.resources,
> importlib.metadata and their backports (importlib_resources, 
> importlib_metadata).


https://ci.debian.net/packages/p/python-pyspike/testing/amd64/56496487/

105s ==================================== ERRORS 
====================================
105s ________ ERROR collecting test/numeric/test_regression_random_spikes.py 
________
105s ImportError while importing test module 
'/tmp/autopkgtest-lxc.qic547e0/downtmp/autopkgtest_tmp/test/numeric/test_regression_random_spikes.py'.
105s Hint: make sure your test modules/packages have valid Python names.
105s Traceback:
105s /usr/lib/python3.13/importlib/__init__.py:88: in import_module
105s     return _bootstrap._gcd_import(name[level:], package, level)
105s test/numeric/test_regression_random_spikes.py:12: in <module>
105s     import pyspike as spk
105s /usr/lib/python3/dist-packages/pyspike/__init__.py:40: in <module>
105s     from pkg_resources import get_distribution, DistributionNotFound
105s E   ModuleNotFoundError: No module named 'pkg_resources'
105s ______________________ ERROR collecting test/test_MRTS.py 
______________________
105s ImportError while importing test module 
'/tmp/autopkgtest-lxc.qic547e0/downtmp/autopkgtest_tmp/test/test_MRTS.py'.
105s Hint: make sure your test modules/packages have valid Python names.
105s Traceback:
105s /usr/lib/python3.13/importlib/__init__.py:88: in import_module
105s     return _bootstrap._gcd_import(name[level:], package, level)
105s test/test_MRTS.py:10: in <module>
105s     import pyspike as spk
105s /usr/lib/python3/dist-packages/pyspike/__init__.py:40: in <module>
105s     from pkg_resources import get_distribution, DistributionNotFound
105s E   ModuleNotFoundError: No module named 'pkg_resources'
...

Reply via email to