Your message dated Wed, 08 Jun 2022 19:19:36 +0000
with message-id <e1nz1dm-000b7t...@fasolo.debian.org>
and subject line Bug#1010430: fixed in skimage 0.18.3-3
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.18.3-3
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: Wed, 08 Jun 2022 18:33:48 +0200
Source: skimage
Architecture: source
Version: 0.18.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1009431 1010430
Changes:
 skimage (0.18.3-3) unstable; urgency=medium
 .
   * Remove use of deprecated kwargs from test_tifffile_kwarg_passthrough
     (Closes: #1010430)
   * handle PIL palettes with <256 colors (Closes: #1009431)
Checksums-Sha1:
 aae02cda197f6c74e98f9c5d1913f91f39cc6651 2905 skimage_0.18.3-3.dsc
 38084aa1bcf6f38c248ab1d8b44e5fe019279c8b 25316 skimage_0.18.3-3.debian.tar.xz
Checksums-Sha256:
 948fc7d3e7ca885c3910440b2fba324b3c283facfb7ce341ba14317fab4c5542 2905 
skimage_0.18.3-3.dsc
 130d3ab231dedaa2bc6dce3e862065b2e58953c0239287fc652f8bc3ca9093f1 25316 
skimage_0.18.3-3.debian.tar.xz
Files:
 3b2b1df1e8ec2fed472d8c06331875d6 2905 python optional skimage_0.18.3-3.dsc
 7f938c35c03c608bc32cc34f0f2b7ef0 25316 python optional 
skimage_0.18.3-3.debian.tar.xz

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

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmKg4m0ACgkQcRWv0HcQ
3PcjrxAAlD8u6YaptTrPJnziW3bpEGNFbna1NYJPQ+DaWGyUrfhOuthxVNSFY5nN
4Z2mwV2x7/CxeUcVcVcrnkkdZ4Kl0A+dyJYpwIJ+EuK5GWxZJ6qsqfxS1A1wU8G1
bpwSz4bS2029RVVQXGJ+IY8PcFfDCJuy5JnyB7cK7/ui8pPRpec9m5bAJujvOq6S
REbDC0dWhcLG+02zA+AcNEzZ6chVXO2smTBjCmbboyhuosL6ccRZJcCCPohe4mtr
MWIjcgiDRN16a6bu1l90ZYY/Etixw+4Afkhb0+DoYh9P1DMElgcZPM4qHLVFt/5I
gZqLI6kVwEZbsvxVNvdPBb0GX9kek1Fun8Cnwpodotxff+hx1GPge0WS/4faXiuT
qEsZE5RgQ2gl3xtqUpReQYjE2v4231mU76VArKycrzI3ePgeA/Z3bRVJ9v1RXrUB
+GMduTEI4DUj+QNBpPNK7z9MOqZZjVb2jmFsep76Z4fp0kfzTd+WKIoGPRHNd4O9
INzYrY2Lf1Xkw6sg+HaINuWdWd13YhNG62D3K7egWeUnPUg3D6z5zD1rhI3qyr+n
1WVoj+fTPSSr959Kvyq8uDNrzlud8LaGb/WjCoGdhUMvD0gu3j0P+mO5tisXqQy7
CobTMRBVqMbD7GRYMjsNvG9UV6f3QtF3U4Fvl+SucEmZ5e39+2Q=
=rcba
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to