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

MutableSequence import will raise DeprecationWarning #361

Closed
souliane opened this issue Sep 20, 2021 · 2 comments
Closed

MutableSequence import will raise DeprecationWarning #361

souliane opened this issue Sep 20, 2021 · 2 comments

Comments

@souliane
Copy link

This won't work with newer python versions from 3.8:

class Idf_MSequence(collections.MutableSequence):

The correct way to import MutableSequence is now from collections.abc (and not from collections).

@santoshphilip
Copy link
Owner

good catch.
I'll look into this

santoshphilip pushed a commit that referenced this issue Dec 10, 2021
:Problem: DeprecationWarning: Using or importing the ABCs from 'collections'
:Solution: import from 'collections.abc'
@santoshphilip
Copy link
Owner

Fixed

:Problem: DeprecationWarning: Using or importing the ABCs from 'collections'
:Solution: import from 'collections.abc'

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