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

collections.Iterable no longer works in python 3.9 and newer #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mlinvill
Copy link

Here is a trivial PR to address the following warning (and no longer works in python >= 3.9):

DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working.

I've elected to import Iterable from typing, but this is considered deprecated and may stop working at 3.9 EOL in 2025. [see https://peps.python.org/pep-0585/] This PR could also be implemented by simply importing Iterable 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

Successfully merging this pull request may close these issues.

1 participant