fix(kepler-jupyter): prepare keplergl==0.4.0rc5 - #3672
Open
lixun910 wants to merge 2 commits into
Open
Conversation
save_to_html() exports rendered a blank page: kepler.gl's availableThemeSelector in <=3.3.0-alpha.6 returns the theme value unchanged when no theme prop is provided, and the standalone template mounts <KeplerGl> without one, so bottomWidgetSelector crashed reading theme.sidePanel.margin.left. The unknown-theme fallback to the default dark theme landed in v3.3.0-alpha.7 (a0bee76, #3620); verified headless Chrome renders arcs, points and basemap correctly with 3.3.0-alpha.8. Also bumps pyproject to 0.4.0rc5 so a new prerelease can be published with the fixed template. Co-Authored-By: Claude Code <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Python Jupyter bindings’ standalone HTML export template to load a newer kepler.gl UMD bundle from unpkg, addressing a blank-page crash in save_to_html() exports by picking up upstream theme-handling fixes.
Changes:
- Bump the pinned kepler.gl CDN UMD/CSS version in the standalone export template to
3.3.0-alpha.8. - Update Python tests that assert the embedded CDN URLs.
- Bump the Python package prerelease version to
0.4.0rc5.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| bindings/python/keplergl/_html_export.py | Updates DEFAULT_KEPLER_GL_CDN_VERSION so exported HTML pulls the newer UMD bundle/CSS from unpkg. |
| bindings/python/tests/test_html_export.py | Updates hard-coded URL assertions to match the new default CDN version. |
| bindings/python/pyproject.toml | Bumps the Python package version for a new prerelease publish. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| [project] | ||
| name = "keplergl" | ||
| version = "0.4.0rc4" | ||
| version = "0.4.0rc5" |
The 0.4.0rc5 bump updated pyproject.toml but not keplergl/_version.py, so keplergl.__version__ reported 0.4.0rc4 at runtime. Co-Authored-By: Claude Code <noreply@anthropic.com>
igorDykhta
approved these changes
Aug 29, 2026
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.
Prepare new keplergl==0.4.0rc5
3.3.0-alpha.8: the unknown-theme → default dark theme fallback landed in v3.3.0-alpha.7 (a0bee76, feat: add optional theme switch toggle #3620)tests/test_html_export.py(88 tests pass)pyproject.tomlto0.4.0rc5so a new prerelease can be published with the fixed templateFollow-up
Publishing still needs to be done manually: after merge, run the Build and Publish KeplerGL Python Package workflow via
workflow_dispatch(prerelease checked) → PyPI0.4.0rc5. Users on the editable/source install are fixed immediately; PyPI users need the release.🤖 Generated with Claude Code