Closed RatanShreshtha closed 5 years ago
Okay so regarding the build failure, as you know it has nothing to do with your changes, our build just become broken since the last build that happened four months ago because of a new warning.
We can't fix this warning as it looks like the issue should be fixed by setuptools, possibly in https://github.com/pypa/setuptools/pull/1855. The pytest.ini
change was probably correct, but you need to do this and to remove -W error
because it looks like if we set -W error
then the pytest.ini configuration is ignored, see https://docs.pytest.org/en/latest/warnings.html#deprecationwarning-and-pendingdeprecationwarning:
If warnings are configured at the interpreter level, using the PYTHONWARNINGS environment variable or the -W command-line option, pytest will not configure any filters by default.
Also pytest doesn’t follow PEP-0506 suggestion of resetting all warning filters because it might break test suites that configure warning filters themselves by calling warnings.simplefilter (see issue #2430 for an example of that).
Thank you!
I just stumbled upon it, the correct issue in setuptools is https://github.com/pypa/setuptools/issues/479, so that confirms they need to work on it.
Codecov Report