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-stack-data-0.6.3-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R8KFoo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + test -d /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-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.QArM7S + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + rm -rf stack_data-0.6.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/stack_data-0.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stack_data-0.6.3 + /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.gmghlQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + cd stack_data-0.6.3 + 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 ']' + 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.py + 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.py + 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.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + 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.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' 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-stack-data-0.6.3-build/stack_data-0.6.3/.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-stack-data-0.6.3-build/stack_data-0.6.3/.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-stack-data-0.6.3-build/stack_data-0.6.3/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/python-stack-data-0.6.3-2.mga10.noarch-pyproject-buildrequires -x tests Handling setuptools>=44 from build-system.requires Requirement satisfied: setuptools>=44 (installed: setuptools 75.6.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.43.0) Handling setuptools_scm[toml]>=3.4.3 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling setuptools>=44 from get_requires_for_build_wheel Requirement satisfied: setuptools>=44 (installed: setuptools 75.6.0) Handling setuptools_scm[toml]>=3.4.3 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) running dist_info writing stack_data.egg-info/PKG-INFO writing dependency_links to stack_data.egg-info/dependency_links.txt writing requirements to stack_data.egg-info/requires.txt writing top-level names to stack_data.egg-info/top_level.txt reading manifest file 'stack_data.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'stack_data.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/stack_data-0.6.3.dist-info' Handling executing>=1.2.0 from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: executing>=1.2.0 (installed: executing 2.1.0) Handling asttokens>=2.1.0 from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: asttokens>=2.1.0 (installed: asttokens 2.4.1) Handling pure_eval from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: pure_eval (installed: pure_eval 0.2.2) Handling pytest; extra == "tests" from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: pytest; extra == "tests" (installed: pytest 8.3.4) Handling typeguard; extra == "tests" from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: typeguard; extra == "tests" (installed: typeguard 4.4.1) Handling pygments; extra == "tests" from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: pygments; extra == "tests" (installed: pygments 2.19.1) Handling littleutils; extra == "tests" from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: littleutils; extra == "tests" (installed: littleutils 0.2.2) Handling cython; extra == "tests" from hook generated metadata: Requires-Dist (stack_data) Requirement satisfied: cython; extra == "tests" (installed: cython 3.0.12) + cat /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/python-stack-data-0.6.3-2.mga10.noarch-pyproject-buildrequires + rm -rfv stack_data-0.6.3.dist-info/ removed 'stack_data-0.6.3.dist-info/LICENSE.txt' removed 'stack_data-0.6.3.dist-info/top_level.txt' removed 'stack_data-0.6.3.dist-info/METADATA' removed directory 'stack_data-0.6.3.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.B954Fa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-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 stack_data-0.6.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.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-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info writing /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-modern-metadata-vpun94sv/stack_data-0.6.3.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: stack_data Building wheel for stack_data (pyproject.toml): started Running command Building wheel for stack_data (pyproject.toml) running bdist_wheel running build running build_py creating build/lib/stack_data copying stack_data/serializing.py -> build/lib/stack_data copying stack_data/version.py -> build/lib/stack_data copying stack_data/formatting.py -> build/lib/stack_data copying stack_data/__init__.py -> build/lib/stack_data copying stack_data/core.py -> build/lib/stack_data copying stack_data/utils.py -> build/lib/stack_data running egg_info writing stack_data.egg-info/PKG-INFO writing dependency_links to stack_data.egg-info/dependency_links.txt writing requirements to stack_data.egg-info/requires.txt writing top-level names to stack_data.egg-info/top_level.txt reading manifest file 'stack_data.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'stack_data.egg-info/SOURCES.txt' copying stack_data/py.typed -> build/lib/stack_data 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/stack_data copying build/lib/stack_data/serializing.py -> build/bdist.linux-x86_64/wheel/./stack_data copying build/lib/stack_data/version.py -> build/bdist.linux-x86_64/wheel/./stack_data copying build/lib/stack_data/formatting.py -> build/bdist.linux-x86_64/wheel/./stack_data copying build/lib/stack_data/__init__.py -> build/bdist.linux-x86_64/wheel/./stack_data copying build/lib/stack_data/core.py -> build/bdist.linux-x86_64/wheel/./stack_data copying build/lib/stack_data/py.typed -> build/bdist.linux-x86_64/wheel/./stack_data copying build/lib/stack_data/utils.py -> build/bdist.linux-x86_64/wheel/./stack_data running install_egg_info Copying stack_data.egg-info to build/bdist.linux-x86_64/wheel/./stack_data-0.6.3-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/stack_data-0.6.3.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir/pip-wheel-7eypszui/.tmp-4kzwisf8/stack_data-0.6.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'stack_data/__init__.py' adding 'stack_data/core.py' adding 'stack_data/formatting.py' adding 'stack_data/py.typed' adding 'stack_data/serializing.py' adding 'stack_data/utils.py' adding 'stack_data/version.py' adding 'stack_data-0.6.3.dist-info/LICENSE.txt' adding 'stack_data-0.6.3.dist-info/METADATA' adding 'stack_data-0.6.3.dist-info/WHEEL' adding 'stack_data-0.6.3.dist-info/top_level.txt' adding 'stack_data-0.6.3.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for stack_data (pyproject.toml): finished with status 'done' Created wheel for stack_data: filename=stack_data-0.6.3-py3-none-any.whl size=24444 sha256=59859a03f0fe0324e0da75f886b4ad4f52db7e49b376f6d67f8f76ad8aee856c Stored in directory: /home/pterjan/.cache/pip/wheels/e7/e5/28/22c9e862d775552faada1519a7617922bd7494a24eca607d30 Successfully built stack_data + 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.GKKktd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build + mkdir /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-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 stack_data-0.6.3 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/pyproject-wheeldir/stack_data-0.6.3-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=stack_data==0.6.3 + '[' -z stack_data==0.6.3 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-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-stack-data-0.6.3-build/stack_data-0.6.3/pyproject-wheeldir stack_data==0.6.3 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/pyproject-wheeldir Processing ./pyproject-wheeldir/stack_data-0.6.3-py3-none-any.whl Installing collected packages: stack_data Successfully installed stack_data-0.6.3 + '[' -d /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/python-stack-data-0.6.3-2.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/stack_data-0.6.3.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages/stack_data-0.6.3.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-stack-data-0.6.3-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages/stack_data-0.6.3.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/python-stack-data-0.6.3-2.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages/stack_data-0.6.3.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages/stack_data-0.6.3.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages/stack_data-0.6.3.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages/stack_data-0.6.3.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/python-stack-data-0.6.3-2.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-stack-data-0.6.3-build/python-stack-data-0.6.3-2.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/python-stack-data-0.6.3-2.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-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-stack-data-0.6.3-build/python-stack-data-0.6.3-2.mga10.noarch-pyproject-record --prefix /usr stack_data + /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-stack-data-0.6.3-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.0HcafH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-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 stack_data-0.6.3 + '[' 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-stack-data-0.6.3-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/BUILDROOT/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=48 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 rootdir: /home/pterjan/rpmbuild/BUILD/python-stack-data-0.6.3-build/stack_data-0.6.3 configfile: pyproject.toml plugins: typeguard-4.4.1 collected 21 items tests/test_core.py .........FFFF.F [ 71%] tests/test_formatter.py .. [ 80%] tests/test_serializer.py F [ 85%] tests/test_utils.py ... [100%] =================================== FAILURES =================================== _ test_executing_style_defs[.c { color: #(999999|ababab); font-style: italic }] _ expected = '.c { color: #(999999|ababab); font-style: italic }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.c { color: #(999999|ababab); font-style: italic }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError _ test_executing_style_defs[.err { color: #a61717; background-color: #e3d2d2 }] _ expected = '.err { color: #a61717; background-color: #e3d2d2 }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.err { color: #a61717; background-color: #e3d2d2 }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError _ test_executing_style_defs[.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }] _ expected = '.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError _ test_executing_style_defs[.err-ExecutingNode { color: #a61717; background-color: #ffff00 }] _ expected = '.err-ExecutingNode { color: #a61717; background-color: #ffff00 }' @pytest.mark.parametrize("expected", [ r".c { color: #(999999|ababab); font-style: italic }", r".err { color: #a61717; background-color: #e3d2d2 }", r".c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }", r".err-ExecutingNode { color: #a61717; background-color: #ffff00 }", ] ) def test_executing_style_defs(expected): style = style_with_executing_node("native", "bg:#ffff00") formatter = HtmlFormatter(style=style) style_defs = formatter.get_style_defs() > assert re.search(expected, style_defs) E AssertionError: assert None E + where None = ('.err-ExecutingNode { color: #a61717; background-color: #ffff00 }', 'pre { line-height: 125%; }\ntd.linenos .normal { color: #aaaaaa; background-color: transparent; padding-left: 5px; pa...gNode */\n.il-ExecutingNode { color: #51B2FD; background-color: #FF0 } /* Literal.Number.Integer.Long.ExecutingNode */') E + where = re.search tests/test_core.py:585: AssertionError ____________________________ test_pygments_example _____________________________ @pytest.mark.skipif(pygments_version < (2, 14), reason="Different output in older Pygments") def test_pygments_example(): from .samples.pygments_example import bar result = bar() print(result) > assert result == """\ Terminal256Formatter native: 13 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mbar\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 14 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;75m1\x1b[39m 15 | \x1b[38;5;252m \x1b[39m\x1b[38;5;38mstr\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m)\x1b[39m 17 | \x1b[38;5;252m \x1b[39m\x1b[38;5;214m@deco\x1b[39m 18 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mfoo\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 19 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mpass\x1b[39;00m ----- 25 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mdeco\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 26 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m.\x1b[39m\x1b[38;5;252mresult\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252mprint_stack\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m 27 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mreturn\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m ----- ==================== Terminal256Formatter .NewStyle\'>: 13 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mbar\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 14 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;75m1\x1b[39m 15 | \x1b[38;5;252m \x1b[39m\x1b[38;5;38mstr\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mx\x1b[39m\x1b[38;5;252m)\x1b[39m 17 | \x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;214;48;5;58m@deco\x1b[39;49m 18 | \x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;70;48;5;58;01mdef\x1b[39;49;00m\x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;75;48;5;58mfoo\x1b[39;49m\x1b[38;5;252;48;5;58m(\x1b[39;49m\x1b[38;5;252;48;5;58m)\x1b[39;49m\x1b[38;5;252;48;5;58m:\x1b[39;49m 19 | \x1b[38;5;252;48;5;58m \x1b[39;49m\x1b[38;5;70;48;5;58;01mpass\x1b[39;49;00m ----- 25 | \x1b[38;5;70;01mdef\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;75mdeco\x1b[39m\x1b[38;5;252m(\x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m)\x1b[39m\x1b[38;5;252m:\x1b[39m 26 | \x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m\x1b[38;5;252m.\x1b[39m\x1b[38;5;252mresult\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252m=\x1b[39m\x1b[38;5;252m \x1b[39m\x1b[38;5;252;48;5;58mprint_stack\x1b[39;49m\x1b[38;5;252;48;5;58m(\x1b[39;49m\x1b[38;5;252;48;5;58m)\x1b[39;49m 27 | \x1b[38;5;252m \x1b[39m\x1b[38;5;70;01mreturn\x1b[39;00m\x1b[38;5;252m \x1b[39m\x1b[38;5;252mf\x1b[39m ----- ==================== TerminalFormatter native: 13 | \x1b[34mdef\x1b[39;49;00m \x1b[32mbar\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 14 | x = \x1b[34m1\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 15 | \x1b[36mstr\x1b[39;49;00m(x)\x1b[37m\x1b[39;49;00m 17 | \x1b[90m@deco\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 18 | \x1b[34mdef\x1b[39;49;00m \x1b[32mfoo\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 19 | \x1b[34mpass\x1b[39;49;00m\x1b[37m\x1b[39;49;00m ----- 25 | \x1b[34mdef\x1b[39;49;00m \x1b[32mdeco\x1b[39;49;00m(f):\x1b[37m\x1b[39;49;00m 26 | f.result = print_stack()\x1b[37m\x1b[39;49;00m 27 | \x1b[34mreturn\x1b[39;49;00m f\x1b[37m\x1b[39;49;00m ----- ==================== TerminalFormatter .NewStyle\'>: 13 | \x1b[34mdef\x1b[39;49;00m \x1b[32mbar\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 14 | x = \x1b[34m1\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 15 | \x1b[36mstr\x1b[39;49;00m(x)\x1b[37m\x1b[39;49;00m 17 | \x1b[90m@deco\x1b[39;49;00m\x1b[37m\x1b[39;49;00m 18 | \x1b[34mdef\x1b[39;49;00m \x1b[32mfoo\x1b[39;49;00m():\x1b[37m\x1b[39;49;00m 19 | \x1b[34mpass\x1b[39;49;00m\x1b[37m\x1b[39;49;00m ----- 25 | \x1b[34mdef\x1b[39;49;00m \x1b[32mdeco\x1b[39;49;00m(f):\x1b[37m\x1b[39;49;00m 26 | f.result = print_stack()\x1b[37m\x1b[39;49;00m 27 | \x1b[34mreturn\x1b[39;49;00m f\x1b[37m\x1b[39;49;00m ----- ==================== TerminalTrueColorFormatter native: 13 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mbar\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 14 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;81;178;253m1\x1b[39m 15 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;47;188;205mstr\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m 17 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;255;165;0m@deco\x1b[39m 18 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mfoo\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 19 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mpass\x1b[39;00m ----- 25 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mdeco\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 26 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m.\x1b[39m\x1b[38;2;208;208;208mresult\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mprint_stack\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m 27 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mreturn\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m ----- ==================== TerminalTrueColorFormatter .NewStyle\'>: 13 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mbar\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 14 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;81;178;253m1\x1b[39m 15 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;47;188;205mstr\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mx\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m 17 | \x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;255;165;0;48;2;68;68;0m@deco\x1b[39;49m 18 | \x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;110;191;38;48;2;68;68;0;01mdef\x1b[39;49;00m\x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;113;173;255;48;2;68;68;0mfoo\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m(\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m)\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m:\x1b[39;49m 19 | \x1b[38;2;208;208;208;48;2;68;68;0m \x1b[39;49m\x1b[38;2;110;191;38;48;2;68;68;0;01mpass\x1b[39;49;00m ----- 25 | \x1b[38;2;110;191;38;01mdef\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;113;173;255mdeco\x1b[39m\x1b[38;2;208;208;208m(\x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m)\x1b[39m\x1b[38;2;208;208;208m:\x1b[39m 26 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m\x1b[38;2;208;208;208m.\x1b[39m\x1b[38;2;208;208;208mresult\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208m=\x1b[39m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208;48;2;68;68;0mprint_stack\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m(\x1b[39;49m\x1b[38;2;208;208;208;48;2;68;68;0m)\x1b[39;49m 27 | \x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;110;191;38;01mreturn\x1b[39;00m\x1b[38;2;208;208;208m \x1b[39m\x1b[38;2;208;208;208mf\x1b[39m ----- ==================== HtmlFormatter native: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== HtmlFormatter .NewStyle\'>: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== """ E AssertionError: assert 'Terminal256F...=========\n\n' == 'Terminal256F...=========\n\n' E E Skipping 59 identical leading characters in diff, use -v to show E - 0m bar(): E ? ^^ E + 0m bar(): E ? ^^ E 14 |  x = 1... E E ...Full output truncated (191 lines hidden), use '-vv' to show tests/test_core.py:638: AssertionError ----------------------------- Captured stdout call ----------------------------- Terminal256Formatter native: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== Terminal256Formatter .NewStyle'>: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== TerminalFormatter native: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== TerminalFormatter .NewStyle'>: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== TerminalTrueColorFormatter native: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== TerminalTrueColorFormatter .NewStyle'>: 13 | def bar(): 14 |  x = 1 15 |  str(x) 17 |  @deco 18 |  def foo(): 19 |  pass ----- 25 | def deco(f): 26 |  f.result = print_stack() 27 |  return f ----- ==================== HtmlFormatter native: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== HtmlFormatter .NewStyle'>: 13 | def bar(): 14 | x = 1 15 | str(x) 17 | @deco 18 | def foo(): 19 | pass ----- 25 | def deco(f): 26 | f.result = print_stack() 27 | return f ----- ==================== _________________________________ test_example _________________________________ def test_example(): from .samples.formatter_example import bar, format_frame, format_stack1 result = dict( format_frame=(format_frame(MyFormatter())), format_stack=format_stack1(MyFormatter(show_variables=True)), ) try: bar() except Exception: result.update( plain=MyFormatter(show_variables=True).format_exception(), pygmented=MyFormatter(show_variables=True, pygmented=True).format_exception(), pygmented_html=MyFormatter(show_variables=True, pygmented=True, html=True).format_exception(), ) > compare_to_file_json(result, "serialize", pygmented=True) tests/test_serializer.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = {'format_frame': {'filename': 'formatter_example.py', 'lineno': 51, 'lines': [{'is_current': False, 'lineno': 49, 'tex...ormatter_example.py', 'lineno': 8, 'lines': [{...}, {...}, {...}, {...}], 'name': 'foo', ...}, ...], 'tail': ''}], ...} name = 'serialize' def compare_to_file_json(data, name, *, pygmented): if old_pygments and pygmented: return filename = os.path.join( os.path.dirname(__file__), 'golden_files', name + '.json', ) if os.environ.get('FIX_STACK_DATA_TESTS'): json_to_file(data, filename, indent=4) else: expected_output = file_to_json(filename) > assert data == expected_output E AssertionError tests/utils.py:41: AssertionError =========================== short test summary info ============================ FAILED tests/test_core.py::test_executing_style_defs[.c { color: #(999999|ababab); font-style: italic }] FAILED tests/test_core.py::test_executing_style_defs[.err { color: #a61717; background-color: #e3d2d2 }] FAILED tests/test_core.py::test_executing_style_defs[.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }] FAILED tests/test_core.py::test_executing_style_defs[.err-ExecutingNode { color: #a61717; background-color: #ffff00 }] FAILED tests/test_core.py::test_pygments_example - AssertionError: assert 'Te... FAILED tests/test_serializer.py::test_example - AssertionError ========================= 6 failed, 15 passed in 2.78s ========================= error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0HcafH (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0HcafH (%check) I: [iurt_root_command] ERROR: chroot