From bf7773cd9503b309831facd287693e44de946d9f Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Sep 17 2020 21:18:55 +0000 Subject: Don't treat warnings as errors To workaround: Warning, treated as error: /builddir/build/BUILD/Python-3.9.0rc2/Doc/library/string.rst:311:duplicate token description of sign, other instance in library/functions Proper fix is in progress in upstream: https://github.com/python/cpython/pull/22281 --- diff --git a/python3-docs.spec b/python3-docs.spec index 6f296a9..fc1a60d 100644 --- a/python3-docs.spec +++ b/python3-docs.spec @@ -48,7 +48,8 @@ mv python-docs-theme-%{theme_version}/python_docs_theme Doc/tools rmdir python-docs-theme-%{theme_version} %build -make -C Doc html PYTHON=%{__python3} +# Makefile sets SPHINXERRORHANDLING to -W: treat warnings as errors +make -C Doc html PYTHON=%{__python3} SPHINXERRORHANDLING="" rm Doc/build/html/.buildinfo %install