pasteorg / paste

Python Paste (core) repository
Other
59 stars 47 forks source link

the imp module is deprecated #64

Open jugmac00 opened 3 years ago

jugmac00 commented 3 years ago

When I ran tox for zopefoundation/z3c.evalexception I got the following deprecation warning:

about to run tox for zopefoundation/z3c.evalexception, 158 of 287
/home/jugmac00/All/output_zope/zopefoundation/z3c.evalexception/.tox/4/py36/lib/python3.6/site-packages/paste/urlparser.py:10: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
tox4 run successful for zopefoundation/z3c.evalexception

disclaimer: I neither use z3c.evalexception nor paste, I just ran the upcoming tox4 on all Zope repositories

cdent commented 3 years ago

Thanks for the report.

Paste is effectively deprecated too, see the README. Basically I'm reviewing and accepting patches that people provide and making new releases when they do, but other than that it is basically on limited life support.

If someone (you?) comes along with a patch to fix deprecation warnings and the like, then I'm happy to integrate it.