Skip to content

add traitlets as a dependency in configuration files? #3476

Open

Description

@yuluc123

Hi
I notice that traitlets are used as direct dependency in source code file-packages/python/plotly/plotly/basewidget.py
. But traitlets is not listed in any configuration file. So I am wondering if traitlets should be listed in configuration files such as setup.py.

Activity

  1. nicolaskruchten commented on Nov 17, 2021

    @nicolaskruchten
    Contributor

    To use the FigureWidget one needs to install ipywidget which depends on traitlets. ipywidgets is not a hard dependency of this library because lots of folks don't use FigureWidget :)

  2. yuluc123 commented on Nov 22, 2021

    @yuluc123
    Author

    Thanks for your reply.
    But I think even traitlets is not hardcore dependency, maybe it should be introduced as an extra dependnecy for the project.
    Maybe it can be listed in extra requirements.txt in the sub-folders?

  3. self-assigned this
    on Jun 26, 2024
  4. removed their assignment
    on Aug 2, 2024
  5. changed the title [-]should traitlets be listed as a dependency in configuration files?[/-] [+]add traitlets as a dependency in configuration files?[/+] on Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions