Closed
Description
Describe the bug
Python 3.14 deprecates asyncio.iscoroutinefunction
in favor of inspect.iscoroutinefunction
and aiohttp at some places uses the deprecated name so it should be changed to newer inspect.iscoroutinefunction
.
To Reproduce
Run aiohttp tests on 3.14 to see the warnings.
Expected behavior
No warnings reported
Logs/tracebacks
NA
Python Version
$ python --version
Python 3.14.0a5+
aiohttp Version
$ python -m pip show aiohttp
multidict Version
$ python -m pip show multidict
propcache Version
$ python -m pip show propcache
yarl Version
$ python -m pip show yarl
OS
Linux
Related component
Client
Additional context
No response
Code of Conduct
- I agree to follow the aio-libs Code of Conduct