Source: scipy Version: 1.7.3-2 Severity: serious Tags: ftbfs patch User: debian-pyt...@lists.debian.org Usertags: python3.10
Hi Maintainer As can be seen on reproducible builds [1], scipy FTBFS with Python 3.10 as the default version. I've copied what I hope is the relevant part of the log below. I've also attached a patch against scipy 1.8.0-1exp2 that works for me. Regards Graham [1] https://tests.reproducible-builds.org/debian/rb-pkg/scipy.html LANG=C python3 -msphinx -b html -d build/doctrees source build/html Running Sphinx v4.3.2 Exception occurred: File "/usr/lib/python3.10/distutils/__init__.py", line 19, in <module> warnings.warn(_DEPRECATION_MESSAGE, DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives The full traceback has been saved in /tmp/sphinx-err-9djw0js6.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! SciPy (VERSION 1.7.3) make[2]: *** [Makefile:122: html-build] Error 2
Description: Ignore distutils deprecation warnings in doc build Author: Graham Inggs <gin...@debian.org> Last-Update: 2022-03-30 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -149,6 +149,7 @@ r"OpenSSL\.rand is deprecated", # OpenSSL package in linkcheck r"Using or importing the ABCs from", # 3.5 importlib._bootstrap r"'contextfunction' is renamed to 'pass_context'", # Jinja + r"distutils package is deprecated", ): warnings.filterwarnings( # deal with other modules having bad imports 'ignore', message=".*" + key, category=DeprecationWarning)