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

Python 3.8 collections ABC deprecation warning #562

Closed
T4rk1n opened this issue Feb 1, 2019 · 3 comments
Closed

Python 3.8 collections ABC deprecation warning #562

T4rk1n opened this issue Feb 1, 2019 · 3 comments
Assignees

Comments

@T4rk1n
Copy link
Contributor

T4rk1n commented Feb 1, 2019

Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

The warning comes from the base component class:

class Component(collections.MutableMapping):

@alexcjohnson
Copy link
Collaborator

Sadly py2 doesn't have collections.abc
benjaminp/six#155

@T4rk1n
Copy link
Contributor Author

T4rk1n commented Feb 1, 2019

Yes, what I just found out...

@T4rk1n
Copy link
Contributor Author

T4rk1n commented Feb 1, 2019

Also:

if isinstance(self._layout, collections.Callable):

and

not isinstance(value, collections.Callable)):

HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
Native syntax highlighting in dcc.Markdown
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
AnnMarieW pushed a commit to AnnMarieW/dash that referenced this issue Jan 6, 2022
Native syntax highlighting in dcc.Markdown
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

2 participants