fix return-before-assignment bug in notebook test script, add pre-commit, drop cuspatial notebooks#690
fix return-before-assignment bug in notebook test script, add pre-commit, drop cuspatial notebooks#690rapids-bot[bot] merged 2 commits intorapidsai:branch-24.08from jameslamb:fix/parsing
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. |
|
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
cuspatialnotebooks.As described in rapidsai/cuspatial#1406, I observed those notebooks failing like this:
Turns out that that was coming from the
test_notebooks.pyscript in this repo. It callsreturn execution_timeunconditionally, even though it's possible for that variable to not exist.This fixes that, and proposes adding a
pre-commitconfiguration and corresponding CI job, to help catch such things earlier in the future.This also proposes skipping some
cuspatialnotebooks, to get CI working. I'd hoped to address that in rapidsai/cuspatial#1407, but mostcuspatialmaintainers are busy or unavailable this week. I think we should get CI working here again and deal with thecuspatialnotebooks 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 fixruffwarnings).