Open jaraco opened 5 months ago
Somehow, this error has turned from a warning into an error.
Correction, the warning is emitted the same as always. It was a different warning that's surfaced.
Still, it would be nice to see this EncodingWarning fixed so that it's not a red herring when investigating other issues.
I tried suppressing the errors by putting this in the docs
job for tox
:
env =
# suppress sphinx-contrib/sphinxcontrib-towncrier#91
PYTHONWARNINGS= ignore:'encoding' argument not specified
But it did not work, possibly because of the -W
parameter to Sphinx.
Agreed, this should be fixed. EncodingWarning becomes an error if you involve python -bb
, for example (single -b
for just warning).
I see this warning when running the docs build for setuptools: