Package: pywavelets Version: 1.1.1-1 Severity: important Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jammy ubuntu-patch
Hi Daniele, In Ubuntu, a rebuild of pywavelets to pick up support for the new python3.10 is causing skimage's autopkgtests to fail, because it has also been built against a newer numpy and pywavelets correctly notices that some object sizes have changed: $ python3 -m pywt Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 188, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.9/runpy.py", line 147, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.9/runpy.py", line 111, in _get_module_details __import__(pkg_name) File "/usr/lib/python3/dist-packages/pywt/__init__.py", line 16, in <module> from ._extensions._pywt import * File "pywt/_extensions/_pywt.pyx", line 1, in init pywt._extensions._pywt ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject $ python3-pywt needs to depend on python3-numpy >= 1:1.20.0. This dependency is autogenerated by calling dh_numpy3. The attached patch fixes the pywavelet debian/rules to call this command and get the right dependency. Thanks for considering, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru pywavelets-1.1.1/debian/rules pywavelets-1.1.1/debian/rules --- pywavelets-1.1.1/debian/rules 2020-06-16 02:19:53.000000000 -0700 +++ pywavelets-1.1.1/debian/rules 2021-11-19 15:20:50.000000000 -0800 @@ -39,3 +39,7 @@ override_dh_fixperms_arch: # Remove execution flag set by upstream also on examples. find debian/python-pywt-doc -type f -exec chmod -x {} \; + +override_dh_python3: + dh_numpy3 + dh_python3
_______________________________________________ Python-modules-team mailing list Python-modules-team@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team