D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/python-safety-2.3.5-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZYGapP Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GjcUL6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build + rm -rf safety-2.3.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/safety-2.3.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd safety-2.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Relax-requirements.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6UvJbO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build + cd safety-2.3.5 + 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-safety-2.3.5-build/safety-2.3.5/.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-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-buildrequires Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 79.0.1) /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info writing safety.egg-info/PKG-INFO writing dependency_links to safety.egg-info/dependency_links.txt writing entry points to safety.egg-info/entry_points.txt writing requirements to safety.egg-info/requires.txt writing top-level names to safety.egg-info/top_level.txt reading manifest file 'safety.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file 'safety.egg-info/SOURCES.txt' running dist_info writing safety.egg-info/PKG-INFO writing dependency_links to safety.egg-info/dependency_links.txt writing entry points to safety.egg-info/entry_points.txt writing requirements to safety.egg-info/requires.txt writing top-level names to safety.egg-info/top_level.txt reading manifest file 'safety.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file 'safety.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/safety-2.3.5.dist-info' Handling setuptools>=19.3 from hook generated metadata: Requires-Dist (safety) Requirement satisfied: setuptools>=19.3 (installed: setuptools 79.0.1) Handling Click>=8.0.2 from hook generated metadata: Requires-Dist (safety) Requirement satisfied: Click>=8.0.2 (installed: Click 8.3.0) Handling requests from hook generated metadata: Requires-Dist (safety) Requirement satisfied: requests (installed: requests 2.32.5) Handling packaging>=21.0 from hook generated metadata: Requires-Dist (safety) Requirement satisfied: packaging>=21.0 (installed: packaging 24.2) Handling dparse>=0.6.2 from hook generated metadata: Requires-Dist (safety) Requirement satisfied: dparse>=0.6.2 (installed: dparse 0.6.4b0) Handling ruamel.yaml>=0.17.21 from hook generated metadata: Requires-Dist (safety) Requirement satisfied: ruamel.yaml>=0.17.21 (installed: ruamel.yaml 0.18.10) Handling pygithub>=1.43.3; extra == "github" from hook generated metadata: Requires-Dist (safety) Ignoring alien requirement: pygithub>=1.43.3; extra == "github" Handling jinja2>=3.1.0; extra == "github" from hook generated metadata: Requires-Dist (safety) Ignoring alien requirement: jinja2>=3.1.0; extra == "github" Handling python-gitlab>=1.3.0; extra == "gitlab" from hook generated metadata: Requires-Dist (safety) Ignoring alien requirement: python-gitlab>=1.3.0; extra == "gitlab" + cat /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-buildrequires + rm -rfv safety-2.3.5.dist-info/ removed 'safety-2.3.5.dist-info/entry_points.txt' removed 'safety-2.3.5.dist-info/top_level.txt' removed 'safety-2.3.5.dist-info/METADATA' removed 'safety-2.3.5.dist-info/licenses/LICENSE' removed directory 'safety-2.3.5.dist-info/licenses' removed directory 'safety-2.3.5.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9aRdU2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-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 safety-2.3.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.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-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info creating /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info writing /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/dependency_links.txt writing entry points to /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/entry_points.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir/pip-modern-metadata-s6t60deb/safety-2.3.5.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: safety Building wheel for safety (pyproject.toml): started Running command Building wheel for safety (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib/safety copying safety/cli.py -> build/lib/safety copying safety/output_utils.py -> build/lib/safety copying safety/__main__.py -> build/lib/safety copying safety/safety.py -> build/lib/safety copying safety/formatter.py -> build/lib/safety copying safety/constants.py -> build/lib/safety copying safety/__init__.py -> build/lib/safety copying safety/util.py -> build/lib/safety copying safety/errors.py -> build/lib/safety copying safety/models.py -> build/lib/safety creating build/lib/safety/formatters copying safety/formatters/text.py -> build/lib/safety/formatters copying safety/formatters/bare.py -> build/lib/safety/formatters copying safety/formatters/__init__.py -> build/lib/safety/formatters copying safety/formatters/json.py -> build/lib/safety/formatters copying safety/formatters/screen.py -> build/lib/safety/formatters creating build/lib/safety/alerts copying safety/alerts/requirements.py -> build/lib/safety/alerts copying safety/alerts/github.py -> build/lib/safety/alerts copying safety/alerts/__init__.py -> build/lib/safety/alerts copying safety/alerts/utils.py -> build/lib/safety/alerts running egg_info writing safety.egg-info/PKG-INFO writing dependency_links to safety.egg-info/dependency_links.txt writing entry points to safety.egg-info/entry_points.txt writing requirements to safety.egg-info/requires.txt writing top-level names to safety.egg-info/top_level.txt reading manifest file 'safety.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file 'safety.egg-info/SOURCES.txt' copying safety/VERSION -> build/lib/safety copying safety/safety-policy-template.yml -> build/lib/safety 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/safety copying build/lib/safety/cli.py -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/output_utils.py -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/safety-policy-template.yml -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/__main__.py -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/safety.py -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/formatter.py -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/constants.py -> build/bdist.linux-x86_64/wheel/./safety creating build/bdist.linux-x86_64/wheel/safety/formatters copying build/lib/safety/formatters/text.py -> build/bdist.linux-x86_64/wheel/./safety/formatters copying build/lib/safety/formatters/bare.py -> build/bdist.linux-x86_64/wheel/./safety/formatters copying build/lib/safety/formatters/__init__.py -> build/bdist.linux-x86_64/wheel/./safety/formatters copying build/lib/safety/formatters/json.py -> build/bdist.linux-x86_64/wheel/./safety/formatters copying build/lib/safety/formatters/screen.py -> build/bdist.linux-x86_64/wheel/./safety/formatters copying build/lib/safety/__init__.py -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/VERSION -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/util.py -> build/bdist.linux-x86_64/wheel/./safety copying build/lib/safety/errors.py -> build/bdist.linux-x86_64/wheel/./safety creating build/bdist.linux-x86_64/wheel/safety/alerts copying build/lib/safety/alerts/requirements.py -> build/bdist.linux-x86_64/wheel/./safety/alerts copying build/lib/safety/alerts/github.py -> build/bdist.linux-x86_64/wheel/./safety/alerts copying build/lib/safety/alerts/__init__.py -> build/bdist.linux-x86_64/wheel/./safety/alerts copying build/lib/safety/alerts/utils.py -> build/bdist.linux-x86_64/wheel/./safety/alerts copying build/lib/safety/models.py -> build/bdist.linux-x86_64/wheel/./safety running install_egg_info Copying safety.egg-info to build/bdist.linux-x86_64/wheel/./safety-2.3.5-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/safety-2.3.5.dist-info/WHEEL creating '/home/pterjan/.cache/pip/wheels/47/a4/1f/d50077febe6e9a27ee754c612235794a3daa7375232d6958a4/tmp6d7l0ci7/.tmp-fxl1ui3z/safety-2.3.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'safety/VERSION' adding 'safety/__init__.py' adding 'safety/__main__.py' adding 'safety/cli.py' adding 'safety/constants.py' adding 'safety/errors.py' adding 'safety/formatter.py' adding 'safety/models.py' adding 'safety/output_utils.py' adding 'safety/safety-policy-template.yml' adding 'safety/safety.py' adding 'safety/util.py' adding 'safety/alerts/__init__.py' adding 'safety/alerts/github.py' adding 'safety/alerts/requirements.py' adding 'safety/alerts/utils.py' adding 'safety/formatters/__init__.py' adding 'safety/formatters/bare.py' adding 'safety/formatters/json.py' adding 'safety/formatters/screen.py' adding 'safety/formatters/text.py' adding 'safety-2.3.5.dist-info/licenses/LICENSE' adding 'safety-2.3.5.dist-info/METADATA' adding 'safety-2.3.5.dist-info/WHEEL' adding 'safety-2.3.5.dist-info/entry_points.txt' adding 'safety-2.3.5.dist-info/top_level.txt' adding 'safety-2.3.5.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for safety (pyproject.toml): finished with status 'done' Created wheel for safety: filename=safety-2.3.5-py3-none-any.whl size=57402 sha256=02f63e532a24bd27bfb588cad12f09474de08424b2061569859a7e2a95c13b1c Stored in directory: /home/pterjan/.cache/pip/wheels/47/a4/1f/d50077febe6e9a27ee754c612235794a3daa7375232d6958a4 Successfully built safety + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.m7DXPu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build + mkdir /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-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 safety-2.3.5 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/pyproject-wheeldir/safety-2.3.5-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=safety==2.3.5 + '[' -z safety==2.3.5 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-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-safety-2.3.5-build/safety-2.3.5/pyproject-wheeldir safety==2.3.5 Using pip 25.3 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/pyproject-wheeldir Processing ./pyproject-wheeldir/safety-2.3.5-py3-none-any.whl Installing collected packages: safety Creating /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/bin changing mode of /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/bin/safety to 755 Successfully installed safety-2.3.5 + '[' -d /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-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-safety-2.3.5-build/BUILDROOT/usr/bin/safety /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/bin/safety: updating + rm -rfv /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/bin/__pycache__ + rm -f /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/safety-2.3.5.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages/safety-2.3.5.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-safety-2.3.5-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages/safety-2.3.5.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages/safety-2.3.5.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages/safety-2.3.5.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages/safety-2.3.5.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages/safety-2.3.5.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.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-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-record --prefix /usr safety + /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 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13 using python3.13 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Cr6JqZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-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 safety-2.3.5 + '[' 1 -eq 1 ']' + '[' '!' -f /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-modules ']' + PATH=/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-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-safety-2.3.5-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages + _PYTHONSITE=/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/python-safety-2.3.5-4.mga10.noarch-pyproject-modules Check import: safety Check import: safety.alerts Check import: safety.alerts.github Check import: safety.alerts.requirements Check import: safety.alerts.utils Check import: safety.cli Check import: safety.constants Check import: safety.errors Check import: safety.formatter Check import: safety.formatters Check import: safety.formatters.bare Check import: safety.formatters.json Check import: safety.formatters.screen Check import: safety.formatters.text Check import: safety.models Check import: safety.output_utils Check import: safety.safety Check import: safety.util + 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-safety-2.3.5-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-safety-2.3.5-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=16 + /usr/bin/pytest -k 'not check_live and not check_live_cached and not announcements_if_is_not_tty' ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/pterjan/rpmbuild/BUILD/python-safety-2.3.5-build/safety-2.3.5 configfile: pyproject.toml collected 66 items / 3 deselected / 63 selected tests/formatters/test_json.py . [ 1%] tests/test_cli.py FFFFFFFFFFFFFFFFF [ 28%] tests/test_output_utils.py ..F...... [ 42%] tests/test_safety.py ............................ [ 87%] tests/test_util.py ........ [100%] =================================== FAILURES =================================== ____________________ TestSafetyCLI.test_chained_review_pass ____________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError __________________ TestSafetyCLI.test_check_continue_on_error __________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError ____________ TestSafetyCLI.test_check_vulnerabilities_found_default ____________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError _________ TestSafetyCLI.test_check_vulnerabilities_found_with_outputs __________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError __________ TestSafetyCLI.test_check_vulnerabilities_not_found_default __________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError _______ TestSafetyCLI.test_check_vulnerabilities_not_found_with_outputs ________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError __________________ TestSafetyCLI.test_command_line_interface ___________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError _______________________ TestSafetyCLI.test_generate_pass _______________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError ____________ TestSafetyCLI.test_generate_with_unsupported_argument _____________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError _________________ TestSafetyCLI.test_generate_with_wrong_path __________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError _____________________ TestSafetyCLI.test_license_with_file _____________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError ________________________ TestSafetyCLI.test_review_pass ________________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError ______________ TestSafetyCLI.test_validate_with_basic_policy_file ______________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError ______ TestSafetyCLI.test_validate_with_policy_file_using_invalid_keyword ______ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError ___ TestSafetyCLI.test_validate_with_policy_file_using_invalid_typo_keyword ____ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError ____________ TestSafetyCLI.test_validate_with_unsupported_argument _____________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError _________________ TestSafetyCLI.test_validate_with_wrong_path __________________ self = def setUp(self): self.maxDiff = None > self.runner = CliRunner(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_cli.py:60: TypeError __________________ TestOutputUtils.test_format_vulnerability ___________________ self = def test_format_vulnerability(self): numpy_pkg = {'name': 'numpy', 'version': '1.22.0', 'secure_versions': ['1.22.3'], 'insecure_versions': ['1.22.2', '1.22.1', '1.22.0', '1.22.0rc3', '1.21.5']} severity = { "cvssv2": { "base_score": 4.3, "impact_score": 2.9, "vector_string": "AV:N/AC:M/Au:N/C:N/I:P/A:N" }, "cvssv3": { "base_score": 6.1, "impact_score": 2.7, "base_severity": "MEDIUM", "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }} vulnerability = get_vulnerability(pkg_kwargs=numpy_pkg, vuln_kwargs={'affected_versions': ['1.22.0', '1.21.5']}, cve_kwargs=severity) columns = 80 output = format_vulnerability(vulnerability, full_mode=True, only_text=True, columns=columns) lines = [ '-> Vulnerability found in numpy version 1.22.0', ' Vulnerability ID: PYUP-1234', ' Affected spec: >0', ' ADVISORY: ', ' Fixed versions: No known fix', ' bla is MEDIUM SEVERITY => CVSS v3, BASE SCORE 6.1, IMPACT', ' SCORE 2.7, VECTOR STRING CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N', ' CVSS v2, BASE SCORE 4.3, IMPACT SCORE 2.9, VECTOR STRING', ' AV:N/AC:M/Au:N/C:N/I:P/A:N', ' For more information, please visit https://pyup.io/PVE/2323\n', ] EXPECTED = '\n'.join(lines) > self.assertEqual(output, EXPECTED) E AssertionError: '-> V[111 chars]\n bla is MEDIUM SEVERITY => CVSS v3, BASE S[244 chars]23\n' != '-> V[111 chars]\n Fixed versions: No known fix\n bla is M[277 chars]23\n' E -> Vulnerability found in numpy version 1.22.0 E Vulnerability ID: PYUP-1234 E Affected spec: >0 E ADVISORY: E + Fixed versions: No known fix E bla is MEDIUM SEVERITY => CVSS v3, BASE SCORE 6.1, IMPACT E SCORE 2.7, VECTOR STRING CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N E CVSS v2, BASE SCORE 4.3, IMPACT SCORE 2.9, VECTOR STRING E AV:N/AC:M/Au:N/C:N/I:P/A:N E For more information, please visit https://pyup.io/PVE/2323 tests/test_output_utils.py:57: AssertionError =========================== short test summary info ============================ FAILED tests/test_cli.py::TestSafetyCLI::test_chained_review_pass - TypeError... FAILED tests/test_cli.py::TestSafetyCLI::test_check_continue_on_error - TypeE... FAILED tests/test_cli.py::TestSafetyCLI::test_check_vulnerabilities_found_default FAILED tests/test_cli.py::TestSafetyCLI::test_check_vulnerabilities_found_with_outputs FAILED tests/test_cli.py::TestSafetyCLI::test_check_vulnerabilities_not_found_default FAILED tests/test_cli.py::TestSafetyCLI::test_check_vulnerabilities_not_found_with_outputs FAILED tests/test_cli.py::TestSafetyCLI::test_command_line_interface - TypeEr... FAILED tests/test_cli.py::TestSafetyCLI::test_generate_pass - TypeError: CliR... FAILED tests/test_cli.py::TestSafetyCLI::test_generate_with_unsupported_argument FAILED tests/test_cli.py::TestSafetyCLI::test_generate_with_wrong_path - Type... FAILED tests/test_cli.py::TestSafetyCLI::test_license_with_file - TypeError: ... FAILED tests/test_cli.py::TestSafetyCLI::test_review_pass - TypeError: CliRun... FAILED tests/test_cli.py::TestSafetyCLI::test_validate_with_basic_policy_file FAILED tests/test_cli.py::TestSafetyCLI::test_validate_with_policy_file_using_invalid_keyword FAILED tests/test_cli.py::TestSafetyCLI::test_validate_with_policy_file_using_invalid_typo_keyword FAILED tests/test_cli.py::TestSafetyCLI::test_validate_with_unsupported_argument FAILED tests/test_cli.py::TestSafetyCLI::test_validate_with_wrong_path - Type... FAILED tests/test_output_utils.py::TestOutputUtils::test_format_vulnerability ================= 18 failed, 45 passed, 3 deselected in 0.45s ================== error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Cr6JqZ (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Cr6JqZ (%check) I: [iurt_root_command] ERROR: chroot