Menu

#106 Deprecation Warnings using Python 3.7 beta

v1.0 (example)
closed-fixed
None
1
2018-09-19
2018-02-02
Paul Moore
No

Reported to the pip project as https://github.com/pypa/pip/issues/5013:


I created a venv under Python 3.7 and am getting the following:
~/pip/_vendor/pyparsing.py:3226: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
elif isinstance( exprs, collections.Iterable ):


We simply vendor pyparsing, so this should be fixed here and we will pick up the fix when a new release is made.

Discussion

  • Paul McGuire

    Paul McGuire - 2018-03-31
    • assigned_to: Paul McGuire
     
  • The Compiler

    The Compiler - 2018-06-27

    FWIW this affects setuptools' pkg_resources module as well:

    https://github.com/pypa/setuptools/issues/1401

     
  • Hugo

    Hugo - 2018-08-09

    I'm running into this in Pillow tests which depend on Pyroma which depend on Setuptools which vendors Pyparsing.

    Something like the attached should fix it. (Sorry, I'm not sure how to submit a PR/patch through Sourceforge/SVN.)

     
  • Paul McGuire

    Paul McGuire - 2018-09-19
    • status: open --> closed-fixed
    • Priority: 5 --> 1
     
  • Paul McGuire

    Paul McGuire - 2018-09-19

    Released in 2.2.1

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.