[Debian-pan-maintainers] Bug#1095364: orange-spectroscopy: FTBFS: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
Santiago Vila
sanvila at debian.org
Fri Feb 7 12:12:10 GMT 2025
Package: src:orange-spectroscopy
Version: 0.8.1-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
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_orange-spectroscopy
* Building wheel...
[... snipped ...]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_editor_me_emsc.py:5: in <module>
from orangecontrib.spectroscopy.tests.test_owpreprocess import PreprocessorEditorTest
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_owpreprocess.py:24: in <module>
SMALL_COLLAGEN = smaller_data(Orange.data.Table("collagen"), 70, 4)
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_editor_normalize.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_editor_normalize.py:3: in <module>
from orangecontrib.spectroscopy.tests.test_owpreprocess import PreprocessorEditorTest
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_owpreprocess.py:24: in <module>
SMALL_COLLAGEN = smaller_data(Orange.data.Table("collagen"), 70, 4)
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_editor_spikeremoval.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_editor_spikeremoval.py:1: in <module>
from orangecontrib.spectroscopy.tests.test_owpreprocess import PreprocessorEditorTest
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_owpreprocess.py:24: in <module>
SMALL_COLLAGEN = smaller_data(Orange.data.Table("collagen"), 70, 4)
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_emsc.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_emsc.py:11: in <module>
from orangecontrib.spectroscopy.tests.test_preprocess import TestCommonIndpSamplesMixin, \
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_preprocess.py:19: in <module>
from orangecontrib.spectroscopy.tests.test_conversion import separate_learn_test, slightly_change_wavenumbers, odd_attr
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_conversion.py:21: in <module>
COLLAGEN = Orange.data.Table("collagen")
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_integrate.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_integrate.py:7: in <module>
from orangecontrib.spectroscopy.tests.test_preprocess import TestCommonIndpSamplesMixin, \
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_preprocess.py:19: in <module>
from orangecontrib.spectroscopy.tests.test_conversion import separate_learn_test, slightly_change_wavenumbers, odd_attr
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_conversion.py:21: in <module>
COLLAGEN = Orange.data.Table("collagen")
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_interpolate.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_interpolate.py:19: in <module>
from orangecontrib.spectroscopy.tests.test_preprocess import TestCommonIndpSamplesMixin, \
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_preprocess.py:19: in <module>
from orangecontrib.spectroscopy.tests.test_conversion import separate_learn_test, slightly_change_wavenumbers, odd_attr
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_conversion.py:21: in <module>
COLLAGEN = Orange.data.Table("collagen")
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_me_emsc.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_me_emsc.py:11: in <module>
from orangecontrib.spectroscopy.tests.test_preprocess import TestCommonIndpSamplesMixin, \
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_preprocess.py:19: in <module>
from orangecontrib.spectroscopy.tests.test_conversion import separate_learn_test, slightly_change_wavenumbers, odd_attr
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_conversion.py:21: in <module>
COLLAGEN = Orange.data.Table("collagen")
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_owpeakfit.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_owpeakfit.py:28: in <module>
COLLAGEN = Orange.data.Table("collagen")[0:3]
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_owpreprocess.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_owpreprocess.py:24: in <module>
SMALL_COLLAGEN = smaller_data(Orange.data.Table("collagen"), 70, 4)
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_preprocess.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_preprocess.py:19: in <module>
from orangecontrib.spectroscopy.tests.test_conversion import separate_learn_test, slightly_change_wavenumbers, odd_attr
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_conversion.py:21: in <module>
COLLAGEN = Orange.data.Table("collagen")
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
_ ERROR collecting .pybuild/cpython3_3.13_orange-spectroscopy/build/tests/test_xas.py _
/usr/lib/python3/dist-packages/Orange/data/io.py:170: in read
data = self.data_table(reader)
/usr/lib/python3/dist-packages/Orange/data/io_base.py:432: in data_table
return builder.create_table()
/usr/lib/python3/dist-packages/Orange/data/io_base.py:234: in create_table
return Table.from_numpy(self.get_domain(), *self.get_arrays())
/usr/lib/python3/dist-packages/Orange/data/io_base.py:381: in get_arrays
X, Y, M, W = [self._list_into_ndarray(lst, dt) for lst, dt in lists]
/usr/lib/python3/dist-packages/Orange/data/io_base.py:395: in _list_into_ndarray
assert array.dtype == np.float_
/usr/lib/python3/dist-packages/numpy/__init__.py:400: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The above exception was the direct cause of the following exception:
tests/test_xas.py:8: in <module>
from orangecontrib.spectroscopy.tests.test_preprocess import TestCommonIndpSamplesMixin, \
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_preprocess.py:19: in <module>
from orangecontrib.spectroscopy.tests.test_conversion import separate_learn_test, slightly_change_wavenumbers, odd_attr
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
orangecontrib/spectroscopy/tests/test_conversion.py:21: in <module>
COLLAGEN = Orange.data.Table("collagen")
/usr/lib/python3/dist-packages/Orange/data/table.py:716: in __new__
return cls.from_file(args[0], **kwargs)
/usr/lib/python3/dist-packages/Orange/data/table.py:1111: in from_file
data = reader.read()
/usr/lib/python3/dist-packages/Orange/data/io.py:183: in read
raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error
E ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/orangecanvas/utils/localization/__init__.py:5
/usr/lib/python3/dist-packages/orangecanvas/utils/localization/__init__.py:5: DeprecationWarning: import 'orangecanvas.localization', not 'orangecanvas.utils.localization'
warnings.warn(
../../../../../../usr/lib/python3/dist-packages/orangecanvas/utils/localization/si.py:5
/usr/lib/python3/dist-packages/orangecanvas/utils/localization/si.py:5: DeprecationWarning: import 'orangecanvas.localization.si', not 'orangecanvas.utils.localization.si'
warnings.warn(
orangecontrib/spectroscopy/widgets/owstackalign.py:6
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/widgets/owstackalign.py:6: DeprecationWarning: Please import `shift` from the `scipy.ndimage` namespace; the `scipy.ndimage.interpolation` namespace is deprecated and will be removed in SciPy 2.0.0.
from scipy.ndimage.interpolation import shift
../../../../../../usr/lib/python3/dist-packages/asteval/astutils.py:187
/usr/lib/python3/dist-packages/asteval/astutils.py:187: DeprecationWarning: `np.chararray` is deprecated and will be removed from the main namespace in the future. Use an array with a string or bytes dtype instead.
FROM_NUMPY = tuple(sym for sym in FROM_NUMPY if hasattr(numpy, sym))
../../../../../../usr/lib/python3/dist-packages/asteval/astutils.py:192
/usr/lib/python3/dist-packages/asteval/astutils.py:192: DeprecationWarning: `np.chararray` is deprecated and will be removed from the main namespace in the future. Use an array with a string or bytes dtype instead.
NUMPY_TABLE[sym] = getattr(numpy, sym)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR orangecontrib/spectroscopy/tests/test_als.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_atm_corr.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_conversion.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_cut.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_despike.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_als.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_atm_corr.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_baseline.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_cut.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_gaussian.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_me_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_normalize.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_editor_spikeremoval.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_integrate.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_interpolate.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_me_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_owpeakfit.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_owpreprocess.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_preprocess.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR orangecontrib/spectroscopy/tests/test_xas.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_als.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_atm_corr.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_conversion.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_cut.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_despike.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_als.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_atm_corr.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_baseline.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_cut.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_gaussian.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_me_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_normalize.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_editor_spikeremoval.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_integrate.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_interpolate.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_me_emsc.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_owpeakfit.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_owpreprocess.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_preprocess.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
ERROR tests/test_xas.py - ValueError: Cannot parse dataset /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build/orangecontrib/spectroscopy/datasets/collagen.csv: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
!!!!!!!!!!!!!!!!!!! Interrupted: 44 errors during collection !!!!!!!!!!!!!!!!!!!
======================= 5 warnings, 44 errors in 21.45s ========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orange-spectroscopy/build; python3.13 -m pytest --verbosity=2 -k "not Mixin"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13
make: *** [debian/rules:7: 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:orange-spectroscopy, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Debian-pan-maintainers
mailing list