D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/python-smartypants-2.0.1-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lt8qR5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + test -d /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XJ4tjE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + rm -rf smartypants.py-2.0.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/smartypants-2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd smartypants.py-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find -type f -name '*.py' + for lib in $(find -type f -name '*.py') + sed -i.python -e '1{\@^#!@d}' ./tests/test_cli.py + for lib in $(find -type f -name '*.py') + sed -i.python -e '1{\@^#!@d}' ./tests/test_setup.py + for lib in $(find -type f -name '*.py') + sed -i.python -e '1{\@^#!@d}' ./tests/test.py + for lib in $(find -type f -name '*.py') + sed -i.python -e '1{\@^#!@d}' ./tests/test_deprecated.py + for lib in $(find -type f -name '*.py') + sed -i.python -e '1{\@^#!@d}' ./docs/conf.py + for lib in $(find -type f -name '*.py') + sed -i.python -e '1{\@^#!@d}' ./smartypants.py + for lib in $(find -type f -name '*.py') + sed -i.python -e '1{\@^#!@d}' ./setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NLtsw7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + cd smartypants.py-2.0.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg + sed -i -e 's/~=/>=/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/.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' + 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' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 75.6.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) The [wheel] section is deprecated. Use [bdist_wheel] instead. + cat /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-buildrequires + rm -rfv smartypants-2.0.1.dist-info/ removed 'smartypants-2.0.1.dist-info/COPYING' removed 'smartypants-2.0.1.dist-info/top_level.txt' removed 'smartypants-2.0.1.dist-info/METADATA' removed directory 'smartypants-2.0.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M0pedl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + cd smartypants.py-2.0.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/.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' + 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' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) The [wheel] section is deprecated. Use [bdist_wheel] instead. Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: smartypants Building wheel for smartypants (pyproject.toml): started Running command Building wheel for smartypants (pyproject.toml) /usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py:251: _IncompatibleBdistWheel: wheel.bdist_wheel is deprecated, please import it from setuptools !! ******************************************************************************** Ensure that any custom bdist_wheel implementation is a subclass of setuptools.command.bdist_wheel.bdist_wheel. By 2025-Oct-15, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://github.com/pypa/wheel/pull/631 for details. ******************************************************************************** !! return _build_backend().build_wheel(wheel_directory, config_settings, The [wheel] section is deprecated. Use [bdist_wheel] instead. Building wheel for smartypants (pyproject.toml): finished with status 'done' Created wheel for smartypants: filename=smartypants-2.0.1-py2.py3-none-any.whl size=9788 sha256=9226922f120136d5c50f2af30fd136e3946aeb75732ce15388890927ca7aa2c3 Stored in directory: /home/pterjan/.cache/pip/wheels/50/a1/83/01bd6fed66e256054317aa88c8a58373848c9906f512794107 Successfully built smartypants + sphinx-build docs html Running Sphinx v7.3.7 /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/smartypants.py:270: SyntaxWarning: invalid escape sequence '\S' if re.match("\S", prev_token_last_char): /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/smartypants.py:276: SyntaxWarning: invalid escape sequence '\S' if re.match("\S", prev_token_last_char): making output directory... done WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 9 source files that are out of date updating environment: [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] changes reading sources... [ 22%] command-line reading sources... [ 33%] copyright reading sources... [ 44%] development reading sources... [ 56%] history reading sources... [ 67%] index reading sources... [ 78%] introduction reading sources... [ 89%] reference :270: SyntaxWarning: invalid escape sequence '\S' :276: SyntaxWarning: invalid escape sequence '\S' :270: SyntaxWarning: invalid escape sequence '\S' :276: SyntaxWarning: invalid escape sequence '\S' :88: SyntaxWarning: invalid escape sequence '\S' :94: SyntaxWarning: invalid escape sequence '\S' reading sources... [100%] usage WARNING: autodoc: failed to import module 'smartypants_command'; the following exception was raised: No module named 'smartypants_command' looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 11%] changes writing output... [ 22%] command-line writing output... [ 33%] copyright writing output... [ 44%] development writing output... [ 56%] history writing output... [ 67%] index writing output... [ 78%] introduction writing output... [ 89%] reference writing output... [100%] usage /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/docs/index.rst:17: WARNING: toctree contains reference to document 'command-line' that doesn't have a title: no link will be generated generating indices... genindex py-modindex done highlighting module code... [100%] smartypants writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 3 warnings. The HTML pages are in html. + rm -rf _build/html/.doctrees _build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0x0E8G + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + mkdir /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT + cd smartypants.py-2.0.1 + '[' 1 -eq 1 ']' ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple ++ ls /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/pyproject-wheeldir/smartypants-2.0.1-py2.py3-none-any.whl + specifier=smartypants==2.0.1 + '[' -z smartypants==2.0.1 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-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-smartypants-2.0.1-build/smartypants.py-2.0.1/pyproject-wheeldir smartypants==2.0.1 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/smartypants-2.0.1-py2.py3-none-any.whl Installing collected packages: smartypants Successfully installed smartypants-2.0.1 + '[' -d /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-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-smartypants-2.0.1-build/BUILDROOT/usr/bin/smartypants /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/bin/smartypants: updating + rm -rfv /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/bin/__pycache__ + rm -f /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/smartypants-2.0.1.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/smartypants-2.0.1.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-smartypants-2.0.1-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/smartypants-2.0.1.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/smartypants-2.0.1.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/smartypants-2.0.1.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/smartypants-2.0.1.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/smartypants-2.0.1.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-ghost-distinfo + 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-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/python-smartypants-2.0.1-7.mga10.noarch-pyproject-record --prefix /usr smartypants + /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-smartypants-2.0.1-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set /usr/lib/python3.12/site-packages/smartypants.py:270: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.12/site-packages/smartypants.py:276: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.12/site-packages/smartypants.py:270: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.12/site-packages/smartypants.py:276: SyntaxWarning: invalid escape sequence '\S' + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2hdgmb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + cd smartypants.py-2.0.1 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test test_change_default_attr (test.SmartyPantsTestCase.test_change_default_attr) ... ERROR test_comments (test.SmartyPantsTestCase.test_comments) ... FAIL test_convert_entities (test.SmartyPantsTestCase.test_convert_entities) ... ok test_convert_quot (test.SmartyPantsTestCase.test_convert_quot) ... ok test_dates (test.SmartyPantsTestCase.test_dates) ... FAIL test_educated_quotes (test.SmartyPantsTestCase.test_educated_quotes) ... ok test_incredibly_long_string (test.SmartyPantsTestCase.test_incredibly_long_string) ... ok test_ordinal_numbers (test.SmartyPantsTestCase.test_ordinal_numbers) ... ok test_skip_tags (test.SmartyPantsTestCase.test_skip_tags) ... ok _tags_to_skip_regex (smartypants) Doctest: smartypants._tags_to_skip_regex ... ok convert_backticks (smartypants) Doctest: smartypants.convert_backticks ... ok convert_dashes (smartypants) Doctest: smartypants.convert_dashes ... ok convert_dashes_oldschool (smartypants) Doctest: smartypants.convert_dashes_oldschool ... ok convert_dashes_oldschool_inverted (smartypants) Doctest: smartypants.convert_dashes_oldschool_inverted ... ok convert_ellipses (smartypants) Doctest: smartypants.convert_ellipses ... ok convert_entities (smartypants) Doctest: smartypants.convert_entities ... ok convert_quotes (smartypants) Doctest: smartypants.convert_quotes ... ok convert_single_backticks (smartypants) Doctest: smartypants.convert_single_backticks ... ok process_escapes (smartypants) Doctest: smartypants.process_escapes ... ok smartypants (smartypants) Doctest: smartypants.smartypants ... FAIL test_file (test_cli.TestCLI.test_file) ... ERROR test_pipe (test_cli.TestCLI.test_pipe) ... ERROR test_pipe_attr (test_cli.TestCLI.test_pipe_attr) ... ERROR test_skipped_elements (test_cli.TestCLI.test_skipped_elements) ... ERROR test_long_description (test_setup.SetupTestCase.test_long_description) Ensure long description can be generated ... ok ====================================================================== ERROR: test_change_default_attr (test.SmartyPantsTestCase.test_change_default_attr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/tests/test.py", line 26, in test_change_default_attr self.assertEquals(T, E) ^^^^^^^^^^^^^^^^^ AttributeError: 'SmartyPantsTestCase' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? ====================================================================== ERROR: test_file (test_cli.TestCLI.test_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/tests/test_cli.py", line 84, in test_file self.assertEquals(output, E) ^^^^^^^^^^^^^^^^^ AttributeError: 'TestCLI' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? ====================================================================== ERROR: test_pipe (test_cli.TestCLI.test_pipe) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/tests/test_cli.py", line 37, in test_pipe self.assertEquals(output, E) ^^^^^^^^^^^^^^^^^ AttributeError: 'TestCLI' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? ====================================================================== ERROR: test_pipe_attr (test_cli.TestCLI.test_pipe_attr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/tests/test_cli.py", line 45, in test_pipe_attr self.assertEquals(output, E) ^^^^^^^^^^^^^^^^^ AttributeError: 'TestCLI' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? ====================================================================== ERROR: test_skipped_elements (test_cli.TestCLI.test_skipped_elements) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/tests/test_cli.py", line 57, in test_skipped_elements self.assertEquals(output, E) ^^^^^^^^^^^^^^^^^ AttributeError: 'TestCLI' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? ====================================================================== FAIL: test_comments (test.SmartyPantsTestCase.test_comments) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/tests/test.py", line 91, in test_comments self.assertEqual(sp("--"), "—") AssertionError: '--' != '—' - -- + — ====================================================================== FAIL: test_dates (test.SmartyPantsTestCase.test_dates) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/tests/test.py", line 40, in test_dates self.assertEqual(sp("1440--'80s"), "1440—‘80s") AssertionError: '1440--‘80s' != '1440—‘80s' - 1440--‘80s ? ^^ + 1440—‘80s ? ^^^^^^^ ====================================================================== FAIL: smartypants (smartypants) Doctest: smartypants.smartypants ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.12/doctest.py", line 2256, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for smartypants.smartypants File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/smartypants.py", line 183, in smartypants ---------------------------------------------------------------------- File "/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/smartypants.py", line 187, in smartypants.smartypants Failed example: print(smartypants('"foo" -- bar')) Expected: “foo” — bar Got: “foo” -- bar ---------------------------------------------------------------------- Ran 25 tests in 0.524s FAILED (failures=3, errors=5) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-smartypants-2.0.1-7.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E1zTce + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + cd smartypants.py-2.0.1 + DOCDIR=/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/doc/python3-smartypants + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/doc/python3-smartypants + cp -pr /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/README.rst /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/doc/python3-smartypants + cp -pr /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/CHANGES.rst /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/doc/python3-smartypants + cp -pr /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/html /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/doc/python3-smartypants + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oboRDV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + cd smartypants.py-2.0.1 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/licenses/python3-smartypants + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/licenses/python3-smartypants + cp -pr /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/smartypants.py-2.0.1/COPYING /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT/usr/share/licenses/python3-smartypants + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-smartypants = 2.0.1-7.mga10 python3-smartypants = 2.0.1-7.mga10 python3.12-smartypants = 2.0.1-7.mga10 python3.12dist(smartypants) = 2.0.1 python3dist(smartypants) = 2.0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.12 Obsoletes: python-smartypants < 2.0.1-7.mga10 python-smartypants-doc < 2.0.1-6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/python3-smartypants-2.0.1-7.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jC4r4z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + test -d /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/python-smartypants-2.0.1-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!