-
Notifications
You must be signed in to change notification settings - Fork 760
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
ci: fix more ubuntu-24.04 failures #4610
Conversation
If this passes I will go straight to merge, as this is blocking everything else. |
@@ -114,6 +114,7 @@ mod tests { | |||
} | |||
|
|||
#[test] | |||
#[cfg(not(Py_GIL_DISABLED))] // https://github.com/python/cpython/issues/116738#issuecomment-2404360445 |
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.
We keep having a flaky failure on this test, from a quick look it seems to me that ZoneInfo
is not thread-safe. cc @ngoldbaum
I've included here because CI is a bit deadlocked between this failure and the other fixes in this PR.
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.
Thanks for the heads up! I'll try to take a look at this and report upstream to CPython if the bug is there. Disabling the test on the free-threaded build makes sense if it's flaky.
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 can reproduce this as well as some other failures I haven't seen until now.
When I switch back to rc2, I don't see them, so there must have been a CPython change between rc2 and final that caused this to happen.
ping @colesbury since this looks like it's happening because of late changes in CPython right before the release.
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.
Oh no, I can reproduce it on rc2. I think I missed this on my prior passes over the tests because I wasn't passing --features=full
in my cargo test
command. Sorry for the noise Sam!
* ci: fix more ubuntu-24.04 failures * use 22.04 to test 3.7 * disable zoneinfo test on free-threading
* ci: fix more ubuntu-24.04 failures * use 22.04 to test 3.7 * disable zoneinfo test on free-threading
Looks like in a few jobs we hadn't used
actions/setup-python
and were installing straight into the system environment, which is forbidden with newer pip on 24.04.