-
Notifications
You must be signed in to change notification settings - Fork 0
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
Run-time warning about import from 'collections'. #19
Comments
Ah, okay, this is probably about I'm still puzzled that the |
There may at least be a reprieve while this gets fixed. Python 3.8.0b1 says,
|
I'm not seeing this, but I am seeing:
What version of html5lib do you have? |
@frankduncan, what version of Python were you trying with? I'm using Python 3.7.4; I assume that's also the version of html5lib, since it's part of core Python. I'm not seeing the DeprecationWarning you're seeing above. But did you mean to ask about mwclient, rather than html5lib? I'm running mwclient 0.9.3, which I found out like this:
...and then I opened up |
I'm on mwclient 0.10.0, so maybe you just need to run pip update? |
Got a warning today:
I haven't done much research yet, but cursory searching shows others have encountered and easily resolved it:
In our case, I'm not sure exactly where the warning is coming from. As printed, it's in core Python (which is odd, to say the least), and indeed
/usr/lib/python3/dist-packages/html5lib/_trie/_base.py
does have the linefrom collections import Mapping
.But this issue might also exist with the Python MediaWiki client library,
mwclient
, that csv2wiki depends on --/usr/local/lib/python3.7/dist-packages/mwclient/client.py
contains this line:from collections import OrderedDict
. Themwclient
upstream is here, by the way, and as of right now still has that same import.The text was updated successfully, but these errors were encountered: