Skip to content

remove use of deprecated policy APIs in aiohttp #10850

@kumaraditya303

Description

@kumaraditya303

Describe the bug

Python 3.14 has deprecated the entire policy system of asyncio as such aiohttp tests needs to be adjusted to avoid using deprecated APIs.

To Reproduce

Run the tests on 3.14 main branch.

Expected behavior

No warnings

Logs/tracebacks

none

Python Version

$ python --version
3.14

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

All

Related component

Server

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions