Skip to content

DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated #18

@simonw

Description

@simonw

Running the tests like this:

uv run --python 3.14 --isolated --with '.[test]' pytest

Outputs:

tests/test_asyncinject.py: 59 warnings
  /Users/simon/.cache/uv/archive-v0/noD3PT30mm9i8Pv-_jvsR/lib/python3.14/site-packages/asyncinject/__init__.py:101: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
    if not asyncio.iscoroutinefunction(fn):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions