Skip to content

Wrap the plotly *_map functions and tolerate a plotly without *_mapbox - #1200

Closed
maartenbreddels wants to merge 1 commit into
masterfrom
fix/plotly7-mapbox
Closed

maartenbreddels wants to merge 1 commit into
masterfrom
fix/plotly7-mapbox

Conversation

@maartenbreddels

Copy link
Copy Markdown
Contributor

plotly 7.0.0, released 2026-08-25, removed the *_mapbox functions, deprecated since 5.24 in favour of the *_map ones. solara.express wrapped them at import time, so import solara.express fails on plotly 7, and CI's unit-test-vue3 job errors at collection (see #1199's run).

Now solara.express wraps whichever set the installed plotly provides: the *_mapbox functions when present, and the *_map ones, which exist since 5.24. Verified: import and express_test.py on plotly 7.0.0, import on plotly 6.0.1 where both sets are wrapped.

🤖 Generated with Claude Code

plotly 7.0.0 (2026-08-25) removed the *_mapbox functions, deprecated
since 5.24 in favour of the *_map ones. solara.express wrapped them at
import time, so `import solara.express` failed on plotly 7 and CI's
unit-test-vue3 job errored at collection. Wrap whichever set this plotly
provides: the *_mapbox ones when present, and the *_map ones (5.24+).
@maartenbreddels
maartenbreddels temporarily deployed to fix/plotly7-mapbox - solara-stable PR #1200 September 3, 2026 12:55 — with Render Destroyed
@maartenbreddels

Copy link
Copy Markdown
Contributor Author

Folded into #1199: each fix alone still fails CI on the other package's change, so they go together.

This branch was successfully deployed

No deployments
fix/plotly7-mapbox - solara-stable PR #1200 — 04853fdc Deployed Sep 3, 2026 by maartenbreddels
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