Skip to content

Conversation

@cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Jul 13, 2025

async-timeout is deprecated for Python 3.11+ as it's now included in the stdlib.
https://github.com/aio-libs/async-timeout

@postlund
Copy link
Owner

Thank you @cdce8p! Can you fix the conflict? May I suggest that you move the conditional import code to pyatv/support/__init__.py and just do from pyatv.support import async_timeout instead? Maybe also add a comment/todo there that we can remove that part once the lowest supported python version is 3.11?

@cdce8p
Copy link
Contributor Author

cdce8p commented Dec 12, 2025

This should be good now. Modified the imports to add # noqa: F401 since they aren't used in pyatv.support themselves.

@postlund postlund merged commit 410d415 into postlund:master Dec 12, 2025
18 checks passed
@cdce8p cdce8p deleted the asyncio-timeout branch December 12, 2025 21:06
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

Successfully merging this pull request may close these issues.

2 participants