-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new HTTP error for aiohttp #6433
Comments
^ this is in fsspec master, not yet released |
Are there other likely/common causes of |
The exception instance in the test contains the 404 explicitly, but there are probably other causes like various connection things (proxy...) and the full set of HTTP error codes. |
* Copes with fsspec switching requests -> aiohttp Fixes dask#6433 * black * Add aiohttp to dev envs
Since HTTPFileSystem now uses aiohttp, the exception has changed, such that the test dask/bytes/tests/test_http.py::test_errors fails: instead of
requests.exceptions.RequestException
, you get aaiohttp.client_exceptions.ClientResponseError
. This could be fixed in the test, but one might argue that fsspec should return a FileNotFoundError instead.The text was updated successfully, but these errors were encountered: