Install plotly for the playground in the benchmark CI jobs

Merged
FA
4d ago
+13-9

The benchmark CI jobs install the workspace with uv sync --no-dev --group bench --extra db. Since #7359, the playground imports plotly, which that install does not contain. So every benchmark that compiles the playground has failed since 2026-10-07 with ModuleNotFoundError: No module named 'plotly':

  • benchmarks-daily: red every day since 2026-10-07. The browser, events, hmr and memory shards fail completely. Lifecycle (9 of 12) and exact (8 of 13) fail partly.
  • macro-benchmarks: green, but 6 of its 7 benchmarks fail. Only lifecycle.import passes. The job exits 0 while one benchmark passes.

This PR adds plotly>=6.0,<7.0 to the bench dependency group. It uses the same range as examples/playground/pyproject.toml. Subjects built with --reflex already get plotly through SUBJECT_REQUIREMENTS.

Checked locally with the CI install (uv sync --no-dev --group bench --extra db in a fresh venv):

  • with this change: reflex-bench run lifecycle.compile.warm gives ok · 3 samples;
  • after uv pip uninstall plotly: failed, with ModuleNotFoundError: No module named 'plotly', the same error as CI.

The change touches only a dependency group and the lock file. It is not user-facing, so it needs skip-changelog.