Add the asyncio_default_fixture_loop_scope option.#218
Conversation
asyncio_default_fixture_loop_scope=""session" option.asyncio_default_fixture_loop_scope="session" option.
|
LGTM, but can we use the function scope instead? It's a little slower but no sharing probably makes for more isolated tests. BTW if you're looking for stuff to contribute, there are two larger projects: start testing on 3.14 (which has entered beta) and porting to uv. |
Sure, will narrow down the scope to the "function". UPD: done. Are you happy with the Yeah, I'd love to contribute.
Also, could you help me to close the issue #214 ? Either I cannot do it myself or I haven't seen how to remove the Py3.8 from the project badge. Much appreciated. P.S. Could you lay out your reasons why moving from PDM to UV? Just curious. |
asyncio_default_fixture_loop_scope="session" option.asyncio_default_fixture_loop_scope option.
|
I recently ported a different project of mine to uv, maybe you can use that as guidance: Tinche/incant#18 (no need to also introduce Just, that's a different change). We want to test on betas to see where we stand. It's also possible CPython breaks something in the new version and they need to know about it. Usually adding a new Python version is quite straightforward, if it's not we can hold off on merging the PR. The badge should update when we release the next version, I think it goes to PyPI for this metadata. |
|
Thanks! |
Thank you, I'll open a PR and, if things will go smoothly, I hope in one PR both uv and Py3.14 will be viable. |
Closes #136 .
Closes #195 .
Requires to bump the pytest-asyncio to the v 1.0.0 (released 2025-03-26), works fine with the Py3.9.