Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pllim opened this issue Sep 14, 2023 · 0 comments

Comments

@pllim
Copy link
Contributor

pllim commented Sep 14, 2023

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant