Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop anyio dependency #34

Open
miili opened this issue Dec 24, 2023 · 0 comments
Open

Drop anyio dependency #34

miili opened this issue Dec 24, 2023 · 0 comments

Comments

@miili
Copy link

miili commented Dec 24, 2023

Hi @alexdelorenzo,

thanks for this handy library. Delving into the code I cannot see the necessity for anyio dependency.

stdlib asyncio provides to_thread or loop.run_in_executor to push sync functions to threads.
What is the motivation to using AnyIO?

Maybe aiofiles can be demoted to dev dependency, as it is only used by tests. To clean the installation procedure we could remove setup.py and requirements*.txt to use only pyproject.toml / poetry.

Would a PR be welcome?

Thanks and merry christmas!

M

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

No branches or pull requests

1 participant