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

Fix broken pytest on github actions #163

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

PrincipleOfLeastAction
Copy link
Contributor

Hi, first time contributing to open-source project here sorry if I do anything wrong.

Issue

Version 0.19.0 of pytest-asyncio introduced a breaking change to the default asyncio mode. It changed the mode to strict which broke the pytest pipeline.

BREAKING: The default asyncio_mode is now strict.

Fix

To fix it, we set asyncio_mode to auto when running pytest on github actions. This fixes the pipeline on my master branch.

Hope this helps.

@sbidy sbidy merged commit b93f1cc into sbidy:master Jun 5, 2024
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