the imp module is deprecated
jugmac00 opened this issue · comments
Jürgen Gmach commented
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
Chris Dent commented
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.