-
Notifications
You must be signed in to change notification settings - Fork 156
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
Unskip taxi notebook from CI #1422
Unskip taxi notebook from CI #1422
Conversation
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 doing this! Looking through the logs, I see that this nyc_taxi_years_correlation.ipynb
notebook ran successfully in 28 seconds 🎉
I do see another issue in those logs... looks like the ZipCodes_Stops_PiP_cuSpatial.ipynb
notebook is broken:
TypeError Traceback (most recent call last)
File /tmp/tmp.q8TobhA9hO/ZipCodes_Stops_PiP_cuSpatial-test.py:302
299 zipcode_quadtree.set_polygon(d_states, poly_column='geometry')
301 # Join state and zip code boundaries
--> 302 zipcode_by_state = zipcode_quadtree.point_left_join_polygon(["WKT", "ZCTA5CE10"], ["STUSPS"])
...
File copying.pyx:154, in cudf._lib.copying.gather()
File column.pyx:463, in cudf._lib.column.Column.to_pylibcudf()
File column.pyx:493, in cudf._lib.column.Column.to_pylibcudf()
File types.pyx:284, in cudf._lib.types.dtype_to_pylibcudf_type()
TypeError: data type 'geometry' not understood
I'm guessing that CI didn't catch that because I moved notebook-checking into a bash function in #1407, but didn't add -E
here:
cuspatial/ci/test_notebooks.sh
Line 4 in fe3b0c9
set -euo pipefail |
Anyway, that failure is not related to the changes in this PR. This close to code freeze, we should merge this PR as-is and fix that in a follow-up.
/merge |
Thanks all! 🙏 |
The notebook-testing CI job in this repo does not actually cause a loud CI failure if any errors are detected in notebooks. That's because of a `bash` mistake I made in #1407... that PR moved notebook-checking into a function, but didn't add a `set -E` to be sure errors from inside that function were appropriately trapped. This PR fixes that: * ensures that notebook failures actually cause CI failures * fixes 2 typos in `nyc_taxi_years_correlation.ipynb` code - *(not caught in #1422 because of this CI script bug)* Context: #1422 (review) ## Notes for Reviewers ### How I tested this Originally did not skip any notebooks. Saw the failures in one of the notebooks cause an actual merge-blocking CI failure. Build link: https://github.com/rapidsai/cuspatial/actions/runs/10199784404/job/28219162698?pr=1424 # Authors: - James Lamb (https://github.com/jameslamb) - Bradley Dice (https://github.com/bdice) Approvers: - Ray Douglass (https://github.com/raydouglass) - Mark Harris (https://github.com/harrism) - https://github.com/jakirkham URL: #1424
Description
#1407 skipped the taxi dropoffs notebook due to performance regression fixed in #1418, so this PR re-enables the notebook in CI by removing it from SKIPNBS in ci/test_noteboks.sh.
Checklist