Skip to content

Comments

Update plotly requirement from <6.0.0 to <7.0.0#62

Open
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/plotly-lt-7.0.0
Open

Update plotly requirement from <6.0.0 to <7.0.0#62
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/plotly-lt-7.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2025

Updates the requirements on plotly to permit the latest version.

Release notes

Sourced from plotly's releases.

v6.2.0

Added

  • Add SRI (Subresource Integrity) hash support for CDN script tags when using include_plotlyjs='cdn'. This enhances security by ensuring browser verification of CDN-served plotly.js files [#5165] (with thanks to @​ddworken)

Fixed

  • Allow setting Plotly.js path via pio.defaults [#5207]

Changed

  • Refactor validation code to reduce bundle size [#5214] (with thanks to @​bmaranville)
  • Add deprecation warnings when using Kaleido v0 or deprecated image export features [#5177]
Changelog

Sourced from plotly's changelog.

[6.2.0] - 2025-06-26

Added

  • Add SRI (Subresource Integrity) hash support for CDN script tags when using include_plotlyjs='cdn'. This enhances security by ensuring browser verification of CDN-served plotly.js files [#5165] (with thanks to @​ddworken)

Fixed

  • Allow setting Plotly.js path via pio.defaults [#5207]

Changed

  • Refactor validation code to reduce bundle size [#5214] (with thanks to @​bmaranville)
  • Add deprecation warnings when using Kaleido v0 or deprecated image export features [#5177]

[6.1.2] - 2025-05-27

Fixed

  • Fix type checking and code highlighting for graph_objects classes [#5199]

[6.1.1] - 2025-05-20

Fixed

  • Prevent swallowing of ValueError when creating a figure with subplots [#3888]
  • Fix issue causing fig.write_image() to not generate an image [#5193]

[6.1.0] - 2025-05-15

Updated

  • Add support for Kaleido>=v1.0.0 for image generation [#5062, #5177]
  • Reduce package bundle size by 18-24% via changes to code generation [#4978]

Fixed

  • Fix third-party widget display issues in v6 [#5102]
  • Add handling for case where jupyterlab or notebook is not installed [#5104]
  • Fix issue causing Plotly.js script to be embedded multiple times in Jupyter notebooks [#5112]
  • Re-add MIME renderer JupyterLab extension with JupyterLab 4 support to reduce file sizes for offline notebooks [#5096]
  • Fix issue preventing plots from rendering in HTML notebook export when using 'vscode+notebook' renderer [#5154]

[6.0.1] - 2025-03-14

Updated

  • Updated Plotly.js from version 3.0.0 to version 3.0.1. See the plotly.js CHANGELOG for more information.

Fixed

  • Fix TypeError when using orjson to serialize pandas.NA [#5040].
  • Fix issue where using category_orders on px.pie raised ColumnNotFoundError [#5000].
  • Fix incorrect DeprecationWarning shown when creating a px chart [#5080, #5086]

[6.0.0] - 2025-01-28

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [plotly](https://github.com/plotly/plotly.py) to permit the latest version.
- [Release notes](https://github.com/plotly/plotly.py/releases)
- [Changelog](https://github.com/plotly/plotly.py/blob/main/CHANGELOG.md)
- [Commits](plotly/plotly.py@jupyterlab-plotly-v1.0.0-alpha.3...v6.2.0)

---
updated-dependencies:
- dependency-name: plotly
  dependency-version: 6.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies There are outdated packages that need to be updated, such as gh-actions, docker, or pip. pip PyPi-related issues, e.g., packages are outdated and need to be updated. labels Aug 1, 2025
@CAcarSci
Copy link
Collaborator

CAcarSci commented Aug 5, 2025

We will not update the plotly version to the latest version, as it crashes the Streamlit Cloud application because we do not have the right to install Chromium on Streamlit Cloud. We will continue using the Plotly version below 6.0.0 until Streamlit Cloud supports Chromium installation.

@CAcarSci CAcarSci added the wontfix This will not be worked on label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies There are outdated packages that need to be updated, such as gh-actions, docker, or pip. pip PyPi-related issues, e.g., packages are outdated and need to be updated. wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant