Article View: linux.debian.bugs.rc
Article #3027Bug#1095371: marked as done (python-dtcwt: FTBFS: E AttributeError: `np.asfarray` was removed in the NumPy 2.0 releas...
From: Debian Bug Tracking System
Date: Thu, 12 Nov 2026 16:40
Date: Thu, 12 Nov 2026 16:40
774 lines
36571 bytes
36571 bytes
This is a multi-part message in MIME format...
------------=_1794501543-531067-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Thu, 12 Nov 2026 16:36:46 +0000
with message-id <E1xRXn4-0000000HKa6-3xhB@fasolo.debian.org>
and subject line Bug#1095371: fixed in python-dtcwt 0.14.0-2
has caused the Debian Bug report #1095371,
regarding python-dtcwt: FTBFS: E AttributeError: `np.asfarray` wa=
s removed in the NumPy 2.0 release.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1095371: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1095371
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1794501543-531067-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 7 Feb 2025 12:12:29 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
(2021-04-09) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-120.1 required=4.0 tests=BAYES_00,
BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 76; hammy, 150; neutral, 370; spammy,
0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--pkgbuilddir,
0.000-+--PKGBUILDDIR, 0.000-+--trixie, 0.000-+--H*F:U*sanvila
Return-path: <sanvila@debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:51034)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mitropoulos.debian.org,EMAIL=hostmaster@mitropoulos.debian.org (verified)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.94.2)
(envelope-from <sanvila@debian.org>)
id 1tgNDg-008NVp-QO
for submit@bugs.debian.org; Fri, 07 Feb 2025 12:12:29 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:59318)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.94.2)
(envelope-from <sanvila@debian.org>)
id 1tgNDe-007ZsB-NJ
for submit@bugs.debian.org; Fri, 07 Feb 2025 12:12:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=HT3NDDD+lz8LA95aOCW3BX1tN7Nim66wvTKh+D1e3KI=; b=JOQ5f6lysYBZYp5LXBcJED5G0Z
NeVsW/oaQgvpREaKK+UfXZ4hd2VU7/pL+pILUMvmjePUJKs9K8ZmA30/qJs+OuEGbNFwPr+ehVxxS
NeXIHYBmvQX1sWgkMlNu2DMm+Djk9cOeF8qg2+ax810zAsAJb4jjzASfkytX2FDuJPFu81Mv5UdET
AMoYdubHB/eH4k3RiT+QQRFvtF6Z7y695FF92QLwtTaatkN6mVkRAxiapkS4gRmibtYAHR/27j2e1
JfRGDX39LOvF9V+ZmV2fbjgrricTehOftPECHCMSD1lpuXD7HDy3Y9UahmAxl1zvFsMP9Nwa93XaB
wwLEkFHQ==;
Received: from sanvila by paradis.debian.org with local (Exim 4.94.2)
(envelope-from <sanvila@debian.org>)
id 1tgNDc-00GhKb-Li
for submit@bugs.debian.org; Fri, 07 Feb 2025 12:12:24 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: python-dtcwt: FTBFS: E AttributeError: `np.asfarray` was removed in the NumPy 2.0 release.
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1tgNDc-00GhKb-Li@paradis.debian.org>
Date: Fri, 07 Feb 2025 12:12:24 +0000
Delivered-To: submit@bugs.debian.org
Package: src:python-dtcwt
Version: 0.14.0-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py clean
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dtcwt/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.12' does not exist -- can't clean it
I: pybuild base:311: python3.13 setup.py clean
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
running clean
[... snipped ...]
dtcwt/compat.py:241: in dtwavexfm3
res = trans.forward(X, nlevels, include_scale, discard_level_1)
dtcwt/numpy/transform3d.py:82: in forward
X = np.atleast_3d(asfarray(X))
dtcwt/utils.py:105: in asfarray
return np.asfarray(X, dtype=X.dtype)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
attr = 'asfarray'
def __getattr__(attr):
# Warn for expired attributes
import warnings
if attr == "linalg":
import numpy.linalg as linalg
return linalg
elif attr == "fft":
import numpy.fft as fft
return fft
elif attr == "dtypes":
import numpy.dtypes as dtypes
return dtypes
elif attr == "random":
import numpy.random as random
return random
elif attr == "polynomial":
import numpy.polynomial as polynomial
return polynomial
elif attr == "ma":
import numpy.ma as ma
return ma
elif attr == "ctypeslib":
import numpy.ctypeslib as ctypeslib
return ctypeslib
elif attr == "exceptions":
import numpy.exceptions as exceptions
return exceptions
elif attr == "testing":
import numpy.testing as testing
return testing
elif attr == "matlib":
import numpy.matlib as matlib
return matlib
elif attr == "f2py":
import numpy.f2py as f2py
return f2py
elif attr == "typing":
import numpy.typing as typing
return typing
elif attr == "rec":
import numpy.rec as rec
return rec
elif attr == "char":
import numpy.char as char
return char
elif attr == "array_api":
raise AttributeError("`numpy.array_api` is not available from "
"numpy 2.0 onwards", name=None)
elif attr == "core":
import numpy.core as core
return core
elif attr == "strings":
import numpy.strings as strings
return strings
elif attr == "distutils":
if 'distutils' in __numpy_submodules__:
import numpy.distutils as distutils
return distutils
else:
raise AttributeError("`numpy.distutils` is not available from "
"Python 3.12 onwards", name=None)
if attr in __future_scalars__:
# And future warnings for those that will change, but also give
# the AttributeError
warnings.warn(
f"In the future `np.{attr}` will be defined as the "
"corresponding NumPy scalar.", FutureWarning, stacklevel=2)
if attr in __former_attrs__:
raise AttributeError(__former_attrs__[attr], name=None)
if attr in __expired_attributes__:
> raise AttributeError(
f"`np.{attr}` was removed in the NumPy 2.0 release. "
f"{__expired_attributes__[attr]}",
name=None
)
E AttributeError: `np.asfarray` was removed in the NumPy 2.0 release. Use `np.asarray` with a proper dtype instead.
/usr/lib/python3/dist-packages/numpy/__init__.py:400: AttributeError
______________________________ test_float32_recon ______________________________
def test_float32_recon():
# Check that an float32 input is correctly output as float32
> Yl, Yh = dtwavexfm3(ellipsoid.astype(np.float32))
tests/test_xfm3.py:145:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dtcwt/compat.py:241: in dtwavexfm3
res = trans.forward(X, nlevels, include_scale, discard_level_1)
dtcwt/numpy/transform3d.py:82: in forward
X = np.atleast_3d(asfarray(X))
dtcwt/utils.py:105: in asfarray
return np.asfarray(X, dtype=X.dtype)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
attr = 'asfarray'
def __getattr__(attr):
# Warn for expired attributes
import warnings
if attr == "linalg":
import numpy.linalg as linalg
return linalg
elif attr == "fft":
import numpy.fft as fft
return fft
elif attr == "dtypes":
import numpy.dtypes as dtypes
return dtypes
elif attr == "random":
import numpy.random as random
return random
elif attr == "polynomial":
import numpy.polynomial as polynomial
return polynomial
elif attr == "ma":
import numpy.ma as ma
return ma
elif attr == "ctypeslib":
import numpy.ctypeslib as ctypeslib
return ctypeslib
elif attr == "exceptions":
import numpy.exceptions as exceptions
return exceptions
elif attr == "testing":
import numpy.testing as testing
return testing
elif attr == "matlib":
import numpy.matlib as matlib
return matlib
elif attr == "f2py":
import numpy.f2py as f2py
return f2py
elif attr == "typing":
import numpy.typing as typing
return typing
elif attr == "rec":
import numpy.rec as rec
return rec
elif attr == "char":
import numpy.char as char
return char
elif attr == "array_api":
raise AttributeError("`numpy.array_api` is not available from "
"numpy 2.0 onwards", name=None)
elif attr == "core":
import numpy.core as core
return core
elif attr == "strings":
import numpy.strings as strings
return strings
elif attr == "distutils":
if 'distutils' in __numpy_submodules__:
import numpy.distutils as distutils
return distutils
else:
raise AttributeError("`numpy.distutils` is not available from "
"Python 3.12 onwards", name=None)
if attr in __future_scalars__:
# And future warnings for those that will change, but also give
# the AttributeError
warnings.warn(
f"In the future `np.{attr}` will be defined as the "
"corresponding NumPy scalar.", FutureWarning, stacklevel=2)
if attr in __former_attrs__:
raise AttributeError(__former_attrs__[attr], name=None)
if attr in __expired_attributes__:
> raise AttributeError(
f"`np.{attr}` was removed in the NumPy 2.0 release. "
f"{__expired_attributes__[attr]}",
name=None
)
E AttributeError: `np.asfarray` was removed in the NumPy 2.0 release. Use `np.asarray` with a proper dtype instead.
/usr/lib/python3/dist-packages/numpy/__init__.py:400: AttributeError
____________________ test_level_4_recon_discarding_level_1 _____________________
def test_level_4_recon_discarding_level_1():
# Test for non-perfect but reasonable reconstruction
> Yl, Yh = dtwavexfm3(ellipsoid, 4, discard_level_1=True)
tests/test_xfm3.py:154:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dtcwt/compat.py:241: in dtwavexfm3
res = trans.forward(X, nlevels, include_scale, discard_level_1)
dtcwt/numpy/transform3d.py:82: in forward
X = np.atleast_3d(asfarray(X))
dtcwt/utils.py:105: in asfarray
return np.asfarray(X, dtype=X.dtype)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
attr = 'asfarray'
def __getattr__(attr):
# Warn for expired attributes
import warnings
if attr == "linalg":
import numpy.linalg as linalg
return linalg
elif attr == "fft":
import numpy.fft as fft
return fft
elif attr == "dtypes":
import numpy.dtypes as dtypes
return dtypes
elif attr == "random":
import numpy.random as random
return random
elif attr == "polynomial":
import numpy.polynomial as polynomial
return polynomial
elif attr == "ma":
import numpy.ma as ma
return ma
elif attr == "ctypeslib":
import numpy.ctypeslib as ctypeslib
return ctypeslib
elif attr == "exceptions":
import numpy.exceptions as exceptions
return exceptions
elif attr == "testing":
import numpy.testing as testing
return testing
elif attr == "matlib":
import numpy.matlib as matlib
return matlib
elif attr == "f2py":
import numpy.f2py as f2py
return f2py
elif attr == "typing":
import numpy.typing as typing
return typing
elif attr == "rec":
import numpy.rec as rec
return rec
elif attr == "char":
import numpy.char as char
return char
elif attr == "array_api":
raise AttributeError("`numpy.array_api` is not available from "
"numpy 2.0 onwards", name=None)
elif attr == "core":
import numpy.core as core
return core
elif attr == "strings":
import numpy.strings as strings
return strings
elif attr == "distutils":
if 'distutils' in __numpy_submodules__:
import numpy.distutils as distutils
return distutils
else:
raise AttributeError("`numpy.distutils` is not available from "
"Python 3.12 onwards", name=None)
if attr in __future_scalars__:
# And future warnings for those that will change, but also give
# the AttributeError
warnings.warn(
f"In the future `np.{attr}` will be defined as the "
"corresponding NumPy scalar.", FutureWarning, stacklevel=2)
if attr in __former_attrs__:
raise AttributeError(__former_attrs__[attr], name=None)
if attr in __expired_attributes__:
> raise AttributeError(
f"`np.{attr}` was removed in the NumPy 2.0 release. "
f"{__expired_attributes__[attr]}",
name=None
)
E AttributeError: `np.asfarray` was removed in the NumPy 2.0 release. Use `np.asarray` with a proper dtype instead.
/usr/lib/python3/dist-packages/numpy/__init__.py:400: AttributeError
_______________________ test_level_4_discarding_level_1 ________________________
def test_level_4_discarding_level_1():
# Test that level >= 2 highpasses are identical
> Yl1, Yh1 = dtwavexfm3(ellipsoid, 4, discard_level_1=True)
tests/test_xfm3.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dtcwt/compat.py:241: in dtwavexfm3
res = trans.forward(X, nlevels, include_scale, discard_level_1)
dtcwt/numpy/transform3d.py:82: in forward
X = np.atleast_3d(asfarray(X))
dtcwt/utils.py:105: in asfarray
return np.asfarray(X, dtype=X.dtype)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
attr = 'asfarray'
def __getattr__(attr):
# Warn for expired attributes
import warnings
if attr == "linalg":
import numpy.linalg as linalg
return linalg
elif attr == "fft":
import numpy.fft as fft
return fft
elif attr == "dtypes":
import numpy.dtypes as dtypes
return dtypes
elif attr == "random":
import numpy.random as random
return random
elif attr == "polynomial":
import numpy.polynomial as polynomial
return polynomial
elif attr == "ma":
import numpy.ma as ma
return ma
elif attr == "ctypeslib":
import numpy.ctypeslib as ctypeslib
return ctypeslib
elif attr == "exceptions":
import numpy.exceptions as exceptions
return exceptions
elif attr == "testing":
import numpy.testing as testing
return testing
elif attr == "matlib":
import numpy.matlib as matlib
return matlib
elif attr == "f2py":
import numpy.f2py as f2py
return f2py
elif attr == "typing":
import numpy.typing as typing
return typing
elif attr == "rec":
import numpy.rec as rec
return rec
elif attr == "char":
import numpy.char as char
return char
elif attr == "array_api":
raise AttributeError("`numpy.array_api` is not available from "
"numpy 2.0 onwards", name=None)
elif attr == "core":
import numpy.core as core
return core
elif attr == "strings":
import numpy.strings as strings
return strings
elif attr == "distutils":
if 'distutils' in __numpy_submodules__:
import numpy.distutils as distutils
return distutils
else:
raise AttributeError("`numpy.distutils` is not available from "
"Python 3.12 onwards", name=None)
if attr in __future_scalars__:
# And future warnings for those that will change, but also give
# the AttributeError
warnings.warn(
f"In the future `np.{attr}` will be defined as the "
"corresponding NumPy scalar.", FutureWarning, stacklevel=2)
if attr in __former_attrs__:
raise AttributeError(__former_attrs__[attr], name=None)
if attr in __expired_attributes__:
> raise AttributeError(
f"`np.{attr}` was removed in the NumPy 2.0 release. "
f"{__expired_attributes__[attr]}",
name=None
)
E AttributeError: `np.asfarray` was removed in the NumPy 2.0 release. Use `np.asarray` with a proper dtype instead.
/usr/lib/python3/dist-packages/numpy/__init__.py:400: AttributeError
=========================== short test summary info ============================
FAILED tests/test_againstmatlab.py::test_coldfilt - AttributeError: `np.asfar...
FAILED tests/test_againstmatlab.py::test_dtwavexfm2 - AttributeError: `np.asf...
FAILED tests/test_againstmatlab.py::test_dtwavexfm2b - AttributeError: `np.as...
FAILED tests/test_againstmatlab.py::test_rescale_highpass - AttributeError: `...
FAILED tests/test_againstmatlab.py::test_transform3d_numpy - AttributeError: ...
FAILED tests/test_coldfilt.py::test_odd_filter - AttributeError: `np.asfarray...
FAILED tests/test_coldfilt.py::test_different_size - AttributeError: `np.asfa...
FAILED tests/test_coldfilt.py::test_bad_input_size - AttributeError: `np.asfa...
FAILED tests/test_coldfilt.py::test_good_input_size - AttributeError: `np.asf...
FAILED tests/test_coldfilt.py::test_good_input_size_non_orthogonal - Attribut...
FAILED tests/test_coldfilt.py::test_output_size - AttributeError: `np.asfarra...
FAILED tests/test_colfilter.py::test_odd_size - AttributeError: `np.asfarray`...
FAILED tests/test_colfilter.py::test_even_size - AttributeError: `np.asfarray...
FAILED tests/test_colfilter.py::test_qshift - AttributeError: `np.asfarray` w...
FAILED tests/test_colfilter.py::test_biort - AttributeError: `np.asfarray` wa...
FAILED tests/test_colfilter.py::test_odd_size_non_array - AttributeError: `np...
FAILED tests/test_colfilter.py::test_even_size_non_array - AttributeError: `n...
FAILED tests/test_colifilt.py::test_odd_filter - AttributeError: `np.asfarray...
FAILED tests/test_colifilt.py::test_different_size_h - AttributeError: `np.as...
FAILED tests/test_colifilt.py::test_zero_input - AttributeError: `np.asfarray...
FAILED tests/test_colifilt.py::test_bad_input_size - AttributeError: `np.asfa...
FAILED tests/test_colifilt.py::test_good_input_size - AttributeError: `np.asf...
FAILED tests/test_colifilt.py::test_output_size - AttributeError: `np.asfarra...
FAILED tests/test_colifilt.py::test_non_orthogonal_input - AttributeError: `n...
FAILED tests/test_colifilt.py::test_output_size_non_mult_4 - AttributeError: ...
FAILED tests/test_colifilt.py::test_non_orthogonal_input_non_mult_4 - Attribu...
FAILED tests/test_ifm1.py::test_reconstruct - AttributeError: `np.asfarray` w...
FAILED tests/test_ifm1.py::test_reconstruct_2d - AttributeError: `np.asfarray...
FAILED tests/test_ifm1.py::test_float32_input - AttributeError: `np.asfarray`...
FAILED tests/test_ifm2.py::test_reconstruct - AttributeError: `np.asfarray` w...
FAILED tests/test_ifm2.py::test_reconstruct_crop - AttributeError: `np.asfarr...
FAILED tests/test_ifm2.py::test_reconstruct_custom_filter - AttributeError: `...
FAILED tests/test_ifm2.py::test_float32_input - AttributeError: `np.asfarray`...
FAILED tests/test_registration.py::test_estimatereg - AttributeError: `np.asf...
FAILED tests/test_utils.py::test_complex_type_for_complex - AttributeError: `...
FAILED tests/test_utils.py::test_complex_type_for_float - AttributeError: `np...
FAILED tests/test_xfm1.py::test_simple - AttributeError: `np.asfarray` was re...
FAILED tests/test_xfm1.py::test_simple_with_no_levels - AttributeError: `np.a...
FAILED tests/test_xfm1.py::test_simple_with_scale - AttributeError: `np.asfar...
FAILED tests/test_xfm1.py::test_simple_with_scale_and_no_levels - AttributeEr...
FAILED tests/test_xfm1.py::test_perfect_recon - AttributeError: `np.asfarray`...
FAILED tests/test_xfm1.py::test_simple_custom_filter - AttributeError: `np.as...
FAILED tests/test_xfm1.py::test_single_level - AttributeError: `np.asfarray` ...
FAILED tests/test_xfm1.py::test_non_multiple_of_two - AttributeError: `np.asf...
FAILED tests/test_xfm1.py::test_2d - AttributeError: `np.asfarray` was remove...
FAILED tests/test_xfm1.py::test_integer_input - AttributeError: `np.asfarray`...
FAILED tests/test_xfm1.py::test_integer_perfect_recon - AttributeError: `np.a...
FAILED tests/test_xfm1.py::test_float32_input - AttributeError: `np.asfarray`...
FAILED tests/test_xfm2.py::test_simple - AttributeError: `np.asfarray` was re...
FAILED tests/test_xfm2.py::test_specific_wavelet - AttributeError: `np.asfarr...
FAILED tests/test_xfm2.py::test_1d - AttributeError: `np.asfarray` was remove...
FAILED tests/test_xfm2.py::test_3d - AttributeError: `np.asfarray` was remove...
FAILED tests/test_xfm2.py::test_simple_w_scale - AttributeError: `np.asfarray...
FAILED tests/test_xfm2.py::test_odd_rows - AttributeError: `np.asfarray` was ...
FAILED tests/test_xfm2.py::test_odd_rows_w_scale - AttributeError: `np.asfarr...
FAILED tests/test_xfm2.py::test_odd_cols - AttributeError: `np.asfarray` was ...
FAILED tests/test_xfm2.py::test_odd_cols_w_scale - AttributeError: `np.asfarr...
FAILED tests/test_xfm2.py::test_odd_rows_and_cols - AttributeError: `np.asfar...
FAILED tests/test_xfm2.py::test_odd_rows_and_cols_w_scale - AttributeError: `...
FAILED tests/test_xfm2.py::test_rot_symm_modified - AttributeError: `np.asfar...
FAILED tests/test_xfm2.py::test_0_levels - AttributeError: `np.asfarray` was ...
FAILED tests/test_xfm2.py::test_0_levels_w_scale - AttributeError: `np.asfarr...
FAILED tests/test_xfm2.py::test_integer_input - AttributeError: `np.asfarray`...
FAILED tests/test_xfm2.py::test_integer_perfect_recon - AttributeError: `np.a...
FAILED tests/test_xfm2.py::test_float32_input - AttributeError: `np.asfarray`...
FAILED tests/test_xfm3.py::test_simple_level_1_xfm - AttributeError: `np.asfa...
FAILED tests/test_xfm3.py::test_simple_level_1_recon - AttributeError: `np.as...
FAILED tests/test_xfm3.py::test_simple_level_1_recon_haar - AttributeError: `...
FAILED tests/test_xfm3.py::test_simple_level_2_xfm - AttributeError: `np.asfa...
FAILED tests/test_xfm3.py::test_simple_level_2_recon - AttributeError: `np.as...
FAILED tests/test_xfm3.py::test_simple_level_4_xfm - AttributeError: `np.asfa...
FAILED tests/test_xfm3.py::test_simple_level_4_recon - AttributeError: `np.as...
FAILED tests/test_xfm3.py::test_simple_level_4_recon_custom_wavelets - Attrib...
FAILED tests/test_xfm3.py::test_simple_level_4_xfm_ext_mode_8 - AttributeErro...
FAILED tests/test_xfm3.py::test_simple_level_4_recon_ext_mode_8 - AttributeEr...
FAILED tests/test_xfm3.py::test_simple_level_4_xfm_ext_mode_4 - AttributeErro...
FAILED tests/test_xfm3.py::test_simple_level_4_recon_ext_mode_4 - AttributeEr...
FAILED tests/test_xfm3.py::test_integer_input - AttributeError: `np.asfarray`...
FAILED tests/test_xfm3.py::test_integer_perfect_recon - AttributeError: `np.a...
FAILED tests/test_xfm3.py::test_float32_input - AttributeError: `np.asfarray`...
FAILED tests/test_xfm3.py::test_float32_recon - AttributeError: `np.asfarray`...
FAILED tests/test_xfm3.py::test_level_4_recon_discarding_level_1 - AttributeE...
FAILED tests/test_xfm3.py::test_level_4_discarding_level_1 - AttributeError: ...
================== 83 failed, 42 passed, 214 skipped in 1.79s ==================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dtcwt/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-dtcwt, so that this is still
visible in the BTS web page for this package.
Thanks.
------------=_1794501543-531067-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1095371-close) by bugs.debian.org; 12 Nov 2026 16:36:50 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 42; hammy, 150; neutral, 124; spammy,
0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:50678)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xRXn7-002DjQ-31
for 1095371-close@bugs.debian.org;
Thu, 12 Nov 2026 16:36:50 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xRXn6-00ENHw-0U
for 1095371-close@bugs.debian.org;
Thu, 12 Nov 2026 16:36:48 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
:Content-Description:In-Reply-To:References;
bh=ZYdc2xoxU8aTN5huRY2NkRLY9XNOh36XTVNQPNG7hGw=; b=PUQrjlGi43SQhz0nFx0Nl5dv8n
5tOWQJJKWKwnj3UM9FAzfByjJ0STxSXJaN+1Q4aEe4pDLJAbVumSCrNy4NZVS5k2pmsd+lC2D6+c2
LyHjltSSihDNjVs38kPdJw5C2deHuqJWZ1R6TmATIpZSPy/MHGX1ujhs0upWJCsgm5iwwVa8hxvH7
Rbw7j0UKnQzN2eZCFCOjh2lM/BLn66CNYaZKQVDb44AdB/gXtod2ts41+uCk3KKAhLWJmm32Ltw8r
Eo3Zlo3MUcmuAIIF8Q8jF7EIjtnSErIVjcrGkieOJaQrQf/Xzsax336driOQ8KZ14NTXG9eOOHb1y
nZlgMxJw==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xRXn4-0000000HKa6-3xhB;
Thu, 12 Nov 2026 16:36:46 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Nico Della Torre <nicoz91@ubuntu.com>
To: 1095371-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: python-dtcwt
Debian: DAK
Debian-Changes: python-dtcwt_0.14.0-2_source.changes
Debian-Source: python-dtcwt
Debian-Version: 0.14.0-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1095371: fixed in python-dtcwt 0.14.0-2
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============5558292284835607454=="
Message-Id: <E1xRXn4-0000000HKa6-3xhB@fasolo.debian.org>
Date: Thu, 12 Nov 2026 16:36:46 +0000
--===============5558292284835607454==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: python-dtcwt
Source-Version: 0.14.0-2
Done: Nico Della Torre <nicoz91@ubuntu.com>
We believe that the bug you reported is fixed in the latest version of
python-dtcwt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1095371@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nico Della Torre <nicoz91@ubuntu.com> (supplier of updated python-dtcwt packa=
ge)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 12 Nov 2026 14:05:37 +0100
Source: python-dtcwt
Architecture: source
Version: 0.14.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alio=
th.debian.org>
Changed-By: Nico Della Torre <nicoz91@ubuntu.com>
Closes: 1095371
Changes:
python-dtcwt (0.14.0-2) unstable; urgency=3Dmedium
.
* Team upload.
* Fix compatibility with NumPy 2 (Closes: #1095371)
* Convert d/watch to version 5
Checksums-Sha1:
86a89e185489fb4f76917524d943c8b6b753400d 1834 python-dtcwt_0.14.0-2.dsc
83e49f2f5da49590ec0648fda5829216fb97a1da 8108 python-dtcwt_0.14.0-2.debian.t=
ar.xz
6990e0b9911508332ff092c4a007ccbd2dc472e9 9587 python-dtcwt_0.14.0-2_amd64.bu=
ildinfo
Checksums-Sha256:
ffe4e934151abdd89b9fd3ef9f19ebb53efc8018b10b3ec8e5aad2c4dca4385d 1834 python=
-dtcwt_0.14.0-2.dsc
abb2eaa99b39c434266ae68a4d6ff8dd3f8735b0875a733aa9894189ee0c92e5 8108 python=
-dtcwt_0.14.0-2.debian.tar.xz
cbcd974b4c6d937647855b67041202bcf900be7f9aee6a48bc88814bf6ee1eee 9587 python=
-dtcwt_0.14.0-2_amd64.buildinfo
Files:
185342de5c6ab8a06bf8bf9b099239cf 1834 science optional python-dtcwt_0.14.0-2=
.dsc
757233dda006fcb0ec14abd35560f0b7 8108 science optional python-dtcwt_0.14.0-2=
.debian.tar.xz
406103ccade781dadceb2b46c5c6242d 9587 science optional python-dtcwt_0.14.0-2=
_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQEVui8HcCwJ++NZqaVSTeH9vGfAwUCavXlQAAKCRCVSTeH9vGf
A/LiAQDv0bUCnlnrK1pgl+wtC/1HS6Lp4OmlPPfYctC0KWHnDAD/Ti2V48malagI
/StylA74M626lnA6TpEo3afGQay4SwY=3D
=3DmxKi
-----END PGP SIGNATURE-----
--===============5558292284835607454==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCavXrHgAKCRCb9qggYcy5
IUWVAPwIFFbkrC3vY7V/FoRj8G49x18ExHdZw2VkS1TH3e5nmQEA2+RRxwVTxOpm
nJcAzH6OJzskvKjEoqwcIW0h+ZDzEAo=
=RQTb
-----END PGP SIGNATURE-----
--===============5558292284835607454==--
------------=_1794501543-531067-0--
Technical Details
Message-ID:
<NYG09-bsAa-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NYG09-bsAa-11@gated-at.bofh.it> <Kdvv4-f4L5-125@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1095371: marked as done (python-dtcwt: FTBFS: E AttributeError: `np.asfarray` was removed in the NumPy 2.0 release.) Date: Thu, 12 Nov 2026 17:40:01 +0100 Message-ID: <NYG09-bsAa-9@gated-at.bofh.it> References: <NYG09-bsAa-11@gated-at.bofh.it> <Kdvv4-f4L5-125@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Thu Nov 12 16:39:12 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -2 MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1095371 X-Debian-Pr-Package: src:python-dtcwt X-Debian-Pr-Keywords: ftbfs trixie forky sid X-Debian-Pr-Source: python-dtcwt Reply-To: 1095371@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1794501543-531067-0" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838052 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 774 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 12 Nov 2026 16:39:03 +0000 X-Original-Message-ID: <handler.1095371.D1095371.1794501410529460.ackdone@bugs.debian.org> X-Original-References: <E1xRXn4-0000000HKa6-3xhB@fasolo.debian.org> <E1tgNDc-00GhKb-Li@paradis.debian.org>