-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working #1401
Comments
Ah, looks like there's https://sourceforge.net/p/pyparsing/bugs/106/ already (and pypa/pip#5013 too) |
PyParsing has moved to GitHub. Here's a PR for it: pyparsing/pyparsing#16. |
PyParsing release with the fix : https://github.com/pyparsing/pyparsing/releases/tag/pyparsing_2.2.1 Thanks |
PyParsing has been updated to 2.2.1 in Setuptools in d4b5eb6. This issue can be closed. |
Released in 40.4.1. |
The version in _vendor directory is still 2.2.0 and I'm still getting the warning while using 40.4.2.
|
There are two copies of |
:/ At one point, the setuptools package would re-use the vendored dependencies from the pkg_resources package. I suspect these were split as part of the effort to see pkg_resources split out as a separate package. |
I think this was fixed in 2862b90. |
Why am I still getting this warning? I'm using 2.10 and pyparsing 2.3.1 |
@cepbrian What does "2.10" refer to there? |
2.10 is the version of jinja2 I'm using.
|
jinja doesn't seem to be a part of setuptools. This warning was fixed in jinja's master branch but not released yet : pallets/jinja#867 |
It was fixed in October, but not released yet? Can we get it released? |
Please follow up with jinja project tracker since setuptools cannot do anything about the release timeline. Thanks |
I hope this issue has started again! Error: C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils_init_.py:4: C:\ProgramData\Anaconda3\lib\site-packages\sklearn\model_selection_split.py:18: I have Scikit-learn & Pyparsing versions: Should i rollback to pyparsing 2.2.1? |
@VikneshSK The beginning of that output shows that this is happening in scikit-learn, not in
Looking at the git repository I can't find the code referenced in your warnings, so I'm guessing this has been fixed in newer versions. |
Locking this issue as Setuptools fails on warnings so can't have this issue. If you've encountered this issue, it's probably in a different project. |
In Python 3.7, importing ABCs directly from the
collections
module shows awarning (and in Python 3.8 it will stop working) - see
python/cpython@c66f9f8
I'd be happy to help with fixing this, but it looks like
pyparsing.py
is vendored from upstream - I'll open an issue there as well, but that project looks quite inactive...The text was updated successfully, but these errors were encountered: