Your message dated Mon, 19 Oct 2020 21:03:45 +0000
with message-id <[email protected]>
and subject line Bug#972516: fixed in dask 2.11.0+dfsg-2
has caused the Debian Bug report #972516,
regarding dask: fsspec API changes / new aiohttp dependency
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 [email protected]
immediately.)


-- 
972516: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972516
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-dask
Version: 2.11.0+dfsg-1

Some of fsspec's functionality now requires python3-aiohttp, including parts used in dask autopkgtests:

https://ci.debian.net/data/autopkgtest/testing/amd64/d/dask/7549002/log.gz

Some of these work if I add a test-dependency, but 2 continue to fail.

Upstream fixes:
https://github.com/dask/dask/commit/024f690b6d269c11a496db088c4ddd8d5de12a49
https://github.com/dask/dask/commit/416d348f7174a302815758cb87dbf6983226ddc5

_________________________________ test_errors __________________________________

dir_server = '/tmp/tmpt3k96rrg'

    def test_errors(dir_server):
        f = open_files("http://localhost:8999/doesnotexist";)[0]
        with pytest.raises(requests.exceptions.RequestException):
            with f as f:
>               f.read()

/usr/lib/python3/dist-packages/dask/bytes/tests/test_http.py:117:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/fsspec/implementations/http.py:343: in read
    self._fetch_all()
/usr/lib/python3/dist-packages/fsspec/asyn.py:121: in wrapper
    return maybe_sync(func, self, *args, **kwargs)
/usr/lib/python3/dist-packages/fsspec/asyn.py:100: in maybe_sync
    return sync(loop, func, *args, **kwargs)
/usr/lib/python3/dist-packages/fsspec/asyn.py:71: in sync
    raise exc.with_traceback(tb)
/usr/lib/python3/dist-packages/fsspec/asyn.py:55: in f
    result[0] = await future
/usr/lib/python3/dist-packages/fsspec/implementations/http.py:360: in async_fetch_all
    r.raise_for_status()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ClientResponse(http://localhost:8999/doesnotexist) [404 File not found]> <CIMultiDictProxy('Server': 'SimpleHTTP/0.6 ...19 Oct 2020 18:05:00 GMT', 'Connection': 'close', 'Content-Type': 'text/html;charset=utf-8', 'Content-Length': '469')>


    def raise_for_status(self) -> None:
        if 400 <= self.status:
            # reason should always be not None for a started response
            assert self.reason is not None
            self.release()
>           raise ClientResponseError(
                self.request_info,
                self.history,
                status=self.status,
                message=self.reason,
                headers=self.headers)
E aiohttp.client_exceptions.ClientResponseError: 404, message='File not found', url=URL('http://localhost:8999/doesnotexist')

/usr/lib/python3/dist-packages/aiohttp/client_reqrep.py:941: ClientResponseError ----------------------------- Captured stderr call -----------------------------
127.0.0.1 - - [19/Oct/2020 18:05:00] code 404, message File not found
127.0.0.1 - - [19/Oct/2020 18:05:00] "HEAD /doesnotexist HTTP/1.1" 404 -
127.0.0.1 - - [19/Oct/2020 18:05:00] code 404, message File not found
127.0.0.1 - - [19/Oct/2020 18:05:00] "GET /doesnotexist HTTP/1.1" 404 -
________________________ test_urlpath_inference_errors _________________________

    def test_urlpath_inference_errors():
        # Empty list
        with pytest.raises(ValueError, match="empty"):
            get_fs_token_paths([])

        # Protocols differ
        with pytest.raises(ValueError, match="the same protocol"):
            get_fs_token_paths(["s3://test/path.csv", "/other/path.csv"])

        # Options differ
with pytest.raises(ValueError, match="the same file-system options"):
            get_fs_token_paths(
                [
                    "ftp://[email protected]/test/path.csv";,
                    "ftp://[email protected]/other/path.csv";,
                ]
            )

        # Unknown type
        with pytest.raises(TypeError):
>           get_fs_token_paths(
                {
                    "sets/are.csv",
                    "unordered/so/they.csv",
                    "should/not/be.csv",
                    "allowed.csv",
                }
            )
E           Failed: DID NOT RAISE <class 'TypeError'>

/usr/lib/python3/dist-packages/dask/bytes/tests/test_local.py:86: Failed

--- End Message ---
--- Begin Message ---
Source: dask
Source-Version: 2.11.0+dfsg-2
Done: Stefano Rivera <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dask, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated dask 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 [email protected])


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

Format: 1.8
Date: Mon, 19 Oct 2020 13:39:49 -0700
Source: dask
Architecture: source
Version: 2.11.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 969648 972516
Changes:
 dask (2.11.0+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Ondřej Nový ]
   * d/control: Update Maintainer field with new Debian Python Team
     contact address.
   * d/control: Update Vcs-* fields with new Debian Python Team Salsa
     layout.
 .
   [ Stefano Rivera ]
   * Round-trip patches through gbp-pq.
   * Patch: Compatibility with pandas 1.1, Thanks Rebecca Palmer.
     (Closes: #969648)
   * wrap-and-sort control files.
   * Patches for compatibility with current fsspec. (Closes: #972516)
     - Depend on python3-aiohttp for autopkgtests.
Checksums-Sha1:
 3b0d97bba8ab263cecd2116222c0310491ddc499 2279 dask_2.11.0+dfsg-2.dsc
 25aae11bd9d52bbcdf99574071e5173b23283e43 12540 dask_2.11.0+dfsg-2.debian.tar.xz
 160915010b557db34c9c25288ac8eab7649e367e 7209 
dask_2.11.0+dfsg-2_source.buildinfo
Checksums-Sha256:
 a0b51e7ba2d36c5a58edd73e7333ef596eaad2787189aa71346d3e9dbb0fa5cb 2279 
dask_2.11.0+dfsg-2.dsc
 8ac1158d3c47dd024e8fdbc644a2de14008f6c55ba4cf1515e427c3411f9d2b8 12540 
dask_2.11.0+dfsg-2.debian.tar.xz
 3e1bf92a07ed480410617ac3300b118e28376df593a6451ea162fde10c864d28 7209 
dask_2.11.0+dfsg-2_source.buildinfo
Files:
 81f40392ca5c411948c250850fb36652 2279 python optional dask_2.11.0+dfsg-2.dsc
 3c329a1f6348638d059a30ff57feac09 12540 python optional 
dask_2.11.0+dfsg-2.debian.tar.xz
 4084b3fe2cbe9f748c299ea88dfc6c43 7209 python optional 
dask_2.11.0+dfsg-2_source.buildinfo

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

iHUEARYKAB0WIQTumtb5BSD6EfafSCRHew2wJjpU2AUCX435xAAKCRBHew2wJjpU
2PYQAPoDruWTg1mARMCn2/3w8kimnbhJkE1/LSN53zcLmue2bgD/afHDOmGveQ4n
PVtmKwO4zs+l1tfsI+MaJHYBBpMVHgM=
=tPhz
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to