Your message dated Thu, 30 Jun 2022 17:22:35 +0000
with message-id <e1o6xsb-0005jm...@fasolo.debian.org>
and subject line Bug#1010430: fixed in skimage 0.19.3-1
has caused the Debian Bug report #1010430,
regarding tifffile breaks skimage autopkgtest: asarray() got an unexpected 
keyword argument 'multifile'
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 ow...@bugs.debian.org
immediately.)


-- 
1010430: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010430
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: tifffile, skimage
Control: found -1 tifffile/20220426-1
Control: found -1 skimage/0.18.3-2
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of tifffile the autopkgtest of skimage fails in testing when that autopkgtest is run with the binary packages of tifffile from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
tifffile               from testing    20220426-1
skimage                from testing    0.18.3-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of tifffile to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=tifffile

https://ci.debian.net/data/autopkgtest/testing/amd64/s/skimage/21268058/log.gz

_______________________ test_tifffile_kwarg_passthrough ________________________

    def test_tifffile_kwarg_passthrough ():
      img = imread(fetch('data/multipage.tif'), key=[1],
                     multifile=False, multifile_close=True, fastij=True,
                     is_ome=True)

/usr/lib/python3/dist-packages/skimage/io/tests/test_tifffile.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/skimage/io/_io.py:48: in imread
    img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
/usr/lib/python3/dist-packages/skimage/io/manage_plugins.py:207: in call_plugin
    return func(*args, **kwargs)
/usr/lib/python3/dist-packages/skimage/io/_plugins/tifffile_plugin.py:30: in imread
    return tifffile_imread(fname, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
files = '/usr/lib/python3/dist-packages/skimage/data/../data/multipage.tif'
aszarr = False
kwargs = {'fastij': True, 'key': [1], 'multifile': False, 'multifile_close': True}
kwargs_file = {'is_ome': True}, kwargs_seq = {}
tif = <tifffile.TiffFile 'multipage.tif'>

    def imread(
        files: str
        | os.PathLike
        | FileHandle
        | BinaryIO
        | Sequence[str | os.PathLike]
        | None = None,
        *,
        aszarr: bool = False,
        **kwargs,
    ) -> numpy.ndarray | ZarrTiffStore | ZarrFileSequenceStore:
"""Return image data from TIFF file(s) as numpy array or zarr storage. Refer to the TiffFile and TiffSequence classes and their asarray
        functions for documentation.
            Parameters
        ----------
        files : path-like, binary stream, or sequence
            File name, seekable binary stream, glob pattern, or sequence of
            file names. May be None (default) if 'container' is specified.
        aszarr : bool
            If True, return file sequences, series, or single pages as
            zarr storage instead of numpy array (experimental).
        **kwargs
            Optional extra arguments.
Parameters 'name', 'offset', 'size', and 'is_' flags are passed to
            TiffFile or TiffSequence.imread.
Parameters 'imread', 'container', 'sort', 'pattern', 'axesorder',
            and 'categories' are passed to TiffSequence.
            Other parameters are passed to the asarray or aszarr functions.
The first image series in the file is returned if no arguments are
            provided.
            Returns
        -------
        numpy.ndarray or zarr storage
            Image data from the specified pages.
            Zarr storage instances must be closed after use.
            See TiffPage.asarray for operations that are applied (or not)
            to the raw data stored in the file.
            """
        kwargs_file = parse_kwargs(
            kwargs,
            'name',
            'offset',
            'size',
            # private
            '_multifile',
            '_useframes',
            # is_flags
            *(key for key in kwargs if key[:3] == 'is_'),
        )
        kwargs_seq = parse_kwargs(
            kwargs,
            'imread',
            'container',
            'sort',
            'pattern',
            'axesorder',
            'categories',
        )
            if kwargs_seq.get('container', None) is None:
            if isinstance(files, str) and ('*' in files or '?' in files):
                files = glob.glob(files)
            if not files:
                raise ValueError('no files found')
                if (
                isinstance(files, collections.abc.Sequence)
                and not isinstance(files, str)
                and len(files) == 1
            ):
                files = files[0]
                if isinstance(files, str) or not isinstance(
                files, collections.abc.Sequence
            ):
                with TiffFile(files, **kwargs_file) as tif:
                    if aszarr:
                        return tif.aszarr(**kwargs)
                  return tif.asarray(**kwargs)
E TypeError: asarray() got an unexpected keyword argument 'multifile'

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: skimage
Source-Version: 0.19.3-1
Done: Ole Streicher <oleb...@debian.org>

We believe that the bug you reported is fixed in the latest version of
skimage, 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 1010...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated skimage package)

(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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 25 Jun 2022 19:45:33 +0200
Source: skimage
Architecture: source
Version: 0.19.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1010430
Changes:
 skimage (0.19.3-1) unstable; urgency=medium
 .
   * New upstream version 0.19.3
   * Rediff patches. Drop patches applied upstream.
   * Drop versionized build deps where applicable
   * Push Standards-Version to 4.6.0. No changes needed
   * Add new build dependencies python3-pythran, python3-pooch
   * Skip more files that require pooch and internet
   * Remove use of deprecated kwargs from test_tifffile_kwarg_passthrough
     (Closes: #1010430)
Checksums-Sha1:
 5d97aadb02346996de3b296ade55450970379809 2895 skimage_0.19.3-1.dsc
 f80bc957d6f2bafc7c74e3b9e9972686279ef6c1 22978982 skimage_0.19.3.orig.tar.gz
 3cb6d9214c2f8b56b92aa114a804ac3e22bfc734 25296 skimage_0.19.3-1.debian.tar.xz
Checksums-Sha256:
 0d5e16305f9a2040207fa393a581366a78aad7f7e6bd839de239c58c8d6c5264 2895 
skimage_0.19.3-1.dsc
 4eb877c98d1395769daef5bc2ba8a7efd3f736c87086aecb3775a9174593398b 22978982 
skimage_0.19.3.orig.tar.gz
 e76d27eb23d52e905490326457a9b22cb32e157ad9a35ed8144ce9219aae7d5d 25296 
skimage_0.19.3-1.debian.tar.xz
Files:
 f44cfec6df859156ec8e3481563c3bb8 2895 python optional skimage_0.19.3-1.dsc
 cf5d57730c66ca394a9e979741193cae 22978982 python optional 
skimage_0.19.3.orig.tar.gz
 b7a787a9b329321406076a31a40c0129 25296 python optional 
skimage_0.19.3-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmK90usACgkQcRWv0HcQ
3PfwohAAvNtvkMpfQ+kxZk+KUaaKikadzPxxdwq2yft+eDb5j3BeIWTXoXnAZksN
US9ZRC4xlez8AQmBkX8NfWbZFRuW7OypqRk9Ov3SlGIGxBW2roRABQAL/0+vRTkF
fy7vcACznlhLnkQNjXORaGaNBaMxLrvFmOxPMXobPFvK9SMPmKtMUiUJHCtn00SV
N2ly4GFyU0i7yiBZEEk57wxOtVq2saGVs+HfLaN73Ml3egy9J+0V8jEFhA+gpjtP
d/b5ZG0eykc22jU8j9ag6fsWIugT6cldP3ZCf2IVaFgz7FJ9h7B8jA9qnrGXIAvp
yUqf+XcbevlPTj4sHmxIWqGSF7AYcEW98CRdd0T1yeEOhI81Na/IHQwtRAd8U/Kc
a+wBht9cpA57WbqID7y4Zlfq7VlG9heGgeFBsJc2SoStvomjhvLhvkt6UIt9q+tG
3ivXtqnX04LP24a/E76LQSUbVlAr6IkanabUjgVNLpZpu5Ntt5vSakE8x4VD1ZjS
Qyj6gRXqA58Ol7O7aLhPJlyiz3gNfw/56EgZJH2dCQPZUg7kH3Owf4YI+k5AxuoN
P7Fm61zsuvQian8s+wmEQ0Wkxlqgt+GdfRZWV2df4VYNH2ylApwPty4KYRaN5qEE
0dwuxlFKY0VnTSpYji1NJ0g+c1uKYT6oJ7LjFUkOE5tYssA46Xk=
=NAEX
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to