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

Replace pytest-asyncio with anyio #655

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Aug 6, 2024

In other Dask projects we've found that pytest-asyncio causes a bunch of headaches. The test tooling from anyio is much more reliable.

This PR replaces pytest-asyncio with anyio as a test dependency. It configures anyio to only use the asyncio backend for testing and replaces the pytest marks where needed.

@jacobtomlinson jacobtomlinson added enhancement New feature or request CI Continuous Integration tools labels Aug 6, 2024
@jacobtomlinson
Copy link
Member Author

Looks like we still need pytest-asyncio to be included in the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration tools enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant