Skip to content

DeprecationWarning: Sentinel is not a public part of the traitlets API (from traittypes) #1624

Description

@pllim

We started seeing a DeprecationWarning downstream in Jdaviz (spacetelescope/jdaviz#2456).

bqplot/__init__.py:64: in <module>
    from .figure import *  # noqa
bqplot/figure.py:36: in <module>
    from .interacts import Interaction
bqplot/interacts.py:41: in <module>
    from traittypes import Array
traittypes/__init__.py:1: in <module>
    from .traittypes import *
traittypes/traittypes.py:20: in <module>
    Empty = Sentinel('Empty', 'traittypes',
traitlets/__init__.py:24: in __init__
    warn(
traitlets/utils/warnings.py:11: in warn
    return warnings.warn(msg, category=category, stacklevel=stacklevel, source=source)
E   DeprecationWarning:
E               Sentinel is not a public part of the traitlets API.
E               It was published by mistake, and may be removed in the future.

If no one maintains traittypes now, you should move away from it. Related issues:

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions