Repository navigation
fix: Normalize geohash-layer example notebook kernelspec - #1295
Merged
Merged
Conversation
The normalize-notebook-kernelspec pre-commit hook added in #1254 requires every notebook to use the generic `Python 3 (ipykernel)` kernelspec. The geohash-layer notebook from #1242 wasn't on #1254's base branch, so it was never normalized, and the hook has failed the Python test workflow on main since #1254 merged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR was written by Claude (Claude Code), not by @kylebarron.
Fixes the failing
Python testworkflow onmain.The
normalize-notebook-kernelspecpre-commit hook added in #1254 requires every notebook's kernelspec to be exactly{"display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3"}.examples/geohash-layer.ipynb(added in #1242) has"display_name": "Python 3", so the hook rewrites it and fails thetests (3.11)job, which is the job that runs pre-commit.#1254's PR CI passed because its base branch was older than #1242, so the geohash notebook wasn't there to check. The two changes only met after both merged.
This PR is the output of running the hook itself: a one-line change to
display_name. It's the only notebook in the repo that didn't already match.uv run pre-commit run --all-filespasses locally with this change.The earlier failure on the #1292 push was a separate, transient network error (
uv synccouldn't download thepyogriowheel from PyPI) and needs no change.🤖 Written by Claude Code