-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Bring CI back to all-working condition #5822
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
Changes from 3 commits
88c0191
61d7577
25b4c33
bb8a794
13c1c14
bd3900e
bd75761
0f5a29d
e70ac7f
4de21d8
38e9fa7
26496bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,8 +199,10 @@ def _run_in_process(target, *args, **kwargs): | |
if process.exitcode is None: | ||
assert t_delta > 0.9 * timeout | ||
msg = "DEADLOCK, most likely, exactly what this test is meant to detect." | ||
if env.PYPY and env.WIN: | ||
pytest.skip(msg) | ||
if env.WIN and env.PYPY: | ||
pytest.xfail("[TEST-GIL-SCOPED] Windows PyPy: " + msg) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This didn't run before, now it will. Guessing that's fine? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See other comment: Note that no other code is executed after the |
||
elif env.MACOS and not env.sys_is_gil_enabled(): | ||
pytest.xfail("[TEST-GIL-SCOPED] macOS free-threading: " + msg) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't always fail, does it? So There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The To be sure I looked it up the good-old way: https://docs.pytest.org/en/stable/how-to/skipping.html#xfail-mark-test-functions-as-expected-to-fail
|
||
raise RuntimeError(msg) | ||
return process.exitcode | ||
finally: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd name this "extra_install", I think, since it's there to install extra stuff. And you can leave it off on the other job, variables default to empty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: commit bb8a794