Skip to content

node: fix deprecated Iterable import in py3.10 #62

New issue

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

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

Already on ? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

shenghaoyang
Copy link
Contributor

The alias from collections.Iterable -> collections.abc.Iterable was removed in Python 3.10

Import from collections.abc instead if the import from collections fails.

Aside: the test suite (excluding the replication test) passes on py3.10

Import from collections.abc instead if import from collections
fails.
@kulaginmkulaginm changed the base branch from master to python-3.10 April 11, 2022 16:27
@kulaginmkulaginm merged commit a99cb60 into postgrespro:python-3.10 Apr 11, 2022
@kulaginm
Copy link
Member

Thank you.
I merged into the python-3.10 branch to run travis tests.

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

Successfully merging this pull request may close these issues.

2 participants