Python-zeep: aiohttp.Timeout is now gone (as of aiohttp 3.0.0)

Created on 6 Mar 2018  路  2Comments  路  Source: mvantellingen/python-zeep

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

Most helpful comment

Quick workaround while it is not fixed:

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

All 2 comments

Quick workaround while it is not fixed:

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

Fixed in #735 i think

Was this page helpful?
0 / 5 - 0 ratings

Related issues

majackson picture majackson  路  6Comments

nihankarslioglu picture nihankarslioglu  路  4Comments

YAmikep picture YAmikep  路  3Comments

alexfx picture alexfx  路  4Comments

alexdemari picture alexdemari  路  4Comments