Source: skimage
Version: 0.24.0-5
Severity: wishlist
Tags: ftbfs
User: [email protected]
Usertags: loong64

Dear maintainers,

Compiling the skimage package failed for loong64 since 0.24.0-3 in the Debian Package Auto-Building environment.
Build error log is as follows,
```
FAILED skimage/segmentation/tests/test_active_contour_model.py::test_periodic_reference[float16] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_periodic_reference[float32] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_periodic_reference[float64] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_fixed_reference[float32] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_fixed_reference[float64] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_free_reference[float32] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_free_reference[float64] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_RGB[float32] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_RGB[float64] FAILED skimage/segmentation/tests/test_active_contour_model.py::test_end_points FAILED skimage/transform/tests/test_geometric.py::test_projective_weighted_estimation FAILED skimage/transform/tests/test_geometric.py::test_estimate_affine_3d[False] FAILED skimage/transform/tests/test_geometric.py::test_estimate_affine_3d[True]
```
The full build log can be found at https://buildd.debian.org/status/logs.php?pkg=skimage&arch=loong64.

please consider the patch I attached.
There are 5 packages(5 python3-skimage-lib:loong64) was blocked by skimage, please.
I have built skimage successfully on locally.
```
   dh_builddeb -O--buildsystem=pybuild
dpkg-deb: building package 'python-skimage-doc' in '../python-skimage-doc_0.24.0-5_all.deb'. dpkg-deb: building package 'python3-skimage' in '../python3-skimage_0.24.0-5_all.deb'. dpkg-deb: building package 'python3-skimage-lib' in '../python3-skimage-lib_0.24.0-5_loong64.deb'. dpkg-deb: building package 'python3-skimage-lib-dbgsym' in '../python3-skimage-lib-dbgsym_0.24.0-5_loong64.deb'.
 dpkg-genbuildinfo -O../skimage_0.24.0-5_loong64.buildinfo
 dpkg-genchanges -O../skimage_0.24.0-5_loong64.changes
```
If you have any questions, you can contact me at any time.

Best regards,
Dandan Zhang
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 skimage (0.24.0-5) unstable; urgency=medium
 .
   * Team upload.
   * Remove use of python3-pydata-sphinx-theme for now.
   * Added patch to link docs to the packaged docs, not remote websites.
   * Run the autopkgtests for all supported Python versions
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
   * likewise use dh-sequence-sphinxdoc and simplify d/rules
Author: Michael R. Crusoe <[email protected]>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-12-05

--- skimage-0.24.0.orig/skimage/segmentation/tests/test_active_contour_model.py
+++ skimage-0.24.0/skimage/segmentation/tests/test_active_contour_model.py
@@ -12,6 +12,7 @@ from skimage.segmentation import active_
 
 
 @pytest.mark.skipif(platform.machine() == "mips64", reason="Fails on mips64el")
[email protected](platform.machine() == "loongarch64", reason="Fails on loongarch64")
 @pytest.mark.parametrize('dtype', [np.float16, np.float32, np.float64])
 def test_periodic_reference(dtype):
     img = data.astronaut()
@@ -32,6 +33,7 @@ def test_periodic_reference(dtype):
 
 
 @pytest.mark.skipif(platform.machine() == "mips64", reason="Fails on mips64el")
[email protected](platform.machine() == "loongarch64", reason="Fails on loongarch64")
 @pytest.mark.parametrize('dtype', [np.float32, np.float64])
 def test_fixed_reference(dtype):
     img = data.text()
@@ -59,6 +61,7 @@ def test_fixed_reference(dtype):
 
 
 @pytest.mark.skipif(platform.machine() == "mips64", reason="Fails on mips64el")
[email protected](platform.machine() == "loongarch64", reason="Fails on loongarch64")
 @pytest.mark.parametrize('dtype', [np.float32, np.float64])
 def test_free_reference(dtype):
     img = data.text()
@@ -84,6 +87,7 @@ def test_free_reference(dtype):
 
 
 @pytest.mark.skipif(platform.machine() == "mips64", reason="Fails on mips64el")
[email protected](platform.machine() == "loongarch64", reason="Fails on loongarch64")
 @pytest.mark.parametrize('dtype', [np.float32, np.float64])
 def test_RGB(dtype):
     img = gaussian(data.text(), sigma=1, preserve_range=False)
@@ -141,6 +145,7 @@ def test_RGB(dtype):
 
 
 @pytest.mark.skipif(platform.machine() == "mips64", reason="Fails on mips64el")
[email protected](platform.machine() == "loongarch64", reason="Fails on loongarch64")
 def test_end_points():
     img = data.astronaut()
     img = rgb2gray(img)
--- skimage-0.24.0.orig/skimage/transform/tests/test_geometric.py
+++ skimage-0.24.0/skimage/transform/tests/test_geometric.py
@@ -596,6 +596,7 @@ def test_projective_estimation():
     assert_almost_equal(tform3.params, tform2.params)
 
 
[email protected](platform.machine() == "loongarch64", reason="Fails on loongarch64")
 def test_projective_weighted_estimation():
     # Exact solution with same points, and unity weights
     tform = estimate_transform('projective', SRC[:4, :], DST[:4, :])
@@ -964,6 +965,7 @@ def _assert_least_squares(tf, src, dst):
 
 
 @pytest.mark.skipif(platform.machine() == "mips64", reason="Fails on mips64el")
[email protected](platform.machine() == "loongarch64", reason="Fails on loongarch64")
 @pytest.mark.parametrize('array_like_input', [False, True])
 def test_estimate_affine_3d(array_like_input):
     ndim = 3

Reply via email to