Skip to content

Migration to Dash >= 3.0.0 #633

@guillaume-vignal

Description

@guillaume-vignal

Description:

Dash 3.0.0 introduced breaking changes, including the removal of app.run_server in favor of app.run. Currently, Shapash uses run_server, which leads to errors when used with Dash >= 3.0.0 (e.g., dash.exceptions.ObsoleteAttributeException).

To ensure compatibility with newer versions of Dash and allow users to benefit from updates and improvements in the Dash ecosystem, we should consider updating Shapash to support Dash >= 3.0.0.

Tasks:

  • Replace all instances of run_server with run (with appropriate argument adjustments if needed).
  • Review and update the Dash-related parts of the tutorials.
  • Run all unit and integration tests with Dash >= 3.0.0.
  • Perform manual testing to ensure the UI components behave as expected.
  • Update pyproject.toml to reflect the new version constraint (dash>=3.0.0,<4.0.0).

Note:
Until this work is completed, the Dash version will be temporarily pinned to <3.0.0 to avoid compatibility issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions