D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-numpydoc-1.7.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LlOQ47 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LpeopV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + rm -rf numpydoc-1.7.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/numpydoc-1.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd numpydoc-1.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XKlVIo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + cd numpydoc-1.7.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + true + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' pyproject.toml + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml + sed -i -e 's/~=/>=/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg + sed -i -e 's/~=/>=/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-buildrequires -x test Handling setuptools>=61.2 from build-system.requires Requirement satisfied: setuptools>=61.2 (installed: setuptools 75.6.0) running egg_info writing numpydoc.egg-info/PKG-INFO writing dependency_links to numpydoc.egg-info/dependency_links.txt writing entry points to numpydoc.egg-info/entry_points.txt writing requirements to numpydoc.egg-info/requires.txt writing top-level names to numpydoc.egg-info/top_level.txt reading manifest file 'numpydoc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching '*/__pycache__' warning: no previously-included files found matching '.circleci/config.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.bak' found anywhere in distribution warning: no previously-included files matching '*.swp' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'numpydoc.egg-info/SOURCES.txt' running dist_info writing numpydoc.egg-info/PKG-INFO writing dependency_links to numpydoc.egg-info/dependency_links.txt writing entry points to numpydoc.egg-info/entry_points.txt writing requirements to numpydoc.egg-info/requires.txt writing top-level names to numpydoc.egg-info/top_level.txt reading manifest file 'numpydoc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching '*/__pycache__' warning: no previously-included files found matching '.circleci/config.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.bak' found anywhere in distribution warning: no previously-included files matching '*.swp' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'numpydoc.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/numpydoc-1.7.0.dist-info' Handling sphinx>=6 from hook generated metadata: Requires-Dist (numpydoc) Requirement satisfied: sphinx>=6 (installed: sphinx 8.1.3) Handling tabulate>=0.8.10 from hook generated metadata: Requires-Dist (numpydoc) Requirement satisfied: tabulate>=0.8.10 (installed: tabulate 0.9.0) Handling tomli>=1.1.0; python_version < "3.11" from hook generated metadata: Requires-Dist (numpydoc) Ignoring alien requirement: tomli>=1.1.0; python_version < "3.11" Handling pre-commit>=3.3; extra == "developer" from hook generated metadata: Requires-Dist (numpydoc) Ignoring alien requirement: pre-commit>=3.3; extra == "developer" Handling tomli; python_version < "3.11" and extra == "developer" from hook generated metadata: Requires-Dist (numpydoc) Ignoring alien requirement: tomli; python_version < "3.11" and extra == "developer" Handling numpy>=1.22; extra == "doc" from hook generated metadata: Requires-Dist (numpydoc) Ignoring alien requirement: numpy>=1.22; extra == "doc" Handling matplotlib>=3.5; extra == "doc" from hook generated metadata: Requires-Dist (numpydoc) Ignoring alien requirement: matplotlib>=3.5; extra == "doc" Handling pydata-sphinx-theme>=0.13.3; extra == "doc" from hook generated metadata: Requires-Dist (numpydoc) Ignoring alien requirement: pydata-sphinx-theme>=0.13.3; extra == "doc" Handling sphinx>=7; extra == "doc" from hook generated metadata: Requires-Dist (numpydoc) Ignoring alien requirement: sphinx>=7; extra == "doc" Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (numpydoc) Requirement satisfied: pytest; extra == "test" (installed: pytest 8.3.4) Handling pytest-cov; extra == "test" from hook generated metadata: Requires-Dist (numpydoc) Requirement satisfied: pytest-cov; extra == "test" (installed: pytest-cov 6.0.0) Handling matplotlib; extra == "test" from hook generated metadata: Requires-Dist (numpydoc) Requirement satisfied: matplotlib; extra == "test" (installed: matplotlib 3.9.1.post0) + cat /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-buildrequires + rm -rfv numpydoc-1.7.0.dist-info/ removed 'numpydoc-1.7.0.dist-info/LICENSE.txt' removed 'numpydoc-1.7.0.dist-info/entry_points.txt' removed 'numpydoc-1.7.0.dist-info/top_level.txt' removed 'numpydoc-1.7.0.dist-info/METADATA' removed directory 'numpydoc-1.7.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.B8sOQB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd numpydoc-1.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info writing /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/dependency_links.txt writing entry points to /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/entry_points.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.circleci/config.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.bak' found anywhere in distribution warning: no previously-included files matching '*.swp' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-modern-metadata-v68zpagg/numpydoc-1.7.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: numpydoc Building wheel for numpydoc (pyproject.toml): started Running command Building wheel for numpydoc (pyproject.toml) running bdist_wheel running build running build_py creating build/lib/numpydoc copying numpydoc/docscrape_sphinx.py -> build/lib/numpydoc copying numpydoc/docscrape.py -> build/lib/numpydoc copying numpydoc/xref.py -> build/lib/numpydoc copying numpydoc/__main__.py -> build/lib/numpydoc copying numpydoc/validate.py -> build/lib/numpydoc copying numpydoc/__init__.py -> build/lib/numpydoc copying numpydoc/numpydoc.py -> build/lib/numpydoc copying numpydoc/_version.py -> build/lib/numpydoc creating build/lib/numpydoc/hooks copying numpydoc/hooks/validate_docstrings.py -> build/lib/numpydoc/hooks copying numpydoc/hooks/__init__.py -> build/lib/numpydoc/hooks copying numpydoc/hooks/utils.py -> build/lib/numpydoc/hooks creating build/lib/numpydoc/tests copying numpydoc/tests/test_main.py -> build/lib/numpydoc/tests copying numpydoc/tests/test_validate.py -> build/lib/numpydoc/tests copying numpydoc/tests/test_xref.py -> build/lib/numpydoc/tests copying numpydoc/tests/test_numpydoc.py -> build/lib/numpydoc/tests copying numpydoc/tests/test_full.py -> build/lib/numpydoc/tests copying numpydoc/tests/test_docscrape.py -> build/lib/numpydoc/tests creating build/lib/numpydoc/tests/tinybuild copying numpydoc/tests/tinybuild/Makefile -> build/lib/numpydoc/tests/tinybuild copying numpydoc/tests/tinybuild/index.rst -> build/lib/numpydoc/tests/tinybuild copying numpydoc/tests/tinybuild/conf.py -> build/lib/numpydoc/tests/tinybuild copying numpydoc/tests/tinybuild/numpydoc_test_module.py -> build/lib/numpydoc/tests/tinybuild creating build/lib/numpydoc/templates copying numpydoc/templates/numpydoc_docstring.rst -> build/lib/numpydoc/templates installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/numpydoc copying build/lib/numpydoc/docscrape_sphinx.py -> build/bdist.linux-x86_64/wheel/./numpydoc creating build/bdist.linux-x86_64/wheel/numpydoc/templates copying build/lib/numpydoc/templates/numpydoc_docstring.rst -> build/bdist.linux-x86_64/wheel/./numpydoc/templates copying build/lib/numpydoc/docscrape.py -> build/bdist.linux-x86_64/wheel/./numpydoc copying build/lib/numpydoc/xref.py -> build/bdist.linux-x86_64/wheel/./numpydoc creating build/bdist.linux-x86_64/wheel/numpydoc/hooks copying build/lib/numpydoc/hooks/validate_docstrings.py -> build/bdist.linux-x86_64/wheel/./numpydoc/hooks copying build/lib/numpydoc/hooks/__init__.py -> build/bdist.linux-x86_64/wheel/./numpydoc/hooks copying build/lib/numpydoc/hooks/utils.py -> build/bdist.linux-x86_64/wheel/./numpydoc/hooks creating build/bdist.linux-x86_64/wheel/numpydoc/tests copying build/lib/numpydoc/tests/test_main.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests copying build/lib/numpydoc/tests/test_validate.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests copying build/lib/numpydoc/tests/test_xref.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests creating build/bdist.linux-x86_64/wheel/numpydoc/tests/tinybuild copying build/lib/numpydoc/tests/tinybuild/conf.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests/tinybuild copying build/lib/numpydoc/tests/tinybuild/numpydoc_test_module.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests/tinybuild copying build/lib/numpydoc/tests/tinybuild/Makefile -> build/bdist.linux-x86_64/wheel/./numpydoc/tests/tinybuild copying build/lib/numpydoc/tests/tinybuild/index.rst -> build/bdist.linux-x86_64/wheel/./numpydoc/tests/tinybuild copying build/lib/numpydoc/tests/test_numpydoc.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests copying build/lib/numpydoc/tests/test_full.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests copying build/lib/numpydoc/tests/test_docscrape.py -> build/bdist.linux-x86_64/wheel/./numpydoc/tests copying build/lib/numpydoc/__main__.py -> build/bdist.linux-x86_64/wheel/./numpydoc copying build/lib/numpydoc/validate.py -> build/bdist.linux-x86_64/wheel/./numpydoc copying build/lib/numpydoc/__init__.py -> build/bdist.linux-x86_64/wheel/./numpydoc copying build/lib/numpydoc/numpydoc.py -> build/bdist.linux-x86_64/wheel/./numpydoc copying build/lib/numpydoc/_version.py -> build/bdist.linux-x86_64/wheel/./numpydoc running install_egg_info running egg_info writing numpydoc.egg-info/PKG-INFO writing dependency_links to numpydoc.egg-info/dependency_links.txt writing entry points to numpydoc.egg-info/entry_points.txt writing requirements to numpydoc.egg-info/requires.txt writing top-level names to numpydoc.egg-info/top_level.txt reading manifest file 'numpydoc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.circleci/config.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.bak' found anywhere in distribution warning: no previously-included files matching '*.swp' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'numpydoc.egg-info/SOURCES.txt' Copying numpydoc.egg-info to build/bdist.linux-x86_64/wheel/./numpydoc-1.7.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/numpydoc-1.7.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir/pip-wheel-_96pqvp3/.tmp-t3j6q9uz/numpydoc-1.7.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'numpydoc/__init__.py' adding 'numpydoc/__main__.py' adding 'numpydoc/_version.py' adding 'numpydoc/docscrape.py' adding 'numpydoc/docscrape_sphinx.py' adding 'numpydoc/numpydoc.py' adding 'numpydoc/validate.py' adding 'numpydoc/xref.py' adding 'numpydoc/hooks/__init__.py' adding 'numpydoc/hooks/utils.py' adding 'numpydoc/hooks/validate_docstrings.py' adding 'numpydoc/templates/numpydoc_docstring.rst' adding 'numpydoc/tests/test_docscrape.py' adding 'numpydoc/tests/test_full.py' adding 'numpydoc/tests/test_main.py' adding 'numpydoc/tests/test_numpydoc.py' adding 'numpydoc/tests/test_validate.py' adding 'numpydoc/tests/test_xref.py' adding 'numpydoc/tests/tinybuild/Makefile' adding 'numpydoc/tests/tinybuild/conf.py' adding 'numpydoc/tests/tinybuild/index.rst' adding 'numpydoc/tests/tinybuild/numpydoc_test_module.py' adding 'numpydoc-1.7.0.dist-info/LICENSE.txt' adding 'numpydoc-1.7.0.dist-info/METADATA' adding 'numpydoc-1.7.0.dist-info/WHEEL' adding 'numpydoc-1.7.0.dist-info/entry_points.txt' adding 'numpydoc-1.7.0.dist-info/top_level.txt' adding 'numpydoc-1.7.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for numpydoc (pyproject.toml): finished with status 'done' Created wheel for numpydoc: filename=numpydoc-1.7.0-py3-none-any.whl size=62653 sha256=7b9d41f9f48de99db8fb02bed9dd4585bc2ad29d6e3cfeb910d59dcd7ff39d3d Stored in directory: /home/pterjan/.cache/pip/wheels/4d/6b/55/2ec75c79fa2ca1981a05ca82f91c73a332de10f8b71e9483dc Successfully built numpydoc + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UNHXMy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd numpydoc-1.7.0 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/pyproject-wheeldir/numpydoc-1.7.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=numpydoc==1.7.0 + '[' -z numpydoc==1.7.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/pyproject-wheeldir numpydoc==1.7.0 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/pyproject-wheeldir Processing ./pyproject-wheeldir/numpydoc-1.7.0-py3-none-any.whl Installing collected packages: numpydoc Creating /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/bin changing mode of /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/bin/validate-docstrings to 755 Successfully installed numpydoc-1.7.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/bin/validate-docstrings /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/bin/validate-docstrings: updating + rm -rfv /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/bin/__pycache__ + rm -f /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/numpydoc-1.7.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages/numpydoc-1.7.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages/numpydoc-1.7.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages/numpydoc-1.7.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages/numpydoc-1.7.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages/numpydoc-1.7.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages/numpydoc-1.7.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/python-numpydoc-1.7.0-1.mga10.noarch-pyproject-record --prefix /usr numpydoc + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SAI9G7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd numpydoc-1.7.0 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + PATH=/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/qt5/bin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/BUILDROOT/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=48 + /usr/bin/pytest --deselect=numpydoc/tests/test_full.py::test_MyClass --deselect=numpydoc/tests/test_full.py::test_my_function --deselect=numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 rootdir: /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0 configfile: pyproject.toml plugins: cov-6.0.0 collected 292 items / 44 deselected / 248 selected numpydoc/numpydoc.py . [ 0%] numpydoc/tests/hooks/test_utils.py ..... [ 2%] numpydoc/tests/hooks/test_validate_hook.py ........ [ 5%] numpydoc/tests/test_docscrape.py ....................................... [ 21%] ....................... [ 30%] numpydoc/tests/test_full.py ... [ 31%] numpydoc/tests/test_main.py ....... [ 34%] numpydoc/tests/test_numpydoc.py ...FFFFFFF... [ 39%] numpydoc/tests/test_validate.py ........................................ [ 56%] ............................................. [ 74%] numpydoc/tests/test_xref.py ............................................ [ 91%] ................... [ 99%] numpydoc/validate.py . [100%] =================================== FAILURES =================================== _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks0-expected_warn0-non_warnings0] _ f = ._function_without_seealso_and_examples at 0x7f00522c2160> numpydoc_validation_checks = set(), expected_warn = [], non_warnings = [] @pytest.mark.parametrize( ( "numpydoc_validation_checks", "expected_warn", "non_warnings", ), ( # Validation configured off - expect no warnings (set(), [], []), # Validation on with expected warnings ({"SA01", "EX01"}, ("SA01", "EX01"), []), # Validation on with only one activated check ({"SA01"}, ("SA01",), ("EX01",)), ), ) def test_mangle_docstring_validation_warnings( f, numpydoc_validation_checks, expected_warn, non_warnings, ): app = MockApp() # Set up config for test app.config.numpydoc_validation_checks = numpydoc_validation_checks # Update configuration update_config(app) # Set up logging status, warning = StringIO(), StringIO() > logging.setup(app, status, warning) app = expected_warn = [] f = ._function_without_seealso_and_examples at 0x7f00522c2160> non_warnings = [] numpydoc_validation_checks = set() status = <_io.StringIO object at 0x7f0052bcf7c0> warning = <_io.StringIO object at 0x7f0052bcc940> numpydoc/tests/test_numpydoc.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = status = <_io.StringIO object at 0x7f0052bcf7c0> warning = <_io.StringIO object at 0x7f0052bcc940> def setup(app: Sphinx, status: IO, warning: IO) -> None: """Setup root logger for Sphinx""" logger = logging.getLogger(NAMESPACE) logger.setLevel(logging.DEBUG) logger.propagate = False # clear all handlers for handler in logger.handlers[:]: logger.removeHandler(handler) info_handler = NewLineStreamHandler(SafeEncodingWriter(status)) info_handler.addFilter(InfoFilter()) info_handler.addFilter(InfoLogRecordTranslator(app)) info_handler.setLevel(VERBOSITY_MAP[app.verbosity]) info_handler.setFormatter(ColorizeFormatter()) warning_handler = WarningStreamHandler(SafeEncodingWriter(warning)) > if app._exception_on_warning: E AttributeError: 'MockApp' object has no attribute '_exception_on_warning' app = handler = info_handler = logger = status = <_io.StringIO object at 0x7f0052bcf7c0> warning = <_io.StringIO object at 0x7f0052bcc940> warning_handler = /usr/lib/python3.12/site-packages/sphinx/util/logging.py:628: AttributeError _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks1-expected_warn1-non_warnings1] _ f = ._function_without_seealso_and_examples at 0x7f005214eca0> numpydoc_validation_checks = {'EX01', 'SA01'}, expected_warn = ('SA01', 'EX01') non_warnings = [] @pytest.mark.parametrize( ( "numpydoc_validation_checks", "expected_warn", "non_warnings", ), ( # Validation configured off - expect no warnings (set(), [], []), # Validation on with expected warnings ({"SA01", "EX01"}, ("SA01", "EX01"), []), # Validation on with only one activated check ({"SA01"}, ("SA01",), ("EX01",)), ), ) def test_mangle_docstring_validation_warnings( f, numpydoc_validation_checks, expected_warn, non_warnings, ): app = MockApp() # Set up config for test app.config.numpydoc_validation_checks = numpydoc_validation_checks # Update configuration update_config(app) # Set up logging status, warning = StringIO(), StringIO() > logging.setup(app, status, warning) app = expected_warn = ('SA01', 'EX01') f = ._function_without_seealso_and_examples at 0x7f005214eca0> non_warnings = [] numpydoc_validation_checks = {'EX01', 'SA01'} status = <_io.StringIO object at 0x7f0052218b80> warning = <_io.StringIO object at 0x7f0052218940> numpydoc/tests/test_numpydoc.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = status = <_io.StringIO object at 0x7f0052218b80> warning = <_io.StringIO object at 0x7f0052218940> def setup(app: Sphinx, status: IO, warning: IO) -> None: """Setup root logger for Sphinx""" logger = logging.getLogger(NAMESPACE) logger.setLevel(logging.DEBUG) logger.propagate = False # clear all handlers for handler in logger.handlers[:]: logger.removeHandler(handler) info_handler = NewLineStreamHandler(SafeEncodingWriter(status)) info_handler.addFilter(InfoFilter()) info_handler.addFilter(InfoLogRecordTranslator(app)) info_handler.setLevel(VERBOSITY_MAP[app.verbosity]) info_handler.setFormatter(ColorizeFormatter()) warning_handler = WarningStreamHandler(SafeEncodingWriter(warning)) > if app._exception_on_warning: E AttributeError: 'MockApp' object has no attribute '_exception_on_warning' app = info_handler = logger = status = <_io.StringIO object at 0x7f0052218b80> warning = <_io.StringIO object at 0x7f0052218940> warning_handler = /usr/lib/python3.12/site-packages/sphinx/util/logging.py:628: AttributeError _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks2-expected_warn2-non_warnings2] _ f = ._function_without_seealso_and_examples at 0x7f00522c27a0> numpydoc_validation_checks = {'SA01'}, expected_warn = ('SA01',) non_warnings = ('EX01',) @pytest.mark.parametrize( ( "numpydoc_validation_checks", "expected_warn", "non_warnings", ), ( # Validation configured off - expect no warnings (set(), [], []), # Validation on with expected warnings ({"SA01", "EX01"}, ("SA01", "EX01"), []), # Validation on with only one activated check ({"SA01"}, ("SA01",), ("EX01",)), ), ) def test_mangle_docstring_validation_warnings( f, numpydoc_validation_checks, expected_warn, non_warnings, ): app = MockApp() # Set up config for test app.config.numpydoc_validation_checks = numpydoc_validation_checks # Update configuration update_config(app) # Set up logging status, warning = StringIO(), StringIO() > logging.setup(app, status, warning) app = expected_warn = ('SA01',) f = ._function_without_seealso_and_examples at 0x7f00522c27a0> non_warnings = ('EX01',) numpydoc_validation_checks = {'SA01'} status = <_io.StringIO object at 0x7f0052219cc0> warning = <_io.StringIO object at 0x7f0052219c00> numpydoc/tests/test_numpydoc.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = status = <_io.StringIO object at 0x7f0052219cc0> warning = <_io.StringIO object at 0x7f0052219c00> def setup(app: Sphinx, status: IO, warning: IO) -> None: """Setup root logger for Sphinx""" logger = logging.getLogger(NAMESPACE) logger.setLevel(logging.DEBUG) logger.propagate = False # clear all handlers for handler in logger.handlers[:]: logger.removeHandler(handler) info_handler = NewLineStreamHandler(SafeEncodingWriter(status)) info_handler.addFilter(InfoFilter()) info_handler.addFilter(InfoLogRecordTranslator(app)) info_handler.setLevel(VERBOSITY_MAP[app.verbosity]) info_handler.setFormatter(ColorizeFormatter()) warning_handler = WarningStreamHandler(SafeEncodingWriter(warning)) > if app._exception_on_warning: E AttributeError: 'MockApp' object has no attribute '_exception_on_warning' app = info_handler = logger = status = <_io.StringIO object at 0x7f0052219cc0> warning = <_io.StringIO object at 0x7f0052219c00> warning_handler = /usr/lib/python3.12/site-packages/sphinx/util/logging.py:628: AttributeError ___________________ test_mangle_docstring_validation_exclude ___________________ def test_mangle_docstring_validation_exclude(): def function_with_bad_docstring(): """ This docstring will raise docstring validation warnings.""" app = MockApp() app.config.numpydoc_validation_checks = {"all"} app.config.numpydoc_validation_exclude = [r"_bad_"] # Call update_config to construct regexp from config value update_config(app) # Setup for catching warnings status, warning = StringIO(), StringIO() > logging.setup(app, status, warning) app = function_with_bad_docstring = .function_with_bad_docstring at 0x7f00522c1940> status = <_io.StringIO object at 0x7f005221a080> warning = <_io.StringIO object at 0x7f005221a200> numpydoc/tests/test_numpydoc.py:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = status = <_io.StringIO object at 0x7f005221a080> warning = <_io.StringIO object at 0x7f005221a200> def setup(app: Sphinx, status: IO, warning: IO) -> None: """Setup root logger for Sphinx""" logger = logging.getLogger(NAMESPACE) logger.setLevel(logging.DEBUG) logger.propagate = False # clear all handlers for handler in logger.handlers[:]: logger.removeHandler(handler) info_handler = NewLineStreamHandler(SafeEncodingWriter(status)) info_handler.addFilter(InfoFilter()) info_handler.addFilter(InfoLogRecordTranslator(app)) info_handler.setLevel(VERBOSITY_MAP[app.verbosity]) info_handler.setFormatter(ColorizeFormatter()) warning_handler = WarningStreamHandler(SafeEncodingWriter(warning)) > if app._exception_on_warning: E AttributeError: 'MockApp' object has no attribute '_exception_on_warning' app = info_handler = logger = status = <_io.StringIO object at 0x7f005221a080> warning = <_io.StringIO object at 0x7f005221a200> warning_handler = /usr/lib/python3.12/site-packages/sphinx/util/logging.py:628: AttributeError _________________ test_mangle_docstrings_overrides[overrides0] _________________ overrides = {} @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) def test_mangle_docstrings_overrides(overrides): def process_something_noop_function(): """Process something.""" app = MockApp() app.config.numpydoc_validation_checks = {"all"} app.config.numpydoc_validation_overrides = { check: [r"^Process "] # overrides are regex on docstring content for check in overrides } update_config(app) # Setup for catching warnings status, warning = StringIO(), StringIO() > logging.setup(app, status, warning) app = overrides = {} process_something_noop_function = .process_something_noop_function at 0x7f00522c36a0> status = <_io.StringIO object at 0x7f005221ab00> warning = <_io.StringIO object at 0x7f005221ac80> numpydoc/tests/test_numpydoc.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = status = <_io.StringIO object at 0x7f005221ab00> warning = <_io.StringIO object at 0x7f005221ac80> def setup(app: Sphinx, status: IO, warning: IO) -> None: """Setup root logger for Sphinx""" logger = logging.getLogger(NAMESPACE) logger.setLevel(logging.DEBUG) logger.propagate = False # clear all handlers for handler in logger.handlers[:]: logger.removeHandler(handler) info_handler = NewLineStreamHandler(SafeEncodingWriter(status)) info_handler.addFilter(InfoFilter()) info_handler.addFilter(InfoLogRecordTranslator(app)) info_handler.setLevel(VERBOSITY_MAP[app.verbosity]) info_handler.setFormatter(ColorizeFormatter()) warning_handler = WarningStreamHandler(SafeEncodingWriter(warning)) > if app._exception_on_warning: E AttributeError: 'MockApp' object has no attribute '_exception_on_warning' app = info_handler = logger = status = <_io.StringIO object at 0x7f005221ab00> warning = <_io.StringIO object at 0x7f005221ac80> warning_handler = /usr/lib/python3.12/site-packages/sphinx/util/logging.py:628: AttributeError _________________ test_mangle_docstrings_overrides[overrides1] _________________ overrides = {'SS02'} @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) def test_mangle_docstrings_overrides(overrides): def process_something_noop_function(): """Process something.""" app = MockApp() app.config.numpydoc_validation_checks = {"all"} app.config.numpydoc_validation_overrides = { check: [r"^Process "] # overrides are regex on docstring content for check in overrides } update_config(app) # Setup for catching warnings status, warning = StringIO(), StringIO() > logging.setup(app, status, warning) app = overrides = {'SS02'} process_something_noop_function = .process_something_noop_function at 0x7f00522c2340> status = <_io.StringIO object at 0x7f0052219600> warning = <_io.StringIO object at 0x7f005221aa40> numpydoc/tests/test_numpydoc.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = status = <_io.StringIO object at 0x7f0052219600> warning = <_io.StringIO object at 0x7f005221aa40> def setup(app: Sphinx, status: IO, warning: IO) -> None: """Setup root logger for Sphinx""" logger = logging.getLogger(NAMESPACE) logger.setLevel(logging.DEBUG) logger.propagate = False # clear all handlers for handler in logger.handlers[:]: logger.removeHandler(handler) info_handler = NewLineStreamHandler(SafeEncodingWriter(status)) info_handler.addFilter(InfoFilter()) info_handler.addFilter(InfoLogRecordTranslator(app)) info_handler.setLevel(VERBOSITY_MAP[app.verbosity]) info_handler.setFormatter(ColorizeFormatter()) warning_handler = WarningStreamHandler(SafeEncodingWriter(warning)) > if app._exception_on_warning: E AttributeError: 'MockApp' object has no attribute '_exception_on_warning' app = info_handler = logger = status = <_io.StringIO object at 0x7f0052219600> warning = <_io.StringIO object at 0x7f005221aa40> warning_handler = /usr/lib/python3.12/site-packages/sphinx/util/logging.py:628: AttributeError _________________ test_mangle_docstrings_overrides[overrides2] _________________ overrides = {'SS02', 'SS03'} @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) def test_mangle_docstrings_overrides(overrides): def process_something_noop_function(): """Process something.""" app = MockApp() app.config.numpydoc_validation_checks = {"all"} app.config.numpydoc_validation_overrides = { check: [r"^Process "] # overrides are regex on docstring content for check in overrides } update_config(app) # Setup for catching warnings status, warning = StringIO(), StringIO() > logging.setup(app, status, warning) app = overrides = {'SS02', 'SS03'} process_something_noop_function = .process_something_noop_function at 0x7f00522c2ac0> status = <_io.StringIO object at 0x7f0052219e40> warning = <_io.StringIO object at 0x7f005221a140> numpydoc/tests/test_numpydoc.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ app = status = <_io.StringIO object at 0x7f0052219e40> warning = <_io.StringIO object at 0x7f005221a140> def setup(app: Sphinx, status: IO, warning: IO) -> None: """Setup root logger for Sphinx""" logger = logging.getLogger(NAMESPACE) logger.setLevel(logging.DEBUG) logger.propagate = False # clear all handlers for handler in logger.handlers[:]: logger.removeHandler(handler) info_handler = NewLineStreamHandler(SafeEncodingWriter(status)) info_handler.addFilter(InfoFilter()) info_handler.addFilter(InfoLogRecordTranslator(app)) info_handler.setLevel(VERBOSITY_MAP[app.verbosity]) info_handler.setFormatter(ColorizeFormatter()) warning_handler = WarningStreamHandler(SafeEncodingWriter(warning)) > if app._exception_on_warning: E AttributeError: 'MockApp' object has no attribute '_exception_on_warning' app = info_handler = logger = status = <_io.StringIO object at 0x7f0052219e40> warning = <_io.StringIO object at 0x7f005221a140> warning_handler = /usr/lib/python3.12/site-packages/sphinx/util/logging.py:628: AttributeError - generated xml file: /home/pterjan/rpmbuild/BUILD/python-numpydoc-1.7.0-build/numpydoc-1.7.0/junit-results.xml - =========================== short test summary info ============================ FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks0-expected_warn0-non_warnings0] FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks1-expected_warn1-non_warnings1] FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks2-expected_warn2-non_warnings2] FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_exclude FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides0] FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides1] FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides2] ================= 7 failed, 241 passed, 44 deselected in 4.39s ================= error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SAI9G7 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SAI9G7 (%check) I: [iurt_root_command] ERROR: chroot