# src : https://buildlogs.pld-linux.org/pld/th/i686/FAIL/python3-sphinx_codeautolink,25522a08-e49b-43c1-80c4-471d37fe4cb4.bz2 # date : 2025/07/05 07:21:02 request from: qboosh checking if we should skip the build started at: Sat Jul 5 07:19:45 2025 killing old processes on a builder sending signal 9 to pid -1 cleaning up /tmp fetching https://srcbuilder.pld-linux.org/th//srpms/25522a08-e49b-43c1-80c4-471d37fe4cb4/python3-sphinx_codeautolink-0.17.4-1.src.rpm fetched 76240 bytes, 326.6 K/s installing srpm: python3-sphinx_codeautolink-0.17.4-1.src.rpm + install -d /tmp/B.8b26r2_b/BUILD /tmp/B.8b26r2_b/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog python3-sphinx_codeautolink-0.17.4-1.src.rpm * Sat Jul 05 2025 PLD Linux Team - For complete changelog see: http://git.pld-linux.org/?p=packages/python3-sphinx_codeautolink.git;a=log;h=master * Sat Jul 05 2025 Jakub Bogusz 6f10421 - finished doc build * Fri Jul 04 2025 Jakub Bogusz 414086f - new + rpm -Uhv --nodeps --define '_topdir /tmp/B.8b26r2_b' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' python3-sphinx_codeautolink-0.17.4-1.src.rpm Updating / installing... python3-sphinx_codeautolink-0.17.4-1 ######################################## + rm -f python3-sphinx_codeautolink-0.17.4-1.src.rpm + install -m 700 -d /tmp/B.8b26r2_b/BUILD/tmp + TMPDIR=/tmp/B.8b26r2_b/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.8b26r2_b' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'prep exit 0' /tmp/B.8b26r2_b/python3-sphinx_codeautolink.spec Building target platforms: i686-pld-linux Building for target i686-pld-linux warning: Could not canonicalize hostname: nereid RPM build warnings: Could not canonicalize hostname: nereid checking BuildConflict-ing packages rpm: Building target platforms: i686-pld-linux rpm: Building for target i686-pld-linux rpm: warning: Could not canonicalize hostname: nereid rpm: rpm: RPM build warnings: rpm: Could not canonicalize hostname: nereid no BuildConflicts found checking BR rpm: Building target platforms: i686-pld-linux rpm: Building for target i686-pld-linux rpm: warning: Could not canonicalize hostname: nereid rpm: rpm: RPM build warnings: rpm: Could not canonicalize hostname: nereid no BR needed building RPM using: set -ex; : build-id: 25522a08-e49b-43c1-80c4-471d37fe4cb4; TMPDIR=/tmp/B.8b26r2_b/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.8b26r2_b' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.8b26r2_b/python3-sphinx_codeautolink.spec + : build-id: 25522a08-e49b-43c1-80c4-471d37fe4cb4 + TMPDIR=/tmp/B.8b26r2_b/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.8b26r2_b' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.8b26r2_b/python3-sphinx_codeautolink.spec Building target platforms: i686-pld-linux Building for target i686-pld-linux warning: Could not canonicalize hostname: nereid Executing(%mkbuilddir): /bin/sh -e /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.L7udXj Executing(%prep): /bin/sh -e /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.NvPpGI + umask 022 + cd /tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build + cd /tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build + rm -rf sphinx_codeautolink-0.17.4 + /usr/lib/rpm/rpmuncompress -x /tmp/B.8b26r2_b/sphinx_codeautolink-0.17.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sphinx_codeautolink-0.17.4 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 + jobs -p + exit 0 Executing(%build): /bin/sh -e /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.8lg3XW TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/home/users/builder/GNUstep/Tools:/bin:/usr/bin:/usr/local/bin:/home/users/builder/bin TMPDIR=/tmp/B.8b26r2_b/BUILD/tmp + umask 022 + cd /tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build + cd sphinx_codeautolink-0.17.4 + LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' + export LDFLAGS + CFLAGS='-DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security ' + export CFLAGS + CXXFLAGS='-DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security ' + export CXXFLAGS + CC=/usr/bin/i686-pld-linux-gcc + export CC + CXX=/usr/bin/i686-pld-linux-g++ + export CXX + PKG_CONFIG_ALLOW_CROSS=1 + export PKG_CONFIG_ALLOW_CROSS + RUSTC=/usr/bin/rustc + export RUSTC + RUSTFLAGS='-C debuginfo=2 -C strip=none' + export RUSTFLAGS + /usr/bin/python3 -m build --wheel --no-isolation --outdir build-3 * Getting build dependencies for wheel... No `packages` or `py_modules` configuration, performing automatic discovery. `src-layout` detected -- analysing ./src discovered packages -- ['sphinx_codeautolink', 'sphinx_codeautolink.extension', 'sphinx_codeautolink.locale', 'sphinx_codeautolink.static', 'sphinx_codeautolink.locale.de', 'sphinx_codeautolink.locale.es', 'sphinx_codeautolink.locale.fi', 'sphinx_codeautolink.locale.fr', 'sphinx_codeautolink.locale.it', 'sphinx_codeautolink.locale.nl', 'sphinx_codeautolink.locale.ru', 'sphinx_codeautolink.locale.uk', 'sphinx_codeautolink.locale.de.LC_MESSAGES', 'sphinx_codeautolink.locale.es.LC_MESSAGES', 'sphinx_codeautolink.locale.fi.LC_MESSAGES', 'sphinx_codeautolink.locale.fr.LC_MESSAGES', 'sphinx_codeautolink.locale.it.LC_MESSAGES', 'sphinx_codeautolink.locale.nl.LC_MESSAGES', 'sphinx_codeautolink.locale.ru.LC_MESSAGES', 'sphinx_codeautolink.locale.uk.LC_MESSAGES'] discovered py_modules -- [] /usr/share/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/share/python3.13/site-packages/ptr.py:87: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! class PyTest(orig.test): running egg_info writing src/sphinx_codeautolink.egg-info/PKG-INFO writing dependency_links to src/sphinx_codeautolink.egg-info/dependency_links.txt writing requirements to src/sphinx_codeautolink.egg-info/requires.txt writing top-level names to src/sphinx_codeautolink.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'src/sphinx_codeautolink.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'src/sphinx_codeautolink.egg-info/SOURCES.txt' * Building wheel... No `packages` or `py_modules` configuration, performing automatic discovery. `src-layout` detected -- analysing ./src discovered packages -- ['sphinx_codeautolink', 'sphinx_codeautolink.extension', 'sphinx_codeautolink.locale', 'sphinx_codeautolink.static', 'sphinx_codeautolink.locale.de', 'sphinx_codeautolink.locale.es', 'sphinx_codeautolink.locale.fi', 'sphinx_codeautolink.locale.fr', 'sphinx_codeautolink.locale.it', 'sphinx_codeautolink.locale.nl', 'sphinx_codeautolink.locale.ru', 'sphinx_codeautolink.locale.uk', 'sphinx_codeautolink.locale.de.LC_MESSAGES', 'sphinx_codeautolink.locale.es.LC_MESSAGES', 'sphinx_codeautolink.locale.fi.LC_MESSAGES', 'sphinx_codeautolink.locale.fr.LC_MESSAGES', 'sphinx_codeautolink.locale.it.LC_MESSAGES', 'sphinx_codeautolink.locale.nl.LC_MESSAGES', 'sphinx_codeautolink.locale.ru.LC_MESSAGES', 'sphinx_codeautolink.locale.uk.LC_MESSAGES'] discovered py_modules -- [] /usr/share/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/share/python3.13/site-packages/ptr.py:87: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! class PyTest(orig.test): running bdist_wheel running build running build_py creating build/lib/sphinx_codeautolink copying src/sphinx_codeautolink/__init__.py -> build/lib/sphinx_codeautolink copying src/sphinx_codeautolink/parse.py -> build/lib/sphinx_codeautolink copying src/sphinx_codeautolink/warn.py -> build/lib/sphinx_codeautolink creating build/lib/sphinx_codeautolink/extension copying src/sphinx_codeautolink/extension/__init__.py -> build/lib/sphinx_codeautolink/extension copying src/sphinx_codeautolink/extension/backref.py -> build/lib/sphinx_codeautolink/extension copying src/sphinx_codeautolink/extension/block.py -> build/lib/sphinx_codeautolink/extension copying src/sphinx_codeautolink/extension/cache.py -> build/lib/sphinx_codeautolink/extension copying src/sphinx_codeautolink/extension/directive.py -> build/lib/sphinx_codeautolink/extension copying src/sphinx_codeautolink/extension/resolve.py -> build/lib/sphinx_codeautolink/extension copying src/sphinx_codeautolink/extension/translation.py -> build/lib/sphinx_codeautolink/extension running egg_info writing src/sphinx_codeautolink.egg-info/PKG-INFO writing dependency_links to src/sphinx_codeautolink.egg-info/dependency_links.txt writing requirements to src/sphinx_codeautolink.egg-info/requires.txt writing top-level names to src/sphinx_codeautolink.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'src/sphinx_codeautolink.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'src/sphinx_codeautolink.egg-info/SOURCES.txt' creating build/lib/sphinx_codeautolink/locale copying src/sphinx_codeautolink/locale/sphinx-codeautolink.pot -> build/lib/sphinx_codeautolink/locale creating build/lib/sphinx_codeautolink/static copying src/sphinx_codeautolink/static/sphinx-codeautolink.css -> build/lib/sphinx_codeautolink/static creating build/lib/sphinx_codeautolink/locale/de/LC_MESSAGES copying src/sphinx_codeautolink/locale/de/LC_MESSAGES/sphinx-codeautolink.mo -> build/lib/sphinx_codeautolink/locale/de/LC_MESSAGES copying src/sphinx_codeautolink/locale/de/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/de/LC_MESSAGES creating build/lib/sphinx_codeautolink/locale/es/LC_MESSAGES copying src/sphinx_codeautolink/locale/es/LC_MESSAGES/sphinx-codeautolink.mo -> build/lib/sphinx_codeautolink/locale/es/LC_MESSAGES copying src/sphinx_codeautolink/locale/es/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/es/LC_MESSAGES creating build/lib/sphinx_codeautolink/locale/fi/LC_MESSAGES copying src/sphinx_codeautolink/locale/fi/LC_MESSAGES/sphinx-codeautolink.mo -> build/lib/sphinx_codeautolink/locale/fi/LC_MESSAGES copying src/sphinx_codeautolink/locale/fi/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/fi/LC_MESSAGES creating build/lib/sphinx_codeautolink/locale/fr/LC_MESSAGES copying src/sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.mo -> build/lib/sphinx_codeautolink/locale/fr/LC_MESSAGES copying src/sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/fr/LC_MESSAGES creating build/lib/sphinx_codeautolink/locale/it/LC_MESSAGES copying src/sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.mo -> build/lib/sphinx_codeautolink/locale/it/LC_MESSAGES copying src/sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/it/LC_MESSAGES creating build/lib/sphinx_codeautolink/locale/nl/LC_MESSAGES copying src/sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.mo -> build/lib/sphinx_codeautolink/locale/nl/LC_MESSAGES copying src/sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/nl/LC_MESSAGES creating build/lib/sphinx_codeautolink/locale/ru/LC_MESSAGES copying src/sphinx_codeautolink/locale/ru/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/ru/LC_MESSAGES creating build/lib/sphinx_codeautolink/locale/uk/LC_MESSAGES copying src/sphinx_codeautolink/locale/uk/LC_MESSAGES/sphinx-codeautolink.po -> build/lib/sphinx_codeautolink/locale/uk/LC_MESSAGES installing to build/bdist.linux-i686/wheel running install running install_lib creating build/bdist.linux-i686/wheel creating build/bdist.linux-i686/wheel/sphinx_codeautolink copying build/lib/sphinx_codeautolink/__init__.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink copying build/lib/sphinx_codeautolink/parse.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink copying build/lib/sphinx_codeautolink/warn.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink creating build/bdist.linux-i686/wheel/sphinx_codeautolink/extension copying build/lib/sphinx_codeautolink/extension/__init__.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/extension copying build/lib/sphinx_codeautolink/extension/backref.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/extension copying build/lib/sphinx_codeautolink/extension/block.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/extension copying build/lib/sphinx_codeautolink/extension/cache.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/extension copying build/lib/sphinx_codeautolink/extension/directive.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/extension copying build/lib/sphinx_codeautolink/extension/resolve.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/extension copying build/lib/sphinx_codeautolink/extension/translation.py -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/extension creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale copying build/lib/sphinx_codeautolink/locale/sphinx-codeautolink.pot -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/de creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/de/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/de/LC_MESSAGES/sphinx-codeautolink.mo -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/de/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/de/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/de/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/es creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/es/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/es/LC_MESSAGES/sphinx-codeautolink.mo -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/es/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/es/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/es/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/fi creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/fi/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/fi/LC_MESSAGES/sphinx-codeautolink.mo -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/fi/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/fi/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/fi/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/fr creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/fr/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.mo -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/fr/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/fr/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/it creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/it/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.mo -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/it/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/it/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/nl creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/nl/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.mo -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/nl/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/nl/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/ru creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/ru/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/ru/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/ru/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/uk creating build/bdist.linux-i686/wheel/sphinx_codeautolink/locale/uk/LC_MESSAGES copying build/lib/sphinx_codeautolink/locale/uk/LC_MESSAGES/sphinx-codeautolink.po -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/locale/uk/LC_MESSAGES creating build/bdist.linux-i686/wheel/sphinx_codeautolink/static copying build/lib/sphinx_codeautolink/static/sphinx-codeautolink.css -> build/bdist.linux-i686/wheel/./sphinx_codeautolink/static running install_egg_info Copying src/sphinx_codeautolink.egg-info to build/bdist.linux-i686/wheel/./sphinx_codeautolink-0.17.4-py3.13.egg-info running install_scripts creating build/bdist.linux-i686/wheel/sphinx_codeautolink-0.17.4.dist-info/WHEEL creating '/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/build-3/.tmp-m0yp2e20/sphinx_codeautolink-0.17.4-py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it adding 'sphinx_codeautolink/__init__.py' adding 'sphinx_codeautolink/parse.py' adding 'sphinx_codeautolink/warn.py' adding 'sphinx_codeautolink/extension/__init__.py' adding 'sphinx_codeautolink/extension/backref.py' adding 'sphinx_codeautolink/extension/block.py' adding 'sphinx_codeautolink/extension/cache.py' adding 'sphinx_codeautolink/extension/directive.py' adding 'sphinx_codeautolink/extension/resolve.py' adding 'sphinx_codeautolink/extension/translation.py' adding 'sphinx_codeautolink/locale/sphinx-codeautolink.pot' adding 'sphinx_codeautolink/locale/de/LC_MESSAGES/sphinx-codeautolink.mo' adding 'sphinx_codeautolink/locale/de/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/locale/es/LC_MESSAGES/sphinx-codeautolink.mo' adding 'sphinx_codeautolink/locale/es/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/locale/fi/LC_MESSAGES/sphinx-codeautolink.mo' adding 'sphinx_codeautolink/locale/fi/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.mo' adding 'sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.mo' adding 'sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.mo' adding 'sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/locale/ru/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/locale/uk/LC_MESSAGES/sphinx-codeautolink.po' adding 'sphinx_codeautolink/static/sphinx-codeautolink.css' adding 'sphinx_codeautolink-0.17.4.dist-info/licenses/LICENSE' adding 'sphinx_codeautolink-0.17.4.dist-info/METADATA' adding 'sphinx_codeautolink-0.17.4.dist-info/WHEEL' adding 'sphinx_codeautolink-0.17.4.dist-info/top_level.txt' adding 'sphinx_codeautolink-0.17.4.dist-info/RECORD' removing build/bdist.linux-i686/wheel Successfully built sphinx_codeautolink-0.17.4-py3-none-any.whl + PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pwd + PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH=/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/src /usr/bin/python3 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.5.0 rootdir: /tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4 configfile: pyproject.toml collected 271 items tests/__init__.py ... [ 1%] tests/extension/__init__.py ............................................ [ 17%] ......F.........F....F.....FF........................................... [ 43%] [ 43%] tests/parse/__init__.py ....x.....................x. [ 54%] tests/parse/assign.py .................................x................ [ 72%] [ 72%] tests/parse/chain.py ... [ 73%] tests/parse/match.py ............xx.. [ 79%] tests/parse/scope.py ..............x......x....x...x..........x......... [ 98%] .... [100%] =================================== FAILURES =================================== ___________________ test_references[ref_builtins.txt-file50] ___________________ name = 'ref_builtins.txt' file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_builtins.txt') tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0') @pytest.mark.parametrize(("name", "file"), ref_tests) def test_references(name: str, file: Path, tmp_path: Path): """ Basic extension tests for reference building. The tests are structured as .txt files, parsed and executed here. The structure of the file is:: expected autolink link.targets # split lines to add to the default conf.py # split index.html content """ if ref_xfails.get(file.name, False): pytest.xfail("Expected to fail.") links, conf, index = file.read_text("utf-8").split("# split") links = links.strip().split("\n") if len(links) == 1 and not links[0]: links = [] files = {"conf.py": default_conf + conf, "index.rst": index} print(f"Building file {name}.") > result_dir = _sphinx_build(tmp_path, "html", files) tests/extension/__init__.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0') builder = 'html' files = {'conf.py': '\nextensions = [\n "sphinx.ext.autodoc",\n "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...\n', 'index.rst': '\nTest project\n============\n\n.. code:: python\n\n print("Hi")\n raise RuntimeError("Bye")\n'} n_processes = None def _sphinx_build( folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None ) -> Path: """Build Sphinx documentation and return result folder.""" src_dir = folder / "src" src_dir.mkdir(exist_ok=True) for name, content in files.items(): path = src_dir / name path.parent.mkdir(exist_ok=True, parents=True) path.write_text(content, "utf-8") build_dir = folder / "build" args = ["-M", builder, str(src_dir), str(build_dir), "-W"] if n_processes: args.extend(["-j", str(n_processes)]) ret_val = sphinx_main(args) if ret_val: msg = "Sphinx build failed!" > raise RuntimeError(msg) E RuntimeError: Sphinx build failed! tests/extension/__init__.py:440: RuntimeError ----------------------------- Captured stdout call ----------------------------- Building file ref_builtins.txt. Running Sphinx v8.3.0 loading translations [en]... done making output directory... done loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/basic.css Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/documentation_options.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/language_data.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [100%] index generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build finished with problems, 4 warnings (with warnings treated as errors). ----------------------------- Captured stderr call ----------------------------- WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/src/index.rst:5: WARNING: Inventory missing `print` when resolving `print` on line 1. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/src/index.rst:5: WARNING: Inventory missing `RuntimeError` when resolving `RuntimeError` on line 2. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] WARNING: Cannot locate modules: 'RuntimeError', 'print' because of missing intersphinx or documentation entries [codeautolink.missing_inventory] ________________ test_references[ref_func_no_module.txt-file60] ________________ name = 'ref_func_no_module.txt' file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_func_no_module.txt') tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0') @pytest.mark.parametrize(("name", "file"), ref_tests) def test_references(name: str, file: Path, tmp_path: Path): """ Basic extension tests for reference building. The tests are structured as .txt files, parsed and executed here. The structure of the file is:: expected autolink link.targets # split lines to add to the default conf.py # split index.html content """ if ref_xfails.get(file.name, False): pytest.xfail("Expected to fail.") links, conf, index = file.read_text("utf-8").split("# split") links = links.strip().split("\n") if len(links) == 1 and not links[0]: links = [] files = {"conf.py": default_conf + conf, "index.rst": index} print(f"Building file {name}.") > result_dir = _sphinx_build(tmp_path, "html", files) tests/extension/__init__.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0') builder = 'html' files = {'conf.py': '\nextensions = [\n "sphinx.ext.autodoc",\n "sphinx_codeautolink",\n]\n\nautodoc_default_options = {... '\nTest project\n============\n\n.. code:: python\n\n from datetime import datetime\n datetime.fromisoformat()\n'} n_processes = None def _sphinx_build( folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None ) -> Path: """Build Sphinx documentation and return result folder.""" src_dir = folder / "src" src_dir.mkdir(exist_ok=True) for name, content in files.items(): path = src_dir / name path.parent.mkdir(exist_ok=True, parents=True) path.write_text(content, "utf-8") build_dir = folder / "build" args = ["-M", builder, str(src_dir), str(build_dir), "-W"] if n_processes: args.extend(["-j", str(n_processes)]) ret_val = sphinx_main(args) if ret_val: msg = "Sphinx build failed!" > raise RuntimeError(msg) E RuntimeError: Sphinx build failed! tests/extension/__init__.py:440: RuntimeError ----------------------------- Captured stdout call ----------------------------- Building file ref_func_no_module.txt. Running Sphinx v8.3.0 loading translations [en]... done making output directory... done loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/basic.css Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/documentation_options.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/language_data.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [100%] index generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build finished with problems, 5 warnings (with warnings treated as errors). ----------------------------- Captured stderr call ----------------------------- WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/src/index.rst:5: WARNING: Inventory missing `datetime` when resolving `datetime` on line 1. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/src/index.rst:5: WARNING: Inventory missing `datetime.datetime` when resolving `datetime` on line 1. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/src/index.rst:5: WARNING: Inventory missing `datetime.datetime.fromisoformat` when resolving `datetime.fromisoformat` on line 2. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] WARNING: Cannot locate modules: 'datetime' because of missing intersphinx or documentation entries [codeautolink.missing_inventory] _____________ test_references[ref_import_multiple_libs.txt-file65] _____________ name = 'ref_import_multiple_libs.txt' file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_import_multiple_libs.txt') tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1') @pytest.mark.parametrize(("name", "file"), ref_tests) def test_references(name: str, file: Path, tmp_path: Path): """ Basic extension tests for reference building. The tests are structured as .txt files, parsed and executed here. The structure of the file is:: expected autolink link.targets # split lines to add to the default conf.py # split index.html content """ if ref_xfails.get(file.name, False): pytest.xfail("Expected to fail.") links, conf, index = file.read_text("utf-8").split("# split") links = links.strip().split("\n") if len(links) == 1 and not links[0]: links = [] files = {"conf.py": default_conf + conf, "index.rst": index} print(f"Building file {name}.") > result_dir = _sphinx_build(tmp_path, "html", files) tests/extension/__init__.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1') builder = 'html' files = {'conf.py': '\nextensions = [\n "sphinx.ext.autodoc",\n "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...dex.rst': '\nTest project\n============\n\n.. code:: python\n\n import json, math\n\n.. automodule:: test_project\n'} n_processes = None def _sphinx_build( folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None ) -> Path: """Build Sphinx documentation and return result folder.""" src_dir = folder / "src" src_dir.mkdir(exist_ok=True) for name, content in files.items(): path = src_dir / name path.parent.mkdir(exist_ok=True, parents=True) path.write_text(content, "utf-8") build_dir = folder / "build" args = ["-M", builder, str(src_dir), str(build_dir), "-W"] if n_processes: args.extend(["-j", str(n_processes)]) ret_val = sphinx_main(args) if ret_val: msg = "Sphinx build failed!" > raise RuntimeError(msg) E RuntimeError: Sphinx build failed! tests/extension/__init__.py:440: RuntimeError ----------------------------- Captured stdout call ----------------------------- Building file ref_import_multiple_libs.txt. Running Sphinx v8.3.0 loading translations [en]... done making output directory... done loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/basic.css Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/documentation_options.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/language_data.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [100%] index generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build finished with problems, 4 warnings (with warnings treated as errors). ----------------------------- Captured stderr call ----------------------------- WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/src/index.rst:5: WARNING: Inventory missing `json` when resolving `json` on line 1. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/src/index.rst:5: WARNING: Inventory missing `math` when resolving `math` on line 1. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] WARNING: Cannot locate modules: 'json', 'math' because of missing intersphinx or documentation entries [codeautolink.missing_inventory] _______________ test_references[ref_intersphinx_only.txt-file71] _______________ name = 'ref_intersphinx_only.txt' file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_intersphinx_only.txt') tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0') @pytest.mark.parametrize(("name", "file"), ref_tests) def test_references(name: str, file: Path, tmp_path: Path): """ Basic extension tests for reference building. The tests are structured as .txt files, parsed and executed here. The structure of the file is:: expected autolink link.targets # split lines to add to the default conf.py # split index.html content """ if ref_xfails.get(file.name, False): pytest.xfail("Expected to fail.") links, conf, index = file.read_text("utf-8").split("# split") links = links.strip().split("\n") if len(links) == 1 and not links[0]: links = [] files = {"conf.py": default_conf + conf, "index.rst": index} print(f"Building file {name}.") > result_dir = _sphinx_build(tmp_path, "html", files) tests/extension/__init__.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0') builder = 'html' files = {'conf.py': '\nextensions = [\n "sphinx.ext.autodoc",\n "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...one)}\n', 'index.rst': '\nTest project\n============\n\n.. code:: python\n\n import numpy as np\n\n np.arange()\n'} n_processes = None def _sphinx_build( folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None ) -> Path: """Build Sphinx documentation and return result folder.""" src_dir = folder / "src" src_dir.mkdir(exist_ok=True) for name, content in files.items(): path = src_dir / name path.parent.mkdir(exist_ok=True, parents=True) path.write_text(content, "utf-8") build_dir = folder / "build" args = ["-M", builder, str(src_dir), str(build_dir), "-W"] if n_processes: args.extend(["-j", str(n_processes)]) ret_val = sphinx_main(args) if ret_val: msg = "Sphinx build failed!" > raise RuntimeError(msg) E RuntimeError: Sphinx build failed! tests/extension/__init__.py:440: RuntimeError ----------------------------- Captured stdout call ----------------------------- Building file ref_intersphinx_only.txt. Running Sphinx v8.3.0 loading translations [en]... done making output directory... done loading intersphinx inventory 'numpy' from https://numpy.org/doc/stable/objects.inv ... building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/basic.css Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/documentation_options.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/language_data.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [100%] index generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build finished with problems, 4 warnings (with warnings treated as errors). ----------------------------- Captured stderr call ----------------------------- WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/src/index.rst:5: WARNING: Inventory missing `numpy` when resolving `numpy` on line 1. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/src/index.rst:5: WARNING: Inventory missing `numpy.arange` when resolving `np.arange` on line 3. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] WARNING: Cannot locate modules: 'numpy' because of missing intersphinx or documentation entries [codeautolink.missing_inventory] _________________ test_references[ref_invalid_func.txt-file72] _________________ name = 'ref_invalid_func.txt' file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_invalid_func.txt') tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0') @pytest.mark.parametrize(("name", "file"), ref_tests) def test_references(name: str, file: Path, tmp_path: Path): """ Basic extension tests for reference building. The tests are structured as .txt files, parsed and executed here. The structure of the file is:: expected autolink link.targets # split lines to add to the default conf.py # split index.html content """ if ref_xfails.get(file.name, False): pytest.xfail("Expected to fail.") links, conf, index = file.read_text("utf-8").split("# split") links = links.strip().split("\n") if len(links) == 1 and not links[0]: links = [] files = {"conf.py": default_conf + conf, "index.rst": index} print(f"Building file {name}.") > result_dir = _sphinx_build(tmp_path, "html", files) tests/extension/__init__.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0') builder = 'html' files = {'conf.py': '\nextensions = [\n "sphinx.ext.autodoc",\n "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...ndex.rst': '\nTest project\n============\n\n.. code:: python\n\n import numpy as np\n\n np.concatenate().mean()\n'} n_processes = None def _sphinx_build( folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None ) -> Path: """Build Sphinx documentation and return result folder.""" src_dir = folder / "src" src_dir.mkdir(exist_ok=True) for name, content in files.items(): path = src_dir / name path.parent.mkdir(exist_ok=True, parents=True) path.write_text(content, "utf-8") build_dir = folder / "build" args = ["-M", builder, str(src_dir), str(build_dir), "-W"] if n_processes: args.extend(["-j", str(n_processes)]) ret_val = sphinx_main(args) if ret_val: msg = "Sphinx build failed!" > raise RuntimeError(msg) E RuntimeError: Sphinx build failed! tests/extension/__init__.py:440: RuntimeError ----------------------------- Captured stdout call ----------------------------- Building file ref_invalid_func.txt. Running Sphinx v8.3.0 loading translations [en]... done making output directory... done loading intersphinx inventory 'numpy' from https://numpy.org/doc/stable/objects.inv ... building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/basic.css Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/documentation_options.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/language_data.js Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [100%] index generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build finished with problems, 4 warnings (with warnings treated as errors). ----------------------------- Captured stderr call ----------------------------- WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/src/index.rst:5: WARNING: Inventory missing `numpy` when resolving `numpy` on line 1. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/src/index.rst:5: WARNING: Inventory missing `numpy.concatenate` when resolving `np.concatenate` on line 3. Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory] WARNING: Cannot locate modules: 'numpy' because of missing intersphinx or documentation entries [codeautolink.missing_inventory] =============================== warnings summary =============================== tests/extension/__init__.py::test_references[lexer_ipython_directive.txt-file25] /usr/share/python3.13/site-packages/_pytest/assertion/rewrite.py:185: DeprecationWarning: module 'sre_constants' is deprecated exec(co, module.__dict__) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/extension/__init__.py::test_references[ref_builtins.txt-file50] FAILED tests/extension/__init__.py::test_references[ref_func_no_module.txt-file60] FAILED tests/extension/__init__.py::test_references[ref_import_multiple_libs.txt-file65] FAILED tests/extension/__init__.py::test_references[ref_intersphinx_only.txt-file71] FAILED tests/extension/__init__.py::test_references[ref_invalid_func.txt-file72] ======= 5 failed, 256 passed, 10 xfailed, 1 warning in 65.88s (0:01:05) ======== error: Bad exit status from /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.8lg3XW (%build) RPM build warnings: Could not canonicalize hostname: nereid RPM build errors: Bad exit status from /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.8lg3XW (%build) ended at: Sat Jul 5 07:21:01 2025, done in 0:01:13.738597 error: No files produced. + chmod -R u+rwX /tmp/B.8b26r2_b/BUILD + rm -rf /tmp/B.8b26r2_b/tmp /tmp/B.8b26r2_b/BUILD + rm -rf /tmp/B.8b26r2_b Begin-PLD-Builder-Info Build-Time: user:71.96s sys:4.21s real:76.48s (faults io:0 non-io:326469) End-PLD-Builder-Info