-
Notifications
You must be signed in to change notification settings - Fork 15
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
Tests failing on main - Fedora 40 Python 3.12.5 #380
Comments
Debugging informationRunning About the SyntaxWarningThe
This can be reproduced also locally, with
The other flags seem not to have any effect, and
Seems that wakepy users are unaffected; there's no SyntaxWarning when importing: In [1]: import wakepy
In [2]: from wakepy import Method
In [3]: from wakepy.core.method import Method Could not also get any SyntaxWarning when playing around with the Method in an interactive shell. This seems to be not an issue. Going to simply remove the warning by fixing the string. About pytest.PytestUnraisableExceptionWarningThese all occur in the There is a warning filter in
and it says it's filtering warnings such as
which was encountered on Ubuntu. Seems that on Fedora the error text is slightly different:
which is not captured by the regex. So the fix here is just to fix the regex to also ignore warnings on Fedora, and perhaps improve documentation a bit. |
Just tried running tests on latest commit on
main
(6b3b0f8), and here's what I get:inv test
if the
SyntaxError: invalid escape sequence '\*'
above is fixed, there's a set of tests which still fail:inv tests still failing
The strange thing is that the commit, which was from #379 , had normal CI pipelines checks which all passed.
Tasks
Make the pipelines fail if there are Warnings. They already do. The warning was emitted only with the--cov
flag so it's somehow related to coverage calculation, and it was not reproducible in other means.If possible, make the pipelines fail with the sockets related PytestUnraisableExceptionWarningsNot feasible/possible. Added a test for the warnings filter regex that makes sure the Ubuntu and Fedora 40 versions are handled.The text was updated successfully, but these errors were encountered: