<86>Aug 1 07:39:05 userdel[1447698]: delete user 'rooter' <86>Aug 1 07:39:05 userdel[1447698]: removed group 'rooter' owned by 'rooter' <86>Aug 1 07:39:05 userdel[1447698]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 1 07:39:05 groupadd[1447750]: group added to /etc/group: name=rooter, GID=2639 <86>Aug 1 07:39:05 groupadd[1447750]: group added to /etc/gshadow: name=rooter <86>Aug 1 07:39:05 groupadd[1447750]: new group: name=rooter, GID=2639 <86>Aug 1 07:39:05 useradd[1447783]: new user: name=rooter, UID=2639, GID=2639, home=/root, shell=/bin/bash, from=none <86>Aug 1 07:39:05 userdel[1447835]: delete user 'builder' <86>Aug 1 07:39:05 userdel[1447835]: removed group 'builder' owned by 'builder' <86>Aug 1 07:39:05 userdel[1447835]: removed shadow group 'builder' owned by 'builder' <86>Aug 1 07:39:05 groupadd[1447895]: group added to /etc/group: name=builder, GID=2640 <86>Aug 1 07:39:05 groupadd[1447895]: group added to /etc/gshadow: name=builder <86>Aug 1 07:39:05 groupadd[1447895]: new group: name=builder, GID=2640 <86>Aug 1 07:39:05 useradd[1447926]: new user: name=builder, UID=2640, GID=2640, home=/usr/src, shell=/bin/bash, from=none <13>Aug 1 07:39:07 rpmi: libgdbm6-1.26-alt1 sisyphus+418729.200.2.1 1779276077 installed <13>Aug 1 07:39:07 rpmi: libgdbm_compat4-1.26-alt1 sisyphus+418729.200.2.1 1779276077 installed <13>Aug 1 07:39:07 rpmi: libsqlite3-3.50.4-alt1 sisyphus+391668.100.1.1 1754321138 installed <13>Aug 1 07:39:07 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Aug 1 07:39:07 rpmi: libexpat-2.7.4-alt1 sisyphus+407132.100.1.1 1770196717 installed <13>Aug 1 07:39:07 rpmi: openssl-config-3.5.0-alt1 sisyphus+399237.100.1.1 1762346864 installed <13>Aug 1 07:39:07 rpmi: libp11-kit-1:0.26.2-alt3.g0eedd4d sisyphus+424637.100.1.1 1783530782 installed <13>Aug 1 07:39:07 rpmi: libtasn1-4.21.0-alt2 sisyphus+420751.100.1.1 1781163748 installed <13>Aug 1 07:39:07 rpmi: rpm-macros-alternatives-0.5.3-alt1 sisyphus+371878.100.1.1 1737988822 installed <13>Aug 1 07:39:07 rpmi: alternatives-0.5.3-alt1 sisyphus+371878.100.1.1 1737988822 installed <13>Aug 1 07:39:07 rpmi: ca-certificates-2026.04.22-alt1 sisyphus+415942.100.6.1 1777316293 installed <13>Aug 1 07:39:07 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Aug 1 07:39:07 rpmi: p11-kit-trust-1:0.26.2-alt3.g0eedd4d sisyphus+424637.100.1.1 1783530782 installed <13>Aug 1 07:39:07 rpmi: libcrypto3-3.5.7-alt1 sisyphus+425332.100.3.1 1784733668 installed <13>Aug 1 07:39:07 rpmi: libssl3-3.5.7-alt1 sisyphus+425332.100.3.1 1784733668 installed <13>Aug 1 07:39:07 rpmi: python3-modules-sqlite3-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:39:07 rpmi: python3-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:39:07 rpmi: python3-base-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:39:07 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Aug 1 07:39:07 rpmi: tests-for-installed-python3-pkgs-0.1.29-alt1 sisyphus+398029.2500.12.1 1762716341 installed <13>Aug 1 07:39:07 rpmi: rpm-build-python3-0.1.29-alt1 sisyphus+398029.2500.12.1 1762716341 installed <13>Aug 1 07:39:09 rpmi: python3-module-packaging-26.2-alt1 sisyphus+416502.100.2.1 1777385153 installed <13>Aug 1 07:39:09 rpmi: python3-module-more-itertools-11.1.0-alt1 sisyphus+419223.100.2.1 1779891386 installed <13>Aug 1 07:39:09 rpmi: python3-module-jaraco.functools-4.6.0-alt1 sisyphus+425293.100.1.2 1784631981 installed <13>Aug 1 07:39:09 rpmi: python3-module-Pygments-2.20.0-alt1 sisyphus+413985.100.1.1 1775208360 installed <13>Aug 1 07:39:09 rpmi: python3-module-wheel-0.47.0-alt1 sisyphus+416101.100.1.1 1776938753 installed <13>Aug 1 07:39:09 rpmi: python3-module-pluggy-1.6.0-alt1.1 sisyphus+413474.300.2.1 1774829688 installed <13>Aug 1 07:39:09 rpmi: python3-module-platformdirs-4.10.0-alt1 sisyphus+419460.100.1.1 1779982322 installed <13>Aug 1 07:39:09 rpmi: python3-module-shellingham-1.5.4-alt1 sisyphus+332574.100.1.1 1698135363 installed <13>Aug 1 07:39:09 rpmi: python3-module-typing_extensions-4.16.0-alt1 sisyphus+426470.2600.5.1 1785153849 installed <13>Aug 1 07:39:09 rpmi: python3-module-uc-micro-py-2.0.0-alt1 sisyphus+411114.100.1.1 1773327270 installed <13>Aug 1 07:39:09 rpmi: python3-module-linkify-it-py-2.1.0-alt1.1 sisyphus+413476.100.1.1 1774817789 installed <13>Aug 1 07:39:09 rpmi: python3-module-mdurl-0.1.2-alt1 sisyphus+318894.1000.3.1 1682420700 installed <13>Aug 1 07:39:09 rpmi: python3-module-markdown-it-4.0.0-alt1 sisyphus+394327.100.1.1 1757330325 installed <13>Aug 1 07:39:09 rpmi: python3-module-rich-15.0.0-alt1 sisyphus+415092.100.2.1 1776162196 installed <13>Aug 1 07:39:09 rpmi: python3-module-jaraco.context-6.1.2-alt1 sisyphus+412384.100.1.1 1774283927 installed <13>Aug 1 07:39:09 rpmi: python3-module-iniconfig-2.3.0-alt1 sisyphus+397749.100.2.1 1761040670 installed <13>Aug 1 07:39:09 rpmi: python3-module-annotated_doc-0.0.5-alt1 sisyphus+427370.300.1.1 1785267228 installed <13>Aug 1 07:39:09 rpmi: python3-module-typer-0.27.0-alt1 sisyphus+426477.440.2.1 1784895769 installed <13>Aug 1 07:39:09 rpmi: python3-module-typer-slim-0.27.0-alt1 sisyphus+426477.440.2.1 1784895769 installed <13>Aug 1 07:39:09 rpmi: python3-module-jaraco.text-4.2.0-alt1 sisyphus+408107.100.3.1 1771429608 installed <13>Aug 1 07:39:09 rpmi: python3-module-pkg-resources-1:80.10.2-alt2.1 sisyphus+413485.1000.2.3 1774838477 installed <13>Aug 1 07:39:09 rpmi: libpython3-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:39:10 rpmi: python3-dev-3.14.6-alt1 sisyphus+423624.100.33.1 1784227742 installed <13>Aug 1 07:39:10 rpmi: python3-module-setuptools-1:83.0.0-alt1 sisyphus+424341.100.2.1 1783427124 installed <13>Aug 1 07:39:10 rpmi: python3-module-pbr-7.0.3-alt1 sisyphus+405526.100.1.2 1768828708 installed <13>Aug 1 07:39:10 rpmi: python3-module-pytest-9.0.3-alt1 sisyphus+414567.100.1.1 1775647126 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-metaextract-1.0.9-alt4.nosrc.rpm (w1.gzdio) <13>Aug 1 07:39:11 rpmi: python3-module-pyproject-installer-0.6.0-alt1 sisyphus+424779.100.1.1 1783678406 installed Installing python3-module-metaextract-1.0.9-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpmb-tmp.NW6OpE + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf metaextract-1.0.9 + echo 'Source #0 (metaextract-1.0.9.tar):' Source #0 (metaextract-1.0.9.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/metaextract-1.0.9.tar + cd metaextract-1.0.9 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (metaextract-1.0.9-fix-tests.patch):' Patch #0 (metaextract-1.0.9-fix-tests.patch): + /usr/bin/patch -p1 patching file metaextract/tests/test_metaextract.py + grep -rl distutils.core + xargs sed -i s/distutils.core/setuptools/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpmb-tmp.4t1QbH + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd metaextract-1.0.9 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + /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/metaextract-1.0.9 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/metaextract-1.0.9/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec INFO : pyproject_installer.lib.build_backend : pyproject.toml was not found, using defaults INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: setuptools.build_meta:__legacy__ INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/metaextract-1.0.9/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} /usr/lib/python3/site-packages/setuptools/_distutils/dist.py:288: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() INFO : root : running bdist_wheel WARNING : root : The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() INFO : root : running build INFO : root : running build_py INFO : root : creating build/lib/metaextract INFO : root : copying metaextract/metaextract.py -> build/lib/metaextract INFO : root : copying metaextract/utils.py -> build/lib/metaextract INFO : root : copying metaextract/setup.py -> build/lib/metaextract INFO : root : copying metaextract/cmds.py -> build/lib/metaextract INFO : root : copying metaextract/__init__.py -> build/lib/metaextract INFO : root : installing to build/bdist.linux-i686/wheel INFO : root : running install INFO : root : running install_lib INFO : root : creating build/bdist.linux-i686/wheel INFO : root : creating build/bdist.linux-i686/wheel/metaextract INFO : root : copying build/lib/metaextract/__init__.py -> build/bdist.linux-i686/wheel/./metaextract INFO : root : copying build/lib/metaextract/cmds.py -> build/bdist.linux-i686/wheel/./metaextract INFO : root : copying build/lib/metaextract/setup.py -> build/bdist.linux-i686/wheel/./metaextract INFO : root : copying build/lib/metaextract/utils.py -> build/bdist.linux-i686/wheel/./metaextract INFO : root : copying build/lib/metaextract/metaextract.py -> build/bdist.linux-i686/wheel/./metaextract INFO : root : running install_egg_info INFO : root : running egg_info INFO : root : creating metaextract.egg-info INFO : root : writing metaextract.egg-info/PKG-INFO INFO : root : writing dependency_links to metaextract.egg-info/dependency_links.txt INFO : root : writing entry points to metaextract.egg-info/entry_points.txt INFO : root : writing top-level names to metaextract.egg-info/top_level.txt INFO : root : writing manifest file 'metaextract.egg-info/SOURCES.txt' INFO : root : reading manifest file 'metaextract.egg-info/SOURCES.txt' INFO : root : reading manifest template 'MANIFEST.in' WARNING : root : warning: no previously-included files found matching '.travis.yml' INFO : root : adding license file 'LICENSE' INFO : root : writing manifest file 'metaextract.egg-info/SOURCES.txt' INFO : root : Copying metaextract.egg-info to build/bdist.linux-i686/wheel/./metaextract-1.0.9-py3.14.egg-info INFO : root : running install_scripts INFO : root : creating build/bdist.linux-i686/wheel/metaextract-1.0.9.dist-info/WHEEL INFO : wheel : creating '/usr/src/RPM/BUILD/metaextract-1.0.9/dist/.tmp-09xu5x2i/metaextract-1.0.9-py2.py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it INFO : wheel : adding 'metaextract/__init__.py' INFO : wheel : adding 'metaextract/cmds.py' INFO : wheel : adding 'metaextract/metaextract.py' INFO : wheel : adding 'metaextract/setup.py' INFO : wheel : adding 'metaextract/utils.py' INFO : wheel : adding 'metaextract-1.0.9.dist-info/licenses/LICENSE' INFO : wheel : adding 'metaextract-1.0.9.dist-info/METADATA' INFO : wheel : adding 'metaextract-1.0.9.dist-info/WHEEL' INFO : wheel : adding 'metaextract-1.0.9.dist-info/entry_points.txt' INFO : wheel : adding 'metaextract-1.0.9.dist-info/top_level.txt' INFO : wheel : adding 'metaextract-1.0.9.dist-info/RECORD' INFO : root : removing build/bdist.linux-i686/wheel INFO : pyproject_installer.build_cmd._build : Built wheel: metaextract-1.0.9-py2.py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpmb-tmp.2IgTzQ + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-metaextract-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-metaextract-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd metaextract-1.0.9 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-metaextract-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/metaextract-1.0.9/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: metaextract-1.0.9-py2.py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-metaextract-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-metaextract-buildroot/usr/lib/python3/site-packages DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: metaextract-1.0.9.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: metaextract-1.0.9.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: metaextract-1.0.9.dist-info/top_level.txt DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: metaextract-1.0.9.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Extracting wheel INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts DEBUG : pyproject_installer.lib.scripts : Installing console script: metaextract INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-metaextract-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-metaextract-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-metaextract-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-metaextract-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-metaextract-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-metaextract-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-metaextract-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-metaextract-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/__init__.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/cmds.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/metaextract.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/setup.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-metaextract-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/__init__.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/cmds.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/metaextract.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/setup.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-metaextract-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/__init__.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/cmds.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/metaextract.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/setup.py compile /usr/src/tmp/python3-module-metaextract-buildroot/usr/lib/python3/site-packages/metaextract/utils.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/metaextract/__pycache__/__init__.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/__init__.cpython-314.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/__init__.cpython-314.opt-2.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/__init__.cpython-314.opt-1.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-314.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-314.opt-2.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-314.opt-1.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/metaextract.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/metaextract.cpython-314.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/setup.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/setup.cpython-314.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/utils.cpython-314.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/utils.cpython-314.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpmb-tmp.RB3wnw + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd metaextract-1.0.9 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/metaextract-1.0.9/dist/metaextract-1.0.9-py2.py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/metaextract-1.0.9/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/metaextract-1.0.9/dist/metaextract-1.0.9-py2.py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest'] ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0 -- /usr/src/RPM/BUILD/metaextract-1.0.9/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/metaextract-1.0.9 configfile: setup.cfg collecting ... collected 17 items metaextract/tests/test_metaextract.py::TestMetaExtract::test__extract_to_tempdir_no_file PASSED [ 5%] metaextract/tests/test_metaextract.py::TestMetaExtract::test__extract_to_tempdir_tar_archive PASSED [ 11%] metaextract/tests/test_metaextract.py::TestMetaExtract::test__extract_to_tempdir_zip_archive PASSED [ 17%] metaextract/tests/test_metaextract.py::TestMetaExtract::test__enter_single_subdir_0_dir PASSED [ 23%] metaextract/tests/test_metaextract.py::TestMetaExtract::test__enter_single_subdir_1_dir PASSED [ 29%] metaextract/tests/test_metaextract.py::TestMetaExtract::test__enter_single_subdir_2_dirs PASSED [ 35%] metaextract/tests/test_metaextract.py::TestMetaExtract::test__set_file_encoding_utf8 PASSED [ 41%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_from_archive PASSED [ 47%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_no_setup_py PASSED [ 52%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_simple-expected_data0] FAILED [ 58%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_simple_unicode-expected_data1] FAILED [ 64%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_simple_unicode_and_header-expected_data2] FAILED [ 70%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_full-expected_data3] FAILED [ 76%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[distutils_simple-expected_data4] FAILED [ 82%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[distutils_with_extension-expected_data5] PASSED [ 88%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[pbr_simple-expected_data6] FAILED [ 94%] metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[pyproject-expected_data7] PASSED [100%] =================================== FAILURES =================================== _ TestMetaExtract.test_run_setup_py_from_dir[setuptools_simple-expected_data0] _ self = tmpdir = local('/usr/src/tmp/pytest-of-builder/pytest-0/test_run_setup_py_from_dir_set0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf64c4378> fixture_name = 'setuptools_simple' expected_data = {'data_files': None, 'entry_points': None, 'extras_require': {'extra1': ['pkg1']}, 'has_ext_modules': None, ...} @pytest.mark.parametrize("fixture_name,expected_data", [ ( "setuptools_simple", { 'entry_points': None, 'extras_require': {'extra1': ['pkg1']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode", { 'entry_points': None, 'extras_require': { 'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode_and_header", { 'entry_points': None, 'extras_require': {}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_full", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*', 'has_ext_modules': None, 'scripts': ['scripts/testpkg'], 'data_files': [ ['man/man1', ['doc/testpkg.1']], ['share/doc/testpgk', ['AUTHORS', 'LICENSE', 'README.rst']], ['share/doc/testpkg/html', ['doc/testpkg.html']], ], 'entry_points': { 'console_scripts': ['testpkgp1=testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ( "distutils_simple", {'data_files': None, 'has_ext_modules': None, 'scripts': None, 'version': '1.0'} ), ( "distutils_with_extension", {'data_files': None, 'has_ext_modules': True, 'scripts': None} ), ( "pbr_simple", {'entry_points': {'console_scripts': ['entry2 = pkg1:main']}, 'extras_require': {}, 'install_requires': [], 'python_requires': None, 'setup_requires': ['pbr>=1.0'], 'has_ext_modules': None, 'scripts': None, 'data_files': None, 'version': '1'} ), ( "pyproject", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '!=3.0.*,!=3.1.*,!=3.2.*,>=2.6', 'entry_points': { 'console_scripts': ['testpkgp1 = testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc\n', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ]) def test_run_setup_py_from_dir(self, tmpdir, monkeypatch, fixture_name, expected_data): if fixture_name == "pyproject" and sys.version_info < (3, 0): pytest.skip("pyproject.toml is not supported for python2") # the given fixture name is the directory name in the tests/fixtures # dir. copy that fixtures dir to a temp dir and run _setup_py_from_dir # PBR_VERSION is needed for the PBR tests because the fixture are not # containing a git repo monkeypatch.setenv("PBR_VERSION", "1") fixture_dir = os.path.join(fixtures_base_dir, fixture_name) dest_dir = os.path.join(tmpdir.strpath, fixture_name) shutil.copytree(fixture_dir, dest_dir) data = meta_utils._setup_py_run_from_dir(dest_dir, sys.executable) for expected_key, expected_val in expected_data.items(): assert expected_key in data['data'] > assert data['data'][expected_key] == expected_val E assert False == None metaextract/tests/test_metaextract.py:251: AssertionError _ TestMetaExtract.test_run_setup_py_from_dir[setuptools_simple_unicode-expected_data1] _ self = tmpdir = local('/usr/src/tmp/pytest-of-builder/pytest-0/test_run_setup_py_from_dir_set1') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf654a8f0> fixture_name = 'setuptools_simple_unicode' expected_data = {'data_files': None, 'entry_points': None, 'extras_require': {'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']}, 'has_ext_modules': None, ...} @pytest.mark.parametrize("fixture_name,expected_data", [ ( "setuptools_simple", { 'entry_points': None, 'extras_require': {'extra1': ['pkg1']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode", { 'entry_points': None, 'extras_require': { 'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode_and_header", { 'entry_points': None, 'extras_require': {}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_full", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*', 'has_ext_modules': None, 'scripts': ['scripts/testpkg'], 'data_files': [ ['man/man1', ['doc/testpkg.1']], ['share/doc/testpgk', ['AUTHORS', 'LICENSE', 'README.rst']], ['share/doc/testpkg/html', ['doc/testpkg.html']], ], 'entry_points': { 'console_scripts': ['testpkgp1=testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ( "distutils_simple", {'data_files': None, 'has_ext_modules': None, 'scripts': None, 'version': '1.0'} ), ( "distutils_with_extension", {'data_files': None, 'has_ext_modules': True, 'scripts': None} ), ( "pbr_simple", {'entry_points': {'console_scripts': ['entry2 = pkg1:main']}, 'extras_require': {}, 'install_requires': [], 'python_requires': None, 'setup_requires': ['pbr>=1.0'], 'has_ext_modules': None, 'scripts': None, 'data_files': None, 'version': '1'} ), ( "pyproject", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '!=3.0.*,!=3.1.*,!=3.2.*,>=2.6', 'entry_points': { 'console_scripts': ['testpkgp1 = testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc\n', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ]) def test_run_setup_py_from_dir(self, tmpdir, monkeypatch, fixture_name, expected_data): if fixture_name == "pyproject" and sys.version_info < (3, 0): pytest.skip("pyproject.toml is not supported for python2") # the given fixture name is the directory name in the tests/fixtures # dir. copy that fixtures dir to a temp dir and run _setup_py_from_dir # PBR_VERSION is needed for the PBR tests because the fixture are not # containing a git repo monkeypatch.setenv("PBR_VERSION", "1") fixture_dir = os.path.join(fixtures_base_dir, fixture_name) dest_dir = os.path.join(tmpdir.strpath, fixture_name) shutil.copytree(fixture_dir, dest_dir) data = meta_utils._setup_py_run_from_dir(dest_dir, sys.executable) for expected_key, expected_val in expected_data.items(): assert expected_key in data['data'] > assert data['data'][expected_key] == expected_val E assert False == None metaextract/tests/test_metaextract.py:251: AssertionError _ TestMetaExtract.test_run_setup_py_from_dir[setuptools_simple_unicode_and_header-expected_data2] _ self = tmpdir = local('/usr/src/tmp/pytest-of-builder/pytest-0/test_run_setup_py_from_dir_set2') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf64ac490> fixture_name = 'setuptools_simple_unicode_and_header' expected_data = {'data_files': None, 'entry_points': None, 'extras_require': {}, 'has_ext_modules': None, ...} @pytest.mark.parametrize("fixture_name,expected_data", [ ( "setuptools_simple", { 'entry_points': None, 'extras_require': {'extra1': ['pkg1']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode", { 'entry_points': None, 'extras_require': { 'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode_and_header", { 'entry_points': None, 'extras_require': {}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_full", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*', 'has_ext_modules': None, 'scripts': ['scripts/testpkg'], 'data_files': [ ['man/man1', ['doc/testpkg.1']], ['share/doc/testpgk', ['AUTHORS', 'LICENSE', 'README.rst']], ['share/doc/testpkg/html', ['doc/testpkg.html']], ], 'entry_points': { 'console_scripts': ['testpkgp1=testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ( "distutils_simple", {'data_files': None, 'has_ext_modules': None, 'scripts': None, 'version': '1.0'} ), ( "distutils_with_extension", {'data_files': None, 'has_ext_modules': True, 'scripts': None} ), ( "pbr_simple", {'entry_points': {'console_scripts': ['entry2 = pkg1:main']}, 'extras_require': {}, 'install_requires': [], 'python_requires': None, 'setup_requires': ['pbr>=1.0'], 'has_ext_modules': None, 'scripts': None, 'data_files': None, 'version': '1'} ), ( "pyproject", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '!=3.0.*,!=3.1.*,!=3.2.*,>=2.6', 'entry_points': { 'console_scripts': ['testpkgp1 = testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc\n', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ]) def test_run_setup_py_from_dir(self, tmpdir, monkeypatch, fixture_name, expected_data): if fixture_name == "pyproject" and sys.version_info < (3, 0): pytest.skip("pyproject.toml is not supported for python2") # the given fixture name is the directory name in the tests/fixtures # dir. copy that fixtures dir to a temp dir and run _setup_py_from_dir # PBR_VERSION is needed for the PBR tests because the fixture are not # containing a git repo monkeypatch.setenv("PBR_VERSION", "1") fixture_dir = os.path.join(fixtures_base_dir, fixture_name) dest_dir = os.path.join(tmpdir.strpath, fixture_name) shutil.copytree(fixture_dir, dest_dir) data = meta_utils._setup_py_run_from_dir(dest_dir, sys.executable) for expected_key, expected_val in expected_data.items(): assert expected_key in data['data'] > assert data['data'][expected_key] == expected_val E assert False == None metaextract/tests/test_metaextract.py:251: AssertionError __ TestMetaExtract.test_run_setup_py_from_dir[setuptools_full-expected_data3] __ self = tmpdir = local('/usr/src/tmp/pytest-of-builder/pytest-0/test_run_setup_py_from_dir_set3') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf64b9750> fixture_name = 'setuptools_full' expected_data = {'classifiers': ['Intended Audience :: Developers'], 'data_files': [['man/man1', ['doc/testpkg.1']], ['share/doc/testp...', ['doc/testpkg.html']]], 'description': 'desc', 'entry_points': {'console_scripts': ['testpkgp1=testpkg:main']}, ...} @pytest.mark.parametrize("fixture_name,expected_data", [ ( "setuptools_simple", { 'entry_points': None, 'extras_require': {'extra1': ['pkg1']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode", { 'entry_points': None, 'extras_require': { 'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode_and_header", { 'entry_points': None, 'extras_require': {}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_full", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*', 'has_ext_modules': None, 'scripts': ['scripts/testpkg'], 'data_files': [ ['man/man1', ['doc/testpkg.1']], ['share/doc/testpgk', ['AUTHORS', 'LICENSE', 'README.rst']], ['share/doc/testpkg/html', ['doc/testpkg.html']], ], 'entry_points': { 'console_scripts': ['testpkgp1=testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ( "distutils_simple", {'data_files': None, 'has_ext_modules': None, 'scripts': None, 'version': '1.0'} ), ( "distutils_with_extension", {'data_files': None, 'has_ext_modules': True, 'scripts': None} ), ( "pbr_simple", {'entry_points': {'console_scripts': ['entry2 = pkg1:main']}, 'extras_require': {}, 'install_requires': [], 'python_requires': None, 'setup_requires': ['pbr>=1.0'], 'has_ext_modules': None, 'scripts': None, 'data_files': None, 'version': '1'} ), ( "pyproject", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '!=3.0.*,!=3.1.*,!=3.2.*,>=2.6', 'entry_points': { 'console_scripts': ['testpkgp1 = testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc\n', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ]) def test_run_setup_py_from_dir(self, tmpdir, monkeypatch, fixture_name, expected_data): if fixture_name == "pyproject" and sys.version_info < (3, 0): pytest.skip("pyproject.toml is not supported for python2") # the given fixture name is the directory name in the tests/fixtures # dir. copy that fixtures dir to a temp dir and run _setup_py_from_dir # PBR_VERSION is needed for the PBR tests because the fixture are not # containing a git repo monkeypatch.setenv("PBR_VERSION", "1") fixture_dir = os.path.join(fixtures_base_dir, fixture_name) dest_dir = os.path.join(tmpdir.strpath, fixture_name) shutil.copytree(fixture_dir, dest_dir) data = meta_utils._setup_py_run_from_dir(dest_dir, sys.executable) for expected_key, expected_val in expected_data.items(): assert expected_key in data['data'] > assert data['data'][expected_key] == expected_val E assert False == None metaextract/tests/test_metaextract.py:251: AssertionError _ TestMetaExtract.test_run_setup_py_from_dir[distutils_simple-expected_data4] __ self = tmpdir = local('/usr/src/tmp/pytest-of-builder/pytest-0/test_run_setup_py_from_dir_dis0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf64c61e0> fixture_name = 'distutils_simple' expected_data = {'data_files': None, 'has_ext_modules': None, 'scripts': None, 'version': '1.0'} @pytest.mark.parametrize("fixture_name,expected_data", [ ( "setuptools_simple", { 'entry_points': None, 'extras_require': {'extra1': ['pkg1']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode", { 'entry_points': None, 'extras_require': { 'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode_and_header", { 'entry_points': None, 'extras_require': {}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_full", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*', 'has_ext_modules': None, 'scripts': ['scripts/testpkg'], 'data_files': [ ['man/man1', ['doc/testpkg.1']], ['share/doc/testpgk', ['AUTHORS', 'LICENSE', 'README.rst']], ['share/doc/testpkg/html', ['doc/testpkg.html']], ], 'entry_points': { 'console_scripts': ['testpkgp1=testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ( "distutils_simple", {'data_files': None, 'has_ext_modules': None, 'scripts': None, 'version': '1.0'} ), ( "distutils_with_extension", {'data_files': None, 'has_ext_modules': True, 'scripts': None} ), ( "pbr_simple", {'entry_points': {'console_scripts': ['entry2 = pkg1:main']}, 'extras_require': {}, 'install_requires': [], 'python_requires': None, 'setup_requires': ['pbr>=1.0'], 'has_ext_modules': None, 'scripts': None, 'data_files': None, 'version': '1'} ), ( "pyproject", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '!=3.0.*,!=3.1.*,!=3.2.*,>=2.6', 'entry_points': { 'console_scripts': ['testpkgp1 = testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc\n', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ]) def test_run_setup_py_from_dir(self, tmpdir, monkeypatch, fixture_name, expected_data): if fixture_name == "pyproject" and sys.version_info < (3, 0): pytest.skip("pyproject.toml is not supported for python2") # the given fixture name is the directory name in the tests/fixtures # dir. copy that fixtures dir to a temp dir and run _setup_py_from_dir # PBR_VERSION is needed for the PBR tests because the fixture are not # containing a git repo monkeypatch.setenv("PBR_VERSION", "1") fixture_dir = os.path.join(fixtures_base_dir, fixture_name) dest_dir = os.path.join(tmpdir.strpath, fixture_name) shutil.copytree(fixture_dir, dest_dir) data = meta_utils._setup_py_run_from_dir(dest_dir, sys.executable) for expected_key, expected_val in expected_data.items(): assert expected_key in data['data'] > assert data['data'][expected_key] == expected_val E assert False == None metaextract/tests/test_metaextract.py:251: AssertionError ____ TestMetaExtract.test_run_setup_py_from_dir[pbr_simple-expected_data6] _____ self = tmpdir = local('/usr/src/tmp/pytest-of-builder/pytest-0/test_run_setup_py_from_dir_pbr0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf648bc68> fixture_name = 'pbr_simple' expected_data = {'data_files': None, 'entry_points': {'console_scripts': ['entry2 = pkg1:main']}, 'extras_require': {}, 'has_ext_modules': None, ...} @pytest.mark.parametrize("fixture_name,expected_data", [ ( "setuptools_simple", { 'entry_points': None, 'extras_require': {'extra1': ['pkg1']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode", { 'entry_points': None, 'extras_require': { 'extra1': ['pkg1'], 'extra2': ['pkg2', 'pkg3']}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_simple_unicode_and_header", { 'entry_points': None, 'extras_require': {}, 'install_requires': ['bar', 'foo'], 'python_requires': None, 'setup_requires': [], 'has_ext_modules': None, 'scripts': None, 'data_files': None} ), ( "setuptools_full", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*', 'has_ext_modules': None, 'scripts': ['scripts/testpkg'], 'data_files': [ ['man/man1', ['doc/testpkg.1']], ['share/doc/testpgk', ['AUTHORS', 'LICENSE', 'README.rst']], ['share/doc/testpkg/html', ['doc/testpkg.html']], ], 'entry_points': { 'console_scripts': ['testpkgp1=testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ( "distutils_simple", {'data_files': None, 'has_ext_modules': None, 'scripts': None, 'version': '1.0'} ), ( "distutils_with_extension", {'data_files': None, 'has_ext_modules': True, 'scripts': None} ), ( "pbr_simple", {'entry_points': {'console_scripts': ['entry2 = pkg1:main']}, 'extras_require': {}, 'install_requires': [], 'python_requires': None, 'setup_requires': ['pbr>=1.0'], 'has_ext_modules': None, 'scripts': None, 'data_files': None, 'version': '1'} ), ( "pyproject", { 'install_requires': ['bar', 'foo'], 'setup_requires': [], 'python_requires': '!=3.0.*,!=3.1.*,!=3.2.*,>=2.6', 'entry_points': { 'console_scripts': ['testpkgp1 = testpkg:main'] }, 'extras_require': { 'extra1': ['ex11', 'ex12'], 'extra2': ['ex21>=3.4', 'ex22!=0.15.0,>=0.11.0'] }, 'version': '1.2.3', 'name': 'testpkg', 'fullname': 'testpkg-1.2.3', 'description': 'desc', 'long_description': 'long desc\n', 'classifiers': ['Intended Audience :: Developers'], 'license': 'Apache-2.0', } ), ]) def test_run_setup_py_from_dir(self, tmpdir, monkeypatch, fixture_name, expected_data): if fixture_name == "pyproject" and sys.version_info < (3, 0): pytest.skip("pyproject.toml is not supported for python2") # the given fixture name is the directory name in the tests/fixtures # dir. copy that fixtures dir to a temp dir and run _setup_py_from_dir # PBR_VERSION is needed for the PBR tests because the fixture are not # containing a git repo monkeypatch.setenv("PBR_VERSION", "1") fixture_dir = os.path.join(fixtures_base_dir, fixture_name) dest_dir = os.path.join(tmpdir.strpath, fixture_name) shutil.copytree(fixture_dir, dest_dir) data = meta_utils._setup_py_run_from_dir(dest_dir, sys.executable) for expected_key, expected_val in expected_data.items(): assert expected_key in data['data'] > assert data['data'][expected_key] == expected_val E assert False == None metaextract/tests/test_metaextract.py:251: AssertionError =========================== short test summary info ============================ FAILED metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_simple-expected_data0] FAILED metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_simple_unicode-expected_data1] FAILED metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_simple_unicode_and_header-expected_data2] FAILED metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[setuptools_full-expected_data3] FAILED metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[distutils_simple-expected_data4] FAILED metaextract/tests/test_metaextract.py::TestMetaExtract::test_run_setup_py_from_dir[pbr_simple-expected_data6] ========================= 6 failed, 11 passed in 1.76s ========================= INFO : Command's result: FAILURE INFO : Command's error: Command '['python3', '-m', 'pytest']' returned non-zero exit status 1. error: Bad exit status from /usr/src/tmp/rpmb-tmp.RB3wnw (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpmb-tmp.RB3wnw (%check) Command exited with non-zero status 1 2.89user 0.31system 0:03.18elapsed 100%CPU (0avgtext+0avgdata 35044maxresident)k 0inputs+0outputs (0major+143770minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-metaextract-1.0.9-alt4.src.rpm' failed. Command exited with non-zero status 1 3.14user 0.92system 0:10.18elapsed 39%CPU (0avgtext+0avgdata 143760maxresident)k 208inputs+0outputs (0major+322230minor)pagefaults 0swaps