import iterable from collection.abc instead of collections to clear deprecation warning in python 3.10#393
Conversation
| from past.builtins import basestring | ||
| from pyhive import exc | ||
| import abc | ||
| import collections |
There was a problem hiding this comment.
The file still uses deque from collections at
Line 41 in d6e7140
There was a problem hiding this comment.
reverted to "import collections" and changed import at Iterable statement as collections.abc.Iterable
ed55b37 to
7d99233
Compare
7d99233 to
33b1dbb
Compare
|
This PR seems like it would be really handy as it would allow pyhive to be compatible with python 3.10. Any chance of it getting merged? |
|
|
|
What's the ETA to merge this pull request? |
|
As a workaround, I just added the code on my python script: |
Filled out the Dropbox Contributor License Agreement
Fixes #392