deps: use plotly.rs 0.15.0 release branch; regenerate viz gallery by jqnatividad · Pull Request #4836 · dathere/qsv · GitHub
Skip to content

deps: use plotly.rs 0.15.0 release branch; regenerate viz gallery - #4836

Merged
jqnatividad merged 2 commits into
masterfrom
deps/plotly-0.15-preview
Oct 17, 2026
Merged

jqnatividad merged 2 commits into
masterfrom
deps/plotly-0.15-preview

Conversation

@jqnatividad

@jqnatividad jqnatividad commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Starts using plotly.rs 0.15.0 before it's released, by pointing the plotly [patch.crates-io] at the head of the release-prep PR plotly/plotly.rs#442 (dathere/plotly@a21da1f).

  • Cargo.toml: the plotly requirement goes from 0.14.1 to 0.15, because a ^0.14.1 requirement won't accept a 0.15.0 patch. The patch now points at the PR head by rev.
  • Cargo.lock: plotly 0.15.0, plotly_derive 0.15.0 and plotly_static 0.2.0. This drops darling 0.23 and lzma-rust2 (plotly removed its unused zip build-dependency) and moves dirs from 6 to 7.
  • qsv doesn't use the Kaleido backend or ImageFormat::EPS that 0.15.0 removes.
  • The embedded plotly.js bundle is unchanged (3.7.0), and plotly_cdn_sri_matches_the_embedded_bundle passes.

Gallery regenerated (examples/viz/gen_gallery.py)

  • gallery.html is byte-identical.
  • 14 smart_*.html dashboards get the current compile stamp and Generated by: qsv 25.0.0 (they were built with 24.0.0).
  • smart_us_choropleth.html and smart_world_events.html get more detailed hover place names from the 25.0.0 geocode index, e.g. Connecticut planning regions. This comes from the index, not from plotly.
  • The 4 LLM-dependent pages were reused as-is (no QSV_VIZ_REGEN_LLM).

⚠️ Before release

cargo publish ignores [patch], so qsv can't be published to crates.io until plotly 0.15.0 is out there. Once it is, drop the patch.

Testing

  • cargo t viz -F all_features: 1,119 passed, 0 failed (482 unit, 637 integration).
  • The #[ignore]d browser and geocode tests, run with a ChromeDriver whose major version matches Chrome (155): 15 passed, 0 failed. That's the 11 viz_static_* tests, viz_smart_image_export_does_not_report_the_discarded_choropleth, and the 3 Geonames-index tests, so static image export through plotly_static 0.2.0 works at runtime. The only test not run is viz_denominator_census_is_reserved, which is still skipped while the Census API is down.
  • cargo clippy --bin qsv -F all_features: the only warning is a too_many_arguments one in viz.rs that was already on master.

🤖 Generated with Claude Code

jqnatividad and others added 2 commits October 17, 2026 13:39
…enerate viz gallery

Point the plotly [patch] at the 0.15.0 release-prep PR head
(dathere/plotly@a21da1f) and bump the plotly requirement to 0.15 so the
patch applies. This pulls in plotly_derive 0.15.0 and plotly_static 0.2.0,
and drops darling 0.23 and lzma-rust2 (via plotly's removed zip
build-dependency). qsv does not use the removed Kaleido backend or
ImageFormat::EPS. The embedded plotly.js bundle is unchanged (3.7.0).

Regenerated the viz gallery with gen_gallery.py: gallery.html is
byte-identical; 14 smart dashboards pick up the 25.0.0 compile stamp, and
two map pages (smart_us_choropleth, smart_world_events) get richer hover
place names from the 25.0.0 geocode index.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

@jqnatividad
jqnatividad merged commit b7fbde1 into master Oct 17, 2026
19 checks passed
@jqnatividad
jqnatividad deleted the deps/plotly-0.15-preview branch October 17, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant