-
Notifications
You must be signed in to change notification settings - Fork 13
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
Asyncio_mode warnings fired by plugin.py #50
Comments
Actually sorry there's two warnings that pop up, and the fix I propose is more directly related to the other. I don't think there's anything that can "fix" this deprecation warning at the pytest-operator level. I believe this must be addressed by the user calling |
FYI, for anyone coming to this after seeing an odd change in your code's behaviour, it might be because pytest-asyncio v0.19.0 changed the default valut of |
A link to a deeper dive after some more research |
Experiencing some related issues right now. Apparently pytest-operator is getting stuck for hours https://github.com/canonical/traefik-k8s-operator/actions/runs/7083208411/job/19275228212?pr=279 |
If you pin There was a change in In pytest-operator, we mess with the event loop here: pytest-operator/pytest_operator/plugin.py Lines 171 to 176 in ab50fc2
|
yarp: #119 |
Hi team, @jnsgruk++ @PietroPasotti++ for the proposal. One thing I noticed is that
That is why we were hanging forever. I filed a bug with Python: python/cpython#112741, explaining we are missing a condition to catch this corner case. |
I get a bunch of these warnings when running the tests.
Maybe some develop branch is already preparing for these changes/upgrading a dependency version, but, to make sure...
The text was updated successfully, but these errors were encountered: