Skip to content
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

aiohttp.Timeout is now gone (as of aiohttp 3.0.0) #698

Closed
markgajdosik opened this issue Mar 6, 2018 · 2 comments
Closed

aiohttp.Timeout is now gone (as of aiohttp 3.0.0) #698

markgajdosik opened this issue Mar 6, 2018 · 2 comments

Comments

@markgajdosik
Copy link

Hello, zeep 2.5 with asynchronous transport fails with aiohttp >= 3.0.0 as aiohttp.Timeout has been deprecated (see aio-libs/aiohttp#2348). According to the ticket, zeep might need to use async_timeout.timeout context manager instead of relying on the deprecated aiohttp.Timeout.

@ba1dr
Copy link

ba1dr commented Mar 6, 2018

Quick workaround while it is not fixed:

import aiohttp
import async_timeout
aiohttp.Timeout = async_timeout.timeout
from zeep import Client as ZeepClient

@mvantellingen
Copy link
Owner

Fixed in #735 i think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants