[issue36751] Changes in the inspect module for PEP 570

Miro Hrončok report at bugs.python.org
Thu May 16 15:21:54 EDT 2019


Miro Hrončok <miro at hroncok.cz> added the comment:

As a downstream maintainers of Python in Fedora, this is a great PITA for us. A lot of projects unfortunately treat DeprecationWarnings as errors and we run upstream test suites. It appears that this particular DeprecationWarning is now failing the test suites of the majority of important Python libraries. The warning is there from pluggy (a pytest dependency, already fixed), hypothesis, etc... We mitigate this from the testing framework dependencies, only to realize the tested library itself uses it as well. Current list of problematic packages includes pytest, tornado, sqlalchemy, numpy, dateutil and others.

I'm not saying that should be the only reason not to deprecate stuff (nothing could be deprecated if we stretch that argument too far), but clearly "deprecating warning doesn't hurt" is not an argument either.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36751>
_______________________________________


More information about the Python-bugs-list mailing list