<86>Jul 20 01:50:49 userdel[2891386]: delete user 'rooter' <86>Jul 20 01:50:49 userdel[2891386]: removed group 'rooter' owned by 'rooter' <86>Jul 20 01:50:49 userdel[2891386]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 20 01:50:49 groupadd[2891439]: group added to /etc/group: name=rooter, GID=1802 <86>Jul 20 01:50:49 groupadd[2891439]: group added to /etc/gshadow: name=rooter <86>Jul 20 01:50:49 groupadd[2891439]: new group: name=rooter, GID=1802 <86>Jul 20 01:50:49 useradd[2891474]: new user: name=rooter, UID=1802, GID=1802, home=/root, shell=/bin/bash, from=none <86>Jul 20 01:50:49 userdel[2891530]: delete user 'builder' <86>Jul 20 01:50:49 userdel[2891530]: removed group 'builder' owned by 'builder' <86>Jul 20 01:50:49 userdel[2891530]: removed shadow group 'builder' owned by 'builder' <86>Jul 20 01:50:49 groupadd[2891581]: group added to /etc/group: name=builder, GID=1803 <86>Jul 20 01:50:49 groupadd[2891581]: group added to /etc/gshadow: name=builder <86>Jul 20 01:50:49 groupadd[2891581]: new group: name=builder, GID=1803 <86>Jul 20 01:50:49 useradd[2891632]: new user: name=builder, UID=1803, GID=1803, home=/usr/src, shell=/bin/bash, from=none <13>Jul 20 01:50:52 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Jul 20 01:50:52 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Jul 20 01:50:52 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Jul 20 01:50:52 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Jul 20 01:50:52 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Jul 20 01:50:52 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Jul 20 01:50:52 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 20 01:50:52 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 20 01:50:52 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Jul 20 01:50:52 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Jul 20 01:50:52 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Jul 20 01:50:52 rpmi: libcrypto3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605656 installed <13>Jul 20 01:50:52 rpmi: libssl3-3.1.6-alt1 sisyphus+350419.100.1.1 1717605656 installed <13>Jul 20 01:50:52 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 20 01:50:53 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 20 01:50:53 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Jul 20 01:50:53 rpmi: python3-module-pyproject-installer-0.5.4-alt1 sisyphus+352023.140.3.1 1720195943 installed <13>Jul 20 01:50:53 rpmi: rpm-macros-pyproject-0.0.6-alt1 sisyphus+352023.260.4.1 1720458032 installed <13>Jul 20 01:50:53 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Jul 20 01:50:53 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Jul 20 01:50:53 rpmi: rpm-build-pyproject-0.0.6-alt1 sisyphus+352023.260.4.1 1720458032 installed <13>Jul 20 01:50:56 rpmi: python3-module-typing_extensions-4.12.2-alt1 sisyphus+351501.100.1.2 1719296652 installed <13>Jul 20 01:50:56 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Jul 20 01:50:56 rpmi: python3-module-packaging-24.1-alt1 sisyphus+350717.100.2.1 1718268656 installed <13>Jul 20 01:50:56 rpmi: libopenblas-0.3.27-alt1 sisyphus+348275.100.2.1 1716195856 installed <13>Jul 20 01:50:56 rpmi: python3-module-pydantic-core-2.20.1-alt1 sisyphus+340654.200.2.1 1720776078 installed <13>Jul 20 01:50:56 rpmi: python3-module-mypy_extensions-1.0.0-alt1 sisyphus+316350.100.2.1 1678357948 installed <13>Jul 20 01:50:56 rpmi: python3-module-mypy-1.10.1-alt1 sisyphus+351519.100.1.1 1719309767 installed <13>Jul 20 01:50:56 rpmi: python3-module-mdurl-0.1.2-alt1 sisyphus+318894.1000.3.1 1682420700 installed <13>Jul 20 01:50:56 rpmi: python3-module-markdown-it-3.0.0-alt1 sisyphus+324665.100.1.1 1689081992 installed <13>Jul 20 01:50:56 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Jul 20 01:50:56 rpmi: python3-module-pytest-8.2.2-alt1 sisyphus+350387.100.2.1 1717665127 installed <13>Jul 20 01:50:56 rpmi: python3-module-trove-classifiers-2024.7.2-alt1 sisyphus+352024.100.1.1 1719938199 installed <13>Jul 20 01:50:56 rpmi: python3-module-pathspec-0.12.1-alt1 sisyphus+341971.100.1.1 1709553025 installed <13>Jul 20 01:50:56 rpmi: python3-module-six-1.16.0-alt2 sisyphus+324249.100.1.1 1688484676 installed <13>Jul 20 01:50:56 rpmi: python3-module-annotated-types-0.7.0-alt1 sisyphus+349932.100.1.1 1717043663 installed <13>Jul 20 01:50:56 rpmi: python3-module-Pygments-2.18.0-alt1 sisyphus+347552.100.1.1 1714992955 installed <13>Jul 20 01:50:56 rpmi: python3-module-rich-13.7.1-alt1 sisyphus+341675.100.1.1 1709202925 installed <13>Jul 20 01:50:56 rpmi: libsqlite3-3.44.2-alt1 sisyphus+335409.100.3.3 1701347810 installed <13>Jul 20 01:50:56 rpmi: python3-modules-sqlite3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>Jul 20 01:50:56 rpmi: libxblas-1.0.248-alt2 sisyphus+285045.40.2.1 1631388330 installed <13>Jul 20 01:50:56 rpmi: libquadmath0-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>Jul 20 01:50:56 rpmi: libgfortran5-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>Jul 20 01:50:57 rpmi: liblapack-1:3.8.0-alt7 sisyphus+340675.300.1.1 1707908338 installed <13>Jul 20 01:50:57 rpmi: python3-module-numpy-1:1.26.5-alt1 sisyphus+352832.100.1.1 1720965091 installed <13>Jul 20 01:50:57 rpmi: python3-module-sqlalchemy-2.0.31-alt1 sisyphus+352143.100.1.1 1720090416 installed <13>Jul 20 01:50:57 rpmi: python3-module-pytest-pretty-1.2.0-alt1 sisyphus+325486.140.2.1 1690270459 installed <13>Jul 20 01:50:57 rpmi: python3-module-pydantic-2.8.2-alt1 sisyphus+340654.400.3.1 1720777479 installed <13>Jul 20 01:50:57 rpmi: python3-module-asttokens-2.4.1-alt1 sisyphus+338523.100.2.1 1706229862 installed <13>Jul 20 01:50:57 rpmi: python3-module-hatchling-1.25.0-alt1 sisyphus+351431.100.1.1 1719228961 installed <13>Jul 20 01:50:57 rpmi: python3-module-pytest-mock-3.14.0-alt1 sisyphus+343327.100.2.2 1711118794 installed <13>Jul 20 01:50:57 rpmi: python3-module-tomli-2.0.1-alt2 sisyphus+305000.3300.2.1 1660575675 installed <13>Jul 20 01:50:57 rpmi: python3-module-platformdirs-4.2.2-alt1 sisyphus+348107.100.1.1 1715765810 installed <13>Jul 20 01:50:57 rpmi: python3-module-multidict-6.0.5-alt1 sisyphus+344299.100.1.1 1712158386 installed <13>Jul 20 01:50:57 rpmi: python3-module-executing-2.0.1-alt1 sisyphus+339000.100.1.1 1706204708 installed <13>Jul 20 01:50:57 rpmi: python3-module-exceptiongroup-1.2.2-alt1 sisyphus+352878.100.1.1 1721039865 installed <13>Jul 20 01:50:57 rpmi: python3-module-click-8.1.7-alt1 sisyphus+327424.100.2.1 1695395098 installed <13>Jul 20 01:50:57 rpmi: python3-module-attrs-23.2.0-alt1 sisyphus+338876.100.1.2 1706109385 installed <13>Jul 20 01:50:57 rpmi: python3-module-asyncpg-0.29.0-alt2 sisyphus+333513.40110.73.1 1704637445 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-devtools-0.12.2-alt1.nosrc.rpm (w1.gzdio) Installing python3-module-devtools-0.12.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.71833 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-devtools-0.12.2 + echo 'Source #0 (python3-module-devtools-0.12.2.tar):' Source #0 (python3-module-devtools-0.12.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-devtools-0.12.2.tar + cd python3-module-devtools-0.12.2 + /bin/chmod -c -Rf u+rwX,go-w . + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify pep517 --verify-exclude 'wheel$' + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show metadata + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify metadata INFO : Building metadata INFO : Building metadata with prepare_metadata_for_build_wheel INFO : Source tree: /usr/src/RPM/BUILD/python3-module-devtools-0.12.2 INFO : Output dir: /usr/src/tmp/tmpi54p_zy0 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show check + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify check + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.69934 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-devtools-0.12.2 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/python3-module-devtools-0.12.2 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-devtools-0.12.2/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/python3-module-devtools-0.12.2/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: hatchling.build INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-devtools-0.12.2/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : pyproject_installer.build_cmd._build : Built wheel: devtools-0.12.2-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.69934 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-devtools-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-devtools-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-devtools-0.12.2 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-devtools-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-devtools-0.12.2/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: devtools-0.12.2-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-devtools-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: devtools-0.12.2.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: devtools-0.12.2.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: devtools-0.12.2.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-devtools-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-devtools-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-devtools-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-devtools-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-devtools-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-devtools-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-devtools-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-devtools-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/__init__.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/__main__.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/ansi.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/debug.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/prettier.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/pytest_plugin.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/timer.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/utils.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/version.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-devtools-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/__init__.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/__main__.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/ansi.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/debug.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/prettier.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/pytest_plugin.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/timer.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/utils.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/version.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-devtools-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/__init__.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/__main__.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/ansi.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/debug.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/prettier.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/pytest_plugin.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/timer.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/utils.py compile /usr/src/tmp/python3-module-devtools-buildroot/usr/lib/python3/site-packages/devtools/version.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/devtools/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/__main__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/__main__.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/__main__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/__main__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/ansi.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/ansi.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/debug.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/debug.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/prettier.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/prettier.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/prettier.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/prettier.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/pytest_plugin.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/pytest_plugin.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/timer.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/timer.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/timer.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/timer.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/utils.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/utils.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/version.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/version.cpython-312.pyc' './usr/lib/python3/site-packages/devtools/__pycache__/version.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/devtools/__pycache__/version.cpython-312.opt-1.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.21012 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-devtools-0.12.2 + /usr/bin/python3 -m pytest ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.2.2, pluggy-1.5.0 rootdir: /usr/src/RPM/BUILD/python3-module-devtools-0.12.2 configfile: pyproject.toml testpaths: tests plugins: mock-3.14.0, pretty-1.2.0 collected 118 items tests/test_ansi.py ............ [ 10%] tests/test_custom_pretty.py ...... [ 15%] tests/test_expr_render.py .................. [ 30%] tests/test_insert_assert.py F [ 30%] tests/test_insert_assert.py:22 test_insert_assert - assert "def test… tests/test_insert_assert.py F [ 31%] tests/test_insert_assert.py:40 test_insert_assert_no_pretty - assert… tests/test_insert_assert.py ..F [ 33%] tests/test_insert_assert.py:80 test_deep - assert "def test_dee...: … tests/test_insert_assert.py F [ 34%] tests/test_insert_assert.py:103 test_enum - AssertionError: assert '… tests/test_insert_assert.py F [ 35%] tests/test_insert_assert.py:126 test_insert_assert_black - assert "'… tests/test_insert_assert.py . [ 37%] tests/test_main.py ........................ [ 57%] tests/test_prettier.py ....................................... [ 90%] tests/test_timer.py ...... [ 95%] tests/test_utils.py ....s [100%] =================================== FAILURES =================================== ______________________________ test_insert_assert ______________________________ pytester_pretty = def test_insert_assert(pytester_pretty): os.environ.pop('CI', None) pytester_pretty.makeconftest(config) test_file = pytester_pretty.makepyfile(default_test) result = pytester_pretty.runpytest() result.assert_outcomes(passed=2) # print(result.outlines) > assert test_file.read_text() == ( 'def test_ok():\n' ' assert 1 + 2 == 3\n' '\n' 'def test_string_assert(insert_assert):\n' " thing = 'foobar'\n" ' # insert_assert(thing)\n' ' assert thing == "foobar"' ) E assert "def test_ok(...g == 'foobar'" == 'def test_ok(...g == "foobar"' E E Skipping 135 identical leading characters in diff, use -v to show E - thing == "foobar" E ? ^ ^ E + thing == 'foobar' E ? ^ ^ /usr/src/RPM/BUILD/python3-module-devtools-0.12.2/tests/test_insert_assert.py:30: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.2.2, pluggy-1.5.0 rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_insert_assert0 plugins: mock-3.14.0, pretty-1.2.0 collected 2 items test_insert_assert.py ..i [100%] =============================== warnings summary =============================== ../../../../../lib/python3/site-packages/_pytest/config/__init__.py:838 /usr/lib/python3/site-packages/_pytest/config/__init__.py:838: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: devtools.pytest_plugin self.import_plugin(import_spec) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html Replaced 1 insert_assert() call in 1 file Results (0.01s): 2 passed 1 warning 1 insert assert _________________________ test_insert_assert_no_pretty _________________________ pytester = def test_insert_assert_no_pretty(pytester): os.environ.pop('CI', None) pytester.makeconftest(config) test_file = pytester.makepyfile(default_test) result = pytester.runpytest('-p', 'no:pretty') result.assert_outcomes(passed=2) > assert test_file.read_text() == ( 'def test_ok():\n' ' assert 1 + 2 == 3\n' '\n' 'def test_string_assert(insert_assert):\n' " thing = 'foobar'\n" ' # insert_assert(thing)\n' ' assert thing == "foobar"' ) E assert "def test_ok(...g == 'foobar'" == 'def test_ok(...g == "foobar"' E E Skipping 135 identical leading characters in diff, use -v to show E - thing == "foobar" E ? ^ ^ E + thing == 'foobar' E ? ^ ^ /usr/src/RPM/BUILD/python3-module-devtools-0.12.2/tests/test_insert_assert.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.2.2, pluggy-1.5.0 rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_insert_assert_no_pretty0 plugins: mock-3.14.0 collected 2 items test_insert_assert_no_pretty.py ..i [100%] =============================== warnings summary =============================== ../../../../../lib/python3/site-packages/_pytest/config/__init__.py:838 /usr/lib/python3/site-packages/_pytest/config/__init__.py:838: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: devtools.pytest_plugin self.import_plugin(import_spec) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html Replaced 1 insert_assert() call in 1 file ================ 2 passed, 1 warning, 1 insert assert in 0.01s ================= __________________________________ test_deep ___________________________________ pytester_pretty = def test_deep(pytester_pretty): os.environ.pop('CI', None) pytester_pretty.makeconftest(config) # language=Python test_file = pytester_pretty.makepyfile( """ def test_deep(insert_assert): insert_assert([{'a': i, 'b': 2 * 2} for i in range(3)]) """ ) result = pytester_pretty.runpytest() result.assert_outcomes(passed=1) > assert test_file.read_text() == ( 'def test_deep(insert_assert):\n' " # insert_assert([{'a': i, 'b': 2 * 2} for i in range(3)])\n" ' assert [{"a": i, "b": 2 * 2} for i in range(3)] == [\n' ' {"a": 0, "b": 4},\n' ' {"a": 1, "b": 4},\n' ' {"a": 2, "b": 4},\n' ' ]' ) E assert "def test_dee...: 2, 'b': 4}]" == 'def test_dee...": 4},\n ]' E E Skipping 95 identical leading characters in diff, use -v to show E + assert [{'a': i, 'b': 2 * 2} for i in range(3)] == [{'a': 0, 'b': 4}, {'a': 1, 'b': 4}, {'a': 2, 'b': 4}] E - assert [{"a": i, "b": 2 * 2} for i in range(3)] == [ E - {"a": 0, "b": 4}, E - {"a": 1, "b": 4}, E - {"a": 2, "b": 4}, E - ] /usr/src/RPM/BUILD/python3-module-devtools-0.12.2/tests/test_insert_assert.py:93: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.2.2, pluggy-1.5.0 rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_deep0 plugins: mock-3.14.0, pretty-1.2.0 collected 1 item test_deep.py .i [100%] =============================== warnings summary =============================== ../../../../../lib/python3/site-packages/_pytest/config/__init__.py:838 /usr/lib/python3/site-packages/_pytest/config/__init__.py:838: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: devtools.pytest_plugin self.import_plugin(import_spec) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html Replaced 1 insert_assert() call in 1 file Results (0.01s): 1 passed 1 warning 1 insert assert __________________________________ test_enum ___________________________________ pytester_pretty = capsys = <_pytest.capture.CaptureFixture object at 0x7f1aacc35310> def test_enum(pytester_pretty, capsys): os.environ.pop('CI', None) pytester_pretty.makeconftest(config) # language=Python pytester_pretty.makepyfile( """ from enum import Enum class Foo(Enum): A = 1 B = 2 def test_deep(insert_assert): x = Foo.A insert_assert(x) """ ) result = pytester_pretty.runpytest('--insert-assert-print') result.assert_outcomes(passed=1) captured = capsys.readouterr() > assert ' assert x == Foo.A\n' in captured.out E AssertionError: assert ' assert x == Foo.A\n' in '============================= test session starts ==============================\nplatform linux -- Python 3.12.2, py...---------------\n\nPrinted 1 insert_assert() call in 1 file\nResults (0.01s):\n 1 passed\n 1 warning\n' E + where '============================= test session starts ==============================\nplatform linux -- Python 3.12.2, py...---------------\n\nPrinted 1 insert_assert() call in 1 file\nResults (0.01s):\n 1 passed\n 1 warning\n' = CaptureResult(out='============================= test session starts ==============================\nplatform linux --...------\n\nPrinted 1 insert_assert() call in 1 file\nResults (0.01s):\n 1 passed\n 1 warning\n', err='').out /usr/src/RPM/BUILD/python3-module-devtools-0.12.2/tests/test_insert_assert.py:124: AssertionError ___________________________ test_insert_assert_black ___________________________ tmp_path = PosixPath('/usr/src/tmp/pytest-of-builder/pytest-0/test_insert_assert_black0') def test_insert_assert_black(tmp_path): old_wd = os.getcwd() try: os.chdir(tmp_path) (tmp_path / 'pyproject.toml').write_text( """\ [tool.black] target-version = ["py39"] skip-string-normalization = true""" ) load_black.cache_clear() finally: os.chdir(old_wd) f = load_black() # no string normalization > assert f("'foobar'") == "'foobar'\n" E assert "'foobar'" == "'foobar'\n" E E - 'foobar' E ? - E + 'foobar' tests/test_insert_assert.py:143: AssertionError Summary of Failures ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ Function ┃ ┃ ┃ ┃ File ┃ Function ┃ Line ┃ Error Line ┃ Error ┃ ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ │ tests/test… │ test_inser… │ 23 │ 30 │ AssertionE… │ │ tests/test… │ test_inser… │ 41 │ 47 │ AssertionE… │ │ tests/test… │ test_deep │ 81 │ 93 │ AssertionE… │ │ tests/test… │ test_enum │ 104 │ 124 │ AssertionE… │ │ tests/test… │ test_inser… │ 127 │ 143 │ AssertionE… │ └───────────────┴───────────────┴───────────────┴──────────────┴───────────────┘ Results (0.41s): 5 failed 112 passed 1 skipped error: Bad exit status from /usr/src/tmp/rpm-tmp.21012 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.21012 (%check) Command exited with non-zero status 1 3.23user 0.80system 0:03.71elapsed 108%CPU (0avgtext+0avgdata 91740maxresident)k 0inputs+0outputs (0major+165076minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-devtools-0.12.2-alt1.src.rpm' failed. Command exited with non-zero status 1 4.92user 2.99system 0:18.15elapsed 43%CPU (0avgtext+0avgdata 134020maxresident)k 12880inputs+0outputs (0major+280347minor)pagefaults 0swaps