skimage/0.22.0-3ubuntu1 vs pytest/8.2.1-2

Bug #2068531 reported by Chris Peterson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
skimage (Debian)
Fix Released
Unknown
skimage (Ubuntu)
Fix Released
Undecided
Chris Peterson

Bug Description

Skimage's autopkgtests fail only on s390x with the following error after moving to pytest8.2:

448s =================================== FAILURES ===================================
448s ______________________________ test_imread_handle ______________________________
448s
448s def test_imread_handle():
448s expected = np.load(fetch('data/chessboard_GRAY_U8.npy'))
448s with open(fetch('data/chessboard_GRAY_U16.tif'), 'rb') as fh:
448s img = imread(fh)
448s > assert img.dtype == np.uint16
448s E AssertionError: assert dtype('<u2') == <class 'numpy.uint16'>
448s E + where dtype('<u2') = array([[255, 255, 255, ..., 0, 0, 0],\n [255, 255, 255, ..., 0, 0, 0],\n [255, 255, 255, ..., 0, 0, 0],\n ...,\n [ 0, 0, 0, ..., 255, 255, 255],\n [ 0, 0, 0, ..., 255, 255, 255],\n [ 0, 0, 0, ..., 255, 255, 255]], dtype='<u2').dtype
448s E + and <class 'numpy.uint16'> = np.uint16
448s
448s /usr/lib/python3/dist-packages/skimage/io/tests/test_tifffile.py:48: AssertionError

Related branches

Changed in skimage (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package skimage - 0.23.2-1ubuntu1

---------------
skimage (0.23.2-1ubuntu1) oracular; urgency=medium

  * Merge with Debian unstable (LP: #2068540, LP: #2068531). Remaining changes:
    - Use the vendored distutils in setuptools instead of trying to
    use the one from stdlib, which is no longer in Python 3.12

skimage (0.23.2-1) unstable; urgency=medium

  * New upstream version 0.23.2. Switch back to unstable
  * Rediff patches

skimage (0.23.2~rc1-1) experimental; urgency=medium

  * New upstream release candidate 0.23.2~rc1
  * Switch to experimental
  * Rediff patches

skimage (0.23.1-3) unstable; urgency=medium

  * Ignore more warnings for non-x86 archs

skimage (0.23.1-2) unstable; urgency=medium

  * Don't turn Invalid Value in Cast warnings into errors

skimage (0.23.1-1) unstable; urgency=medium

  [ Alexandre Detiste ]
  * remove old extraneous dependency on python3-six

  [ Ole Streicher ]
  * New upstream version 0.23.1
  * Rediff patches
  * Don't turn deprecation warnings into errors
  * Skip test_gray_morphology: needs downloaded data
  * New build dependency python3-pytest-doctestplus

 -- Chris Peterson <email address hidden> Wed, 05 Jun 2024 20:22:55 -0700

Changed in skimage (Ubuntu):
status: New → Fix Released
Changed in skimage (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.