-
Notifications
You must be signed in to change notification settings - Fork 52
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 return-before-assignment bug in notebook test script, add pre-commit, drop cuspatial notebooks #690
Conversation
One of the jobs had startup issues. Restarted |
blegh I see what happened. One of the test jobs is failing like this:
I'm thinking that maybe the corresponding source: https://github.com/rapidsai/docker/actions/runs/9993739485?pr=690 Looks like #574 tried to fix that, but I suspect that the docker/.github/workflows/build-test-publish-images.yml Lines 284 to 286 in a1e5d98
I think it'll take a full re-run to get CI passing here. I just kicked one off here. |
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 James
Thanks James! 🙏 Regarding CI, maybe we should write this up as an issue and see if there is a more friendly way to fix these one-off failures. Remember seeing this behavior before |
/merge |
Oops thought it would wait for CI 😳 At least we know nearly all passed and the one that failed was mostly likely a fluke Will keep an eye on CI on Edit: After discussing offline with Ray, configuring |
No problem, thanks John. Just noting that the tests don't run on merges to
So we'll have to check the CI of another PR (like #689) to know if this worked. |
Hmm...good point. Seems like we have a few footguns to work on here 😅 Well it does look like most of those passed (except CUDA 12.5 where we still need cuSpatial) Opened this PR ( #692 ) to test CI with no change |
Yep definitely, thanks for helping us uncover them! |
CI has been failing here for a few weeks, as a result of some failing
cuspatial
notebooks.As described in rapidsai/cuspatial#1406, I observed those notebooks failing like this:
Turns out that that was coming from the
test_notebooks.py
script in this repo. It callsreturn execution_time
unconditionally, even though it's possible for that variable to not exist.This fixes that, and proposes adding a
pre-commit
configuration and corresponding CI job, to help catch such things earlier in the future.This also proposes skipping some
cuspatial
notebooks, to get CI working. I'd hoped to address that in rapidsai/cuspatial#1407, but mostcuspatial
maintainers are busy or unavailable this week. I think we should get CI working here again and deal with thecuspatial
notebooks as a separate concern.Notes for Reviewers
Any other changes you see in files here are the result of running
pre-commit run --all-files
(with some manual fixes applied to fixruff
warnings).