ipython/traitlets

Version 5.7.0 raises AttributeError: __provides__

ronilrufo-domain opened this issue · 1 comments

  File "/home/runner/work/project/project/apps/emails/utils.py", line 12, in <module>
    import seaborn
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/seaborn/__init__.py", line 12, in <module>
    from .widgets import *  # noqa: F401,F403
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/seaborn/widgets.py", line 6, in <module>
    from ipywidgets import interact, FloatSlider, IntSlider
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/ipywidgets/__init__.py", line 25, in <module>
    from .widgets import *
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/ipywidgets/widgets/__init__.py", line 4, in <module>
    from .widget import Widget, CallbackDispatcher, register, widget_serialization
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/ipywidgets/widgets/widget.py", line 13, in <module>
    from ipykernel.comm import Comm
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/ipykernel/__init__.py", line 5, in <module>
    from .connect import *  # noqa
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/ipykernel/connect.py", line 11, in <module>
    import jupyter_client
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/jupyter_client/__init__.py", line 13, in <module>
    from .manager import AsyncKernelManager  # noqa
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/jupyter_client/manager.py", line 32, in <module>
    from .provisioning import KernelProvisionerBase
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/jupyter_client/provisioning/__init__.py", line 1, in <module>
    from .factory import KernelProvisionerFactory  # noqa
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/jupyter_client/provisioning/factory.py", line 19, in <module>
    from .provisioner_base import KernelProvisionerBase
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/jupyter_client/provisioning/provisioner_base.py", line 24, in <module>
    class KernelProvisionerBase(ABC, LoggingConfigurable, metaclass=KernelProvisionerMeta):
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/traitlets/traitlets.py", line 972, in __init__
    cls.setup_class(classdict)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.9/site-packages/traitlets/traitlets.py", line 1009, in setup_class
    value = getattr(cls, name)
AttributeError: __provides__

We had to temporarily lock the version to 5.6.0 so it won't block our process but it would be great to have this fixed so we won't have to explicitly manage this dependency.

Thanks for the report @ronilrufo-domain, this is being addressed in #812