D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/python-black-25.1.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6YwNp6 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kwIJMF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build + rm -rf black-25.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/black-25.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd black-25.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/5977532781.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.DcLFd8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build + cd black-25.1.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 ']' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.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-black-25.1.0-build/black-25.1.0/.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-black-25.1.0-build/black-25.1.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/python-black-25.1.0-1.mga10.noarch-pyproject-buildrequires -r -x d Handling hatchling>=1.20.0 from build-system.requires Requirement satisfied: hatchling>=1.20.0 (installed: hatchling 1.27.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.4.0) Handling hatch-fancy-pypi-readme from build-system.requires Requirement satisfied: hatch-fancy-pypi-readme (installed: hatch-fancy-pypi-readme 24.1.0) Handling click>=8.0.0 from hook generated metadata: Requires-Dist (black) Requirement satisfied: click>=8.0.0 (installed: click 8.3.0) Handling mypy-extensions>=0.4.3 from hook generated metadata: Requires-Dist (black) Requirement satisfied: mypy-extensions>=0.4.3 (installed: mypy-extensions 1.0.0) Handling packaging>=22.0 from hook generated metadata: Requires-Dist (black) Requirement satisfied: packaging>=22.0 (installed: packaging 24.2) Handling pathspec>=0.9.0 from hook generated metadata: Requires-Dist (black) Requirement satisfied: pathspec>=0.9.0 (installed: pathspec 0.12.1) Handling platformdirs>=2 from hook generated metadata: Requires-Dist (black) Requirement satisfied: platformdirs>=2 (installed: platformdirs 4.3.6) Handling tomli>=1.1.0; python_version < '3.11' from hook generated metadata: Requires-Dist (black) Ignoring alien requirement: tomli>=1.1.0; python_version < '3.11' Handling typing-extensions>=4.0.1; python_version < '3.11' from hook generated metadata: Requires-Dist (black) Ignoring alien requirement: typing-extensions>=4.0.1; python_version < '3.11' Handling colorama>=0.4.3; extra == 'colorama' from hook generated metadata: Requires-Dist (black) Ignoring alien requirement: colorama>=0.4.3; extra == 'colorama' Handling aiohttp>=3.10; extra == 'd' from hook generated metadata: Requires-Dist (black) Requirement satisfied: aiohttp>=3.10; extra == 'd' (installed: aiohttp 3.11.16) Handling ipython>=7.8.0; extra == 'jupyter' from hook generated metadata: Requires-Dist (black) Ignoring alien requirement: ipython>=7.8.0; extra == 'jupyter' Handling tokenize-rt>=3.2.0; extra == 'jupyter' from hook generated metadata: Requires-Dist (black) Ignoring alien requirement: tokenize-rt>=3.2.0; extra == 'jupyter' Handling uvloop>=0.15.2; extra == 'uvloop' from hook generated metadata: Requires-Dist (black) Ignoring alien requirement: uvloop>=0.15.2; extra == 'uvloop' + cat /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/python-black-25.1.0-1.mga10.noarch-pyproject-buildrequires + rm -rfv black-25.1.0.dist-info/ removed 'black-25.1.0.dist-info/METADATA' removed directory 'black-25.1.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.apdM0D + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-black-25.1.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 black-25.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.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-black-25.1.0-build/black-25.1.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: black Building wheel for black (pyproject.toml): started Running command Building wheel for black (pyproject.toml) Building wheel for black (pyproject.toml): finished with status 'done' Created wheel for black: filename=black-25.1.0-py3-none-any.whl size=207017 sha256=ac7df780a990cab537b8f6af638b4fb78dd4ff0cf65addc35b6322274834e8e2 Stored in directory: /home/pterjan/.cache/pip/wheels/d7/db/d9/0d22271a2332117c5cc87ba3cf6bf256a37c6acf6b96ddfcb3 Successfully built black + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xI4G7a + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-black-25.1.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 black-25.1.0 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.0/pyproject-wheeldir/black-25.1.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=black==25.1.0 + '[' -z black==25.1.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-black-25.1.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-black-25.1.0-build/black-25.1.0/pyproject-wheeldir black==25.1.0 Using pip 25.2 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.0/pyproject-wheeldir Processing ./pyproject-wheeldir/black-25.1.0-py3-none-any.whl Installing collected packages: black Creating /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin changing mode of /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/black to 755 changing mode of /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/blackd to 755 Successfully installed black-25.1.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-black-25.1.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-black-25.1.0-build/BUILDROOT/usr/bin/black /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/blackd /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/black: updating /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/blackd: updating + rm -rfv /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/__pycache__ + rm -f /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/python-black-25.1.0-1.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/black-25.1.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/black-25.1.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-black-25.1.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/black-25.1.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/python-black-25.1.0-1.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/black-25.1.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/black-25.1.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/black-25.1.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/black-25.1.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/python-black-25.1.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-black-25.1.0-build/python-black-25.1.0-1.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/python-black-25.1.0-1.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-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-black-25.1.0-build/python-black-25.1.0-1.mga10.noarch-pyproject-record --prefix /usr 'black*' '_black*' blib2to3 + for exe in black blackd + ln -sr /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/black /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/black-3.13 + for exe in black blackd + ln -sr /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/blackd /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/bin/blackd-3.13 + install -D -m 644 /home/pterjan/rpmbuild/SOURCES/black.1 /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/share/man/man1/black.1 + install -D -m 644 /home/pterjan/rpmbuild/SOURCES/blackd.1 /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/share/man/man1/blackd.1 + /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-black-25.1.0-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.XqX27A + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-black-25.1.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 black-25.1.0 + '[' 1 -eq 1 ']' + export PIP_INDEX_URL=http://host.invalid./ + PIP_INDEX_URL=http://host.invalid./ + export PIP_NO_DEPS=yes + PIP_NO_DEPS=yes + 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-black-25.1.0-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-black-25.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=16 + /usr/bin/pytest -Wdefault -rs --run-optional jupyter ============================= test session starts ============================== platform linux -- Python 3.13.7, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/pterjan/rpmbuild/BUILD/python-black-25.1.0-build/black-25.1.0 configfile: pyproject.toml collected 386 items / 1 skipped tests/test_black.py ..FF.FFF...............FF.............FF.F....F.FF.F [ 13%] ...........FFF.FF...........FFFF.FFFF.FF..F..FFFFFFF......F..........FF. [ 32%] ..................... [ 37%] tests/test_blackd.py .................... [ 42%] tests/test_docs.py . [ 43%] tests/test_format.py ................................................... [ 56%] ........................................................................ [ 74%] ............................................................ [ 90%] tests/test_no_ipynb.py ss [ 90%] tests/test_ranges.py ............................... [ 98%] tests/test_schema.py . [ 99%] tests/test_tokenize.py .. [ 99%] tests/test_trans.py . [100%] =================================== FAILURES =================================== ____________________ BlackTestCase.test_async_as_identifier ____________________ self = @patch("black.dump_to_file", dump_to_stderr) def test_async_as_identifier(self) -> None: source_path = get_case_path("miscellaneous", "async_as_identifier") _, source, expected = read_data_from_file(source_path) actual = fs(source) self.assertFormatEqual(expected, actual) major, minor = sys.version_info[:2] if major < 3 or (major <= 3 and minor < 7): black.assert_equivalent(source, actual) black.assert_stable(source, actual, DEFAULT_MODE) # ensure black can parse this when the target is 3.6 > self.invokeBlack([str(source_path), "--target-version", "py36"]) tests/test_black.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ____________________ BlackTestCase.test_bpo_2142_workaround ____________________ self = def test_bpo_2142_workaround(self) -> None: # https://bugs.python.org/issue2142 source, _ = read_data("miscellaneous", "missing_final_newline") # read_data adds a trailing newline source = source.rstrip() expected, _ = read_data("miscellaneous", "missing_final_newline.diff") tmp_file = Path(black.dump_to_file(source, ensure_final_newline=False)) diff_header = re.compile( rf"{re.escape(str(tmp_file))}\t\d\d\d\d-\d\d-\d\d " r"\d\d:\d\d:\d\d\.\d\d\d\d\d\d\+\d\d:\d\d" ) try: > result = BlackRunner().invoke(black.main, ["--diff", str(tmp_file)]) tests/test_black.py:1825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ______________________ BlackTestCase.test_broken_symlink _______________________ self = def test_broken_symlink(self) -> None: with cache_dir() as workspace: symlink = workspace / "broken_link.py" try: symlink.symlink_to("nonexistent.py") except (OSError, NotImplementedError) as e: self.skipTest(f"Can't create symlinks: {e}") > self.invokeBlack([str(workspace.resolve())]) tests/test_black.py:1127: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________________ BlackTestCase.test_check_diff_use_together __________________ self = @event_loop() def test_check_diff_use_together(self) -> None: with cache_dir(): # Files which will be reformatted. src1 = get_case_path("miscellaneous", "string_quotes") > self.invokeBlack([str(src1), "--diff", "--check"], exit_code=1) tests/test_black.py:1105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _______________________ BlackTestCase.test_cli_unstable ________________________ self = def test_cli_unstable(self) -> None: > self.invokeBlack(["--unstable", "-c", "0"], exit_code=0) tests/test_black.py:1390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ______________________ BlackTestCase.test_expression_diff ______________________ self = def test_expression_diff(self) -> None: source, _ = read_data("cases", "expression.py") expected, _ = read_data("cases", "expression.diff") tmp_file = Path(black.dump_to_file(source)) diff_header = re.compile( rf"{re.escape(str(tmp_file))}\t\d\d\d\d-\d\d-\d\d " r"\d\d:\d\d:\d\d\.\d\d\d\d\d\d\+\d\d:\d\d" ) try: > result = BlackRunner().invoke( black.main, ["--diff", str(tmp_file), f"--config={EMPTY_CONFIG}"] ) tests/test_black.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ________________ BlackTestCase.test_expression_diff_with_color _________________ self = def test_expression_diff_with_color(self) -> None: source, _ = read_data("cases", "expression.py") expected, _ = read_data("cases", "expression.diff") tmp_file = Path(black.dump_to_file(source)) try: > result = BlackRunner().invoke( black.main, ["--diff", "--color", str(tmp_file), f"--config={EMPTY_CONFIG}"], ) tests/test_black.py:314: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _____________________ BlackTestCase.test_invalid_cli_regex _____________________ self = def test_invalid_cli_regex(self) -> None: for option in ["--include", "--exclude", "--extend-exclude", "--force-exclude"]: > self.invokeBlack(["-", option, "**()(!!*)"], exit_code=2) tests/test_black.py:1407: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ________________ BlackTestCase.test_invalid_config_return_code _________________ self = def test_invalid_config_return_code(self) -> None: tmp_file = Path(black.dump_to_file()) try: tmp_config = Path(black.dump_to_file()) tmp_config.unlink() args = ["--config", str(tmp_config), str(tmp_file)] > self.invokeBlack(args, exit_code=2, ignore_config=False) tests/test_black.py:1495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _______________ BlackTestCase.test_line_ranges_in_pyproject_toml _______________ self = def test_line_ranges_in_pyproject_toml(self) -> None: config = THIS_DIR / "data" / "invalid_line_ranges.toml" > result = BlackRunner().invoke( black.main, ["--code", "print()", "--config", str(config)] ) tests/test_black.py:2053: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________________ BlackTestCase.test_line_ranges_with_stdin ___________________ self = def test_line_ranges_with_stdin(self) -> None: code = textwrap.dedent("""\ if a == b: print ( "OK" ) """) > runner = BlackRunner() tests/test_black.py:1999: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ___________________ BlackTestCase.test_multi_file_force_py36 ___________________ self = @event_loop() def test_multi_file_force_py36(self) -> None: reg_mode = DEFAULT_MODE py36_mode = replace(DEFAULT_MODE, target_versions=PY36_VERSIONS) source, expected = read_data("miscellaneous", "force_py36") with cache_dir() as workspace: paths = [ (workspace / "file1.py").resolve(), (workspace / "file2.py").resolve(), ] for path in paths: path.write_text(source, encoding="utf-8") > self.invokeBlack([str(p) for p in paths] + PY36_ARGS) tests/test_black.py:1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ___________________ BlackTestCase.test_multi_file_force_pyi ____________________ self = @event_loop() def test_multi_file_force_pyi(self) -> None: reg_mode = DEFAULT_MODE pyi_mode = replace(DEFAULT_MODE, is_pyi=True) contents, expected = read_data("miscellaneous", "force_pyi") with cache_dir() as workspace: paths = [ (workspace / "file1.py").resolve(), (workspace / "file2.py").resolve(), ] for path in paths: path.write_text(contents, encoding="utf-8") > self.invokeBlack([str(p) for p in paths] + ["--pyi"]) tests/test_black.py:1158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _______________________ BlackTestCase.test_no_src_fails ________________________ self = def test_no_src_fails(self) -> None: with cache_dir(): > self.invokeBlack([], exit_code=1) tests/test_black.py:1114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________________________ BlackTestCase.test_piping ___________________________ self = def test_piping(self) -> None: _, source, expected = read_data_from_file( PROJECT_ROOT / "src/black/__init__.py" ) > result = BlackRunner().invoke( black.main, [ "-", "--fast", f"--line-length={black.DEFAULT_LINE_LENGTH}", f"--config={EMPTY_CONFIG}", ], input=BytesIO(source.encode("utf-8")), ) tests/test_black.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ________________________ BlackTestCase.test_piping_diff ________________________ self = def test_piping_diff(self) -> None: diff_header = re.compile( r"(STDIN|STDOUT)\t\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\.\d\d\d\d\d\d" r"\+\d\d:\d\d" ) source, _ = read_data("cases", "expression.py") expected, _ = read_data("cases", "expression.diff") args = [ "-", "--fast", f"--line-length={black.DEFAULT_LINE_LENGTH}", "--diff", f"--config={EMPTY_CONFIG}", ] > result = BlackRunner().invoke( black.main, args, input=BytesIO(source.encode("utf-8")) ) tests/test_black.py:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________________ BlackTestCase.test_piping_diff_with_color ___________________ self = def test_piping_diff_with_color(self) -> None: source, _ = read_data("cases", "expression.py") args = [ "-", "--fast", f"--line-length={black.DEFAULT_LINE_LENGTH}", "--diff", "--color", f"--config={EMPTY_CONFIG}", ] > result = BlackRunner().invoke( black.main, args, input=BytesIO(source.encode("utf-8")) ) tests/test_black.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _____________ BlackTestCase.test_preserves_line_endings_via_stdin ______________ self = def test_preserves_line_endings_via_stdin(self) -> None: for nl in ["\n", "\r\n"]: contents = nl.join(["def f( ):", " pass"]) > runner = BlackRunner() tests/test_black.py:1453: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _________________________ BlackTestCase.test_python37 __________________________ self = @patch("black.dump_to_file", dump_to_stderr) def test_python37(self) -> None: source_path = get_case_path("cases", "python37") _, source, expected = read_data_from_file(source_path) actual = fs(source) self.assertFormatEqual(expected, actual) major, minor = sys.version_info[:2] if major > 3 or (major == 3 and minor >= 7): black.assert_equivalent(source, actual) black.assert_stable(source, actual, DEFAULT_MODE) # ensure black can parse this when the target is 3.7 > self.invokeBlack([str(source_path), "--target-version", "py37"]) tests/test_black.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _____ BlackTestCase.test_required_version_does_not_match_on_minor_version ______ self = def test_required_version_does_not_match_on_minor_version(self) -> None: > self.invokeBlack( ["--required-version", black.__version__.split(".")[0] + ".999", "-c", "0"], exit_code=1, ignore_config=True, ) tests/test_black.py:1424: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________ BlackTestCase.test_required_version_does_not_match_version __________ self = def test_required_version_does_not_match_version(self) -> None: > result = BlackRunner().invoke( black.main, ["--required-version", "20.99b", "-c", "0"], ) tests/test_black.py:1431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _________ BlackTestCase.test_required_version_matches_partial_version __________ self = def test_required_version_matches_partial_version(self) -> None: > self.invokeBlack( ["--required-version", black.__version__.split(".")[0], "-c", "0"], exit_code=0, ignore_config=True, ) tests/test_black.py:1417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _____________ BlackTestCase.test_required_version_matches_version ______________ self = def test_required_version_matches_version(self) -> None: > self.invokeBlack( ["--required-version", black.__version__, "-c", "0"], exit_code=0, ignore_config=True, ) tests/test_black.py:1410: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________________ BlackTestCase.test_single_file_force_py36 ___________________ self = def test_single_file_force_py36(self) -> None: reg_mode = DEFAULT_MODE py36_mode = replace(DEFAULT_MODE, target_versions=PY36_VERSIONS) source, expected = read_data("miscellaneous", "force_py36") with cache_dir() as workspace: path = (workspace / "file.py").resolve() path.write_text(source, encoding="utf-8") > self.invokeBlack([str(path), *PY36_ARGS]) tests/test_black.py:1185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ___________________ BlackTestCase.test_single_file_force_pyi ___________________ self = def test_single_file_force_pyi(self) -> None: pyi_mode = replace(DEFAULT_MODE, is_pyi=True) contents, expected = read_data("miscellaneous", "force_pyi") with cache_dir() as workspace: path = (workspace / "file.py").resolve() path.write_text(contents, encoding="utf-8") > self.invokeBlack([str(path), "--pyi"]) tests/test_black.py:1135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _________________ BlackTestCase.test_skip_magic_trailing_comma _________________ self = def test_skip_magic_trailing_comma(self) -> None: source, _ = read_data("cases", "expression") expected, _ = read_data( "miscellaneous", "expression_skip_magic_trailing_comma.diff" ) tmp_file = Path(black.dump_to_file(source)) diff_header = re.compile( rf"{re.escape(str(tmp_file))}\t\d\d\d\d-\d\d-\d\d " r"\d\d:\d\d:\d\d\.\d\d\d\d\d\d\+\d\d:\d\d" ) try: > result = BlackRunner().invoke( black.main, ["-C", "--diff", str(tmp_file), f"--config={EMPTY_CONFIG}"] ) tests/test_black.py:401: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________________ BlackTestCase.test_skip_source_first_line ___________________ self = def test_skip_source_first_line(self) -> None: source, _ = read_data("miscellaneous", "invalid_header") tmp_file = Path(black.dump_to_file(source)) # Full source should fail (invalid syntax at header) > self.invokeBlack([str(tmp_file), "--diff", "--check"], exit_code=123) tests/test_black.py:371: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _________________ BlackTestCase.test_spellcheck_pyproject_toml _________________ self = def test_spellcheck_pyproject_toml(self) -> None: test_toml_file = THIS_DIR / "data" / "incorrect_spelling.toml" > result = BlackRunner().invoke( black.main, [ "--code=print('hello world')", "--verbose", f"--config={str(test_toml_file)}", ], ) tests/test_black.py:1514: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ____________________ BlackTestCase.test_src_and_code_fails _____________________ self = def test_src_and_code_fails(self) -> None: with cache_dir(): > self.invokeBlack([".", "-c", "0"], exit_code=1) tests/test_black.py:1118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________ BlackTestCase.test_works_in_mono_process_only_environment ___________ self = @event_loop() @patch("concurrent.futures.ProcessPoolExecutor", MagicMock(side_effect=OSError)) def test_works_in_mono_process_only_environment(self) -> None: with cache_dir() as workspace: for f in [ (workspace / "one.py").resolve(), (workspace / "two.py").resolve(), ]: f.write_text('print("hello")\n', encoding="utf-8") > self.invokeBlack([str(workspace)]) tests/test_black.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ______________________ TestCaching.test_cache_broken_file ______________________ self = def test_cache_broken_file(self) -> None: mode = DEFAULT_MODE with cache_dir() as workspace: cache_file = get_cache_file(mode) cache_file.write_text("this is not a pickle", encoding="utf-8") assert black.Cache.read(mode).file_data == {} src = (workspace / "test.py").resolve() src.write_text("print('hello')", encoding="utf-8") > invokeBlack([str(src)]) tests/test_black.py:2134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ______________ TestCaching.test_cache_single_file_already_cached _______________ self = def test_cache_single_file_already_cached(self) -> None: mode = DEFAULT_MODE with cache_dir() as workspace: src = (workspace / "test.py").resolve() src.write_text("print('hello')", encoding="utf-8") cache = black.Cache.read(mode) cache.write([src]) > invokeBlack([str(src)]) tests/test_black.py:2145: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ____________________ TestCaching.test_cache_multiple_files _____________________ self = @event_loop() def test_cache_multiple_files(self) -> None: mode = DEFAULT_MODE with ( cache_dir() as workspace, patch("concurrent.futures.ProcessPoolExecutor", new=ThreadPoolExecutor), ): one = (workspace / "one.py").resolve() one.write_text("print('hello')", encoding="utf-8") two = (workspace / "two.py").resolve() two.write_text("print('hello')", encoding="utf-8") cache = black.Cache.read(mode) cache.write([one]) > invokeBlack([str(workspace)]) tests/test_black.py:2161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ___________ TestCaching.test_no_cache_when_writeback_diff[no-color] ____________ self = , color = False @pytest.mark.incompatible_with_mypyc @pytest.mark.parametrize("color", [False, True], ids=["no-color", "with-color"]) def test_no_cache_when_writeback_diff(self, color: bool) -> None: mode = DEFAULT_MODE with cache_dir() as workspace: src = (workspace / "test.py").resolve() src.write_text("print('hello')", encoding="utf-8") with ( patch.object(black.Cache, "read") as read_cache, patch.object(black.Cache, "write") as write_cache, ): cmd = [str(src), "--diff"] if color: cmd.append("--color") > invokeBlack(cmd) tests/test_black.py:2182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________ TestCaching.test_no_cache_when_writeback_diff[with-color] ___________ self = , color = True @pytest.mark.incompatible_with_mypyc @pytest.mark.parametrize("color", [False, True], ids=["no-color", "with-color"]) def test_no_cache_when_writeback_diff(self, color: bool) -> None: mode = DEFAULT_MODE with cache_dir() as workspace: src = (workspace / "test.py").resolve() src.write_text("print('hello')", encoding="utf-8") with ( patch.object(black.Cache, "read") as read_cache, patch.object(black.Cache, "write") as write_cache, ): cmd = [str(src), "--diff"] if color: cmd.append("--color") > invokeBlack(cmd) tests/test_black.py:2182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ________ TestCaching.test_output_locking_when_writeback_diff[no-color] _________ self = , color = False @pytest.mark.parametrize("color", [False, True], ids=["no-color", "with-color"]) @event_loop() def test_output_locking_when_writeback_diff(self, color: bool) -> None: with cache_dir() as workspace: for tag in range(0, 4): src = (workspace / f"test{tag}.py").resolve() src.write_text("print('hello')", encoding="utf-8") with patch( "black.concurrency.Manager", wraps=multiprocessing.Manager ) as mgr: cmd = ["--diff", str(workspace)] if color: cmd.append("--color") > invokeBlack(cmd, exit_code=0) tests/test_black.py:2201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _______ TestCaching.test_output_locking_when_writeback_diff[with-color] ________ self = , color = True @pytest.mark.parametrize("color", [False, True], ids=["no-color", "with-color"]) @event_loop() def test_output_locking_when_writeback_diff(self, color: bool) -> None: with cache_dir() as workspace: for tag in range(0, 4): src = (workspace / f"test{tag}.py").resolve() src.write_text("print('hello')", encoding="utf-8") with patch( "black.concurrency.Manager", wraps=multiprocessing.Manager ) as mgr: cmd = ["--diff", str(workspace)] if color: cmd.append("--color") > invokeBlack(cmd, exit_code=0) tests/test_black.py:2201: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError ____________ TestCaching.test_failed_formatting_does_not_get_cached ____________ self = @event_loop() def test_failed_formatting_does_not_get_cached(self) -> None: mode = DEFAULT_MODE with ( cache_dir() as workspace, patch("concurrent.futures.ProcessPoolExecutor", new=ThreadPoolExecutor), ): failing = (workspace / "failing.py").resolve() failing.write_text("not actually python", encoding="utf-8") clean = (workspace / "clean.py").resolve() clean.write_text('print("hello")\n', encoding="utf-8") > invokeBlack([str(workspace)], exit_code=123) tests/test_black.py:2315: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_black.py:123: in invokeBlack runner = BlackRunner() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError __________________ TestFileCollection.test_invalid_gitignore ___________________ self = def test_invalid_gitignore(self) -> None: path = THIS_DIR / "data" / "invalid_gitignore_tests" empty_config = path / "pyproject.toml" > result = BlackRunner().invoke( black.main, ["--verbose", "--config", str(empty_config), str(path)] ) tests/test_black.py:2518: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError _______________ TestFileCollection.test_invalid_nested_gitignore _______________ self = def test_invalid_nested_gitignore(self) -> None: path = THIS_DIR / "data" / "invalid_nested_gitignore_tests" empty_config = path / "pyproject.toml" > result = BlackRunner().invoke( black.main, ["--verbose", "--config", str(empty_config), str(path)] ) tests/test_black.py:2534: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __init__(self) -> None: > super().__init__(mix_stderr=False) E TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr' tests/test_black.py:117: TypeError =========================== short test summary info ============================ SKIPPED [1] tests/test_ipynb.py:26: IPython is an optional dependency SKIPPED [2] tests/test_no_ipynb.py: Marked with disabled optional tests (no_jupyter) ================== 40 failed, 344 passed, 3 skipped in 45.22s ================== error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XqX27A (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XqX27A (%check) I: [iurt_root_command] ERROR: chroot