<86>Nov 9 07:05:26 userdel[2629179]: delete user 'rooter' <86>Nov 9 07:05:26 userdel[2629179]: removed group 'rooter' owned by 'rooter' <86>Nov 9 07:05:26 userdel[2629179]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 07:05:26 groupadd[2629202]: group added to /etc/group: name=rooter, GID=1805 <86>Nov 9 07:05:26 groupadd[2629202]: group added to /etc/gshadow: name=rooter <86>Nov 9 07:05:26 groupadd[2629202]: new group: name=rooter, GID=1805 <86>Nov 9 07:05:26 useradd[2629212]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash, from=none <86>Nov 9 07:05:26 userdel[2629234]: delete user 'builder' <86>Nov 9 07:05:26 userdel[2629234]: removed group 'builder' owned by 'builder' <86>Nov 9 07:05:26 userdel[2629234]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 07:05:26 groupadd[2629253]: group added to /etc/group: name=builder, GID=1806 <86>Nov 9 07:05:26 groupadd[2629253]: group added to /etc/gshadow: name=builder <86>Nov 9 07:05:26 groupadd[2629253]: new group: name=builder, GID=1806 <86>Nov 9 07:05:26 useradd[2629272]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash, from=none <13>Nov 9 07:05:29 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Nov 9 07:05:29 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Nov 9 07:05:29 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Nov 9 07:05:29 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Nov 9 07:05:29 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 07:05:29 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 9 07:05:29 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 07:05:29 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 07:05:29 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 9 07:05:29 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 9 07:05:29 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 07:05:29 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 07:05:29 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 07:05:29 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 07:05:30 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 07:05:30 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Nov 9 07:05:30 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Nov 9 07:05:30 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Nov 9 07:05:31 rpmi: python3-module-more-itertools-10.5.0-alt1 sisyphus+357221.100.1.1 1725964420 installed <13>Nov 9 07:05:31 rpmi: python3-module-jaraco.functools-4.1.0-alt1 sisyphus+358564.100.1.1 1727528718 installed <13>Nov 9 07:05:31 rpmi: python3-module-packaging-24.1-alt1 sisyphus+350717.100.2.1 1718268656 installed <13>Nov 9 07:05:31 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Nov 9 07:05:31 rpmi: python3-module-wheel-0.44.0-alt1 sisyphus+355530.100.1.1 1724069902 installed <13>Nov 9 07:05:31 rpmi: python3-module-platformdirs-4.3.6-alt1 sisyphus+357787.200.1.1 1726664692 installed <13>Nov 9 07:05:31 rpmi: python3-module-jaraco.context-6.0.1-alt1 sisyphus+357809.300.1.1 1726769204 installed <13>Nov 9 07:05:31 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Nov 9 07:05:31 rpmi: python3-module-autocommand-2.2.2-alt1.1 sisyphus+339714.100.1.1 1706968174 installed <13>Nov 9 07:05:31 rpmi: python3-module-jaraco.text-4.0.0-alt1 sisyphus+353877.400.2.1 1722250727 installed <13>Nov 9 07:05:31 rpmi: python3-module-jaraco.collections-5.1.0-alt1 sisyphus+357809.200.1.1 1726769173 installed <13>Nov 9 07:05:31 rpmi: python3-module-pkg_resources-1:75.3.0-alt1 sisyphus+361874.100.1.1 1730915291 installed <13>Nov 9 07:05:32 rpmi: libpython3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 07:05:32 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Nov 9 07:05:32 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Nov 9 07:05:32 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Nov 9 07:05:33 rpmi: python3-dev-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 07:05:33 rpmi: python3-module-setuptools-1:75.3.0-alt1 sisyphus+361874.100.1.1 1730915291 installed <13>Nov 9 07:05:33 rpmi: python3-module-pbr-6.1.0-alt1 sisyphus+359092.100.1.1 1728119786 installed <13>Nov 9 07:05:33 rpmi: python3-module-pytest-8.3.3-alt1 sisyphus+357310.100.1.1 1726063386 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-metaextract-1.0.9-alt3.nosrc.rpm (w1.gzdio) <13>Nov 9 07:05:34 rpmi: python3-module-pyproject-installer-0.5.4-alt1 sisyphus+352023.140.3.1 1720195943 installed Installing python3-module-metaextract-1.0.9-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.34910 + 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 . + grep -rl distutils.core + xargs sed -i s/distutils.core/setuptools/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.77528 + 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:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) 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:111: 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. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() INFO : root : running build INFO : root : running build_py INFO : root : creating build/lib/metaextract INFO : root : copying metaextract/__init__.py -> build/lib/metaextract INFO : root : copying metaextract/cmds.py -> build/lib/metaextract INFO : root : copying metaextract/setup.py -> build/lib/metaextract INFO : root : copying metaextract/utils.py -> build/lib/metaextract INFO : root : copying metaextract/metaextract.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.12.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-71cx26b4/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/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/rpm-tmp.77528 + 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 INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: metaextract-1.0.9.dist-info/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 : 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-312.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-312.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/cmds.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/metaextract.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/metaextract.cpython-312.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/setup.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/setup.cpython-312.pyc' './usr/lib/python3/site-packages/metaextract/__pycache__/utils.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/metaextract/__pycache__/utils.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.77528 + 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.12.7, pytest-8.3.3, pluggy-1.5.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] PASSED [ 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 0xf7082ca8> 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, 'tests_require': 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, 'tests_require': 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, 'tests_require': 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']], ], 'tests_require': ['testpkg1'], '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, 'tests_require': 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'] E AssertionError: assert 'tests_require' in {'author': None, 'author_email': None, 'classifiers': [], 'contact': 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 0xf7077078> 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, 'tests_require': 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, 'tests_require': 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, 'tests_require': 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']], ], 'tests_require': ['testpkg1'], '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, 'tests_require': 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'] E AssertionError: assert 'tests_require' in {'author': '的å', 'author_email': None, 'classifiers': [], 'contact': '的å', ...} 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 0xf7077b40> 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, 'tests_require': 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, 'tests_require': 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, 'tests_require': 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']], ], 'tests_require': ['testpkg1'], '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, 'tests_require': 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'] E AssertionError: assert 'tests_require' in {'author': '的å', 'author_email': None, 'classifiers': [], 'contact': '的å', ...} 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 0xf70779c0> 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, 'tests_require': 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, 'tests_require': 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, 'tests_require': 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']], ], 'tests_require': ['testpkg1'], '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, 'tests_require': 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'] E AssertionError: assert 'tests_require' in {'author': '的å', 'author_email': None, 'classifiers': ['Intended Audience :: Developers'], 'contact': '的å', ...} 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 0xf6fda228> 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, 'tests_require': 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, 'tests_require': 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, 'tests_require': 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']], ], 'tests_require': ['testpkg1'], '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, 'tests_require': 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'] E AssertionError: assert 'tests_require' in {'author': None, 'author_email': None, 'classifiers': [], 'contact': None, ...} metaextract/tests/test_metaextract.py:251: AssertionError =============================== warnings summary =============================== metaextract/tests/test_metaextract.py::TestMetaExtract::test__extract_to_tempdir_tar_archive metaextract/tests/test_metaextract.py::TestMetaExtract::test_from_archive /usr/src/RPM/BUILD/metaextract-1.0.9/metaextract/utils.py:48: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. f.extractall(tempdir) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== 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[pbr_simple-expected_data6] =================== 5 failed, 12 passed, 2 warnings in 1.42s =================== 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/rpm-tmp.77528 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.77528 (%check) Command exited with non-zero status 1 2.24user 0.65system 0:02.85elapsed 101%CPU (0avgtext+0avgdata 23552maxresident)k 0inputs+0outputs (0major+107549minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-metaextract-1.0.9-alt3.src.rpm' failed. Command exited with non-zero status 1 3.99user 3.26system 0:15.33elapsed 47%CPU (0avgtext+0avgdata 130708maxresident)k 0inputs+0outputs (0major+334812minor)pagefaults 0swaps