Skip to content

fix(plotting): kaleido gate only for real Plotly figures - #847

Merged
jepegit merged 1 commit into
masterfrom
818-kaleido-gate-essential-ci
Aug 8, 2026
Merged

fix(plotting): kaleido gate only for real Plotly figures#847
jepegit merged 1 commit into
masterfrom
818-kaleido-gate-essential-ci

Conversation

@jepegit

@jepegit jepegit commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Essential CI (no cellpy[batch] / kaleido) failed write_image stub tests on the v2.1.2a1 release.
  • Require kaleido only when type(figure).__module__ starts with plotly; stubs keep working.
  • Missing-kaleido test uses a Plotly-module stub.

Test plan

  • uv run pytest tests/test_plot_image_bytes.py -q
  • CI essential green

Refs #818

Made with Cursor

Essential CI has no batch/kaleido extra; stub to_image tests must not
trip the dependency gate. Keep OptionalDependencyError for plotly.* types.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jepegit
jepegit merged commit 413971b into master Aug 8, 2026
6 checks passed
@jepegit
jepegit deleted the 818-kaleido-gate-essential-ci branch August 8, 2026 21:39
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