Skip to content

Conversation

d-v-b
Copy link
Contributor

@d-v-b d-v-b commented Sep 1, 2025

Sets the default asyncio fixture loop scope to "function". This only affects our async tests.

This PR silences the following warning, which one sees whenever one runs our test suite:

PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

I don't think this needs any release notes.

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Sep 1, 2025
@d-v-b d-v-b merged commit 6c04c82 into zarr-developers:main Sep 2, 2025
31 checks passed
@d-v-b d-v-b deleted the chore/pytest-loop-default-scope branch September 2, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants