D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/python-pytest-httpbin-2.1.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Qjsikv Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aDAbz0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + rm -rf pytest-httpbin-2.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pytest-httpbin-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-httpbin-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZWc72B + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + cd pytest-httpbin-2.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + true + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' pyproject.toml + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml + sed -i -e 's/~=/>=/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-buildrequires -x test Handling setuptools>=61.2 from build-system.requires Requirement satisfied: setuptools>=61.2 (installed: setuptools 78.1.0) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info creating pytest_httpbin.egg-info writing pytest_httpbin.egg-info/PKG-INFO writing dependency_links to pytest_httpbin.egg-info/dependency_links.txt writing entry points to pytest_httpbin.egg-info/entry_points.txt writing requirements to pytest_httpbin.egg-info/requires.txt writing top-level names to pytest_httpbin.egg-info/top_level.txt writing manifest file 'pytest_httpbin.egg-info/SOURCES.txt' reading manifest file 'pytest_httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_httpbin.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) running dist_info writing pytest_httpbin.egg-info/PKG-INFO writing dependency_links to pytest_httpbin.egg-info/dependency_links.txt writing entry points to pytest_httpbin.egg-info/entry_points.txt writing requirements to pytest_httpbin.egg-info/requires.txt writing top-level names to pytest_httpbin.egg-info/top_level.txt reading manifest file 'pytest_httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_httpbin.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/pytest_httpbin-2.1.0.dist-info' Handling httpbin from hook generated metadata: Requires-Dist (pytest-httpbin) Requirement satisfied: httpbin (installed: httpbin 0.10.2) Handling requests; extra == "test" from hook generated metadata: Requires-Dist (pytest-httpbin) Requirement satisfied: requests; extra == "test" (installed: requests 2.32.3) Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (pytest-httpbin) Requirement satisfied: pytest; extra == "test" (installed: pytest 8.3.5) + cat /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-buildrequires + rm -rfv pytest_httpbin-2.1.0.dist-info/ removed 'pytest_httpbin-2.1.0.dist-info/entry_points.txt' removed 'pytest_httpbin-2.1.0.dist-info/top_level.txt' removed 'pytest_httpbin-2.1.0.dist-info/METADATA' removed 'pytest_httpbin-2.1.0.dist-info/licenses/LICENSE' removed directory 'pytest_httpbin-2.1.0.dist-info/licenses' removed directory 'pytest_httpbin-2.1.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zJd2TE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-httpbin-2.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info creating /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info writing /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/dependency_links.txt writing entry points to /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/entry_points.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-modern-metadata-rwh00_tt/pytest_httpbin-2.1.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pytest-httpbin Building wheel for pytest-httpbin (pyproject.toml): started Running command Building wheel for pytest-httpbin (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib/pytest_httpbin copying pytest_httpbin/version.py -> build/lib/pytest_httpbin copying pytest_httpbin/certs.py -> build/lib/pytest_httpbin copying pytest_httpbin/serve.py -> build/lib/pytest_httpbin copying pytest_httpbin/__init__.py -> build/lib/pytest_httpbin copying pytest_httpbin/plugin.py -> build/lib/pytest_httpbin running egg_info writing pytest_httpbin.egg-info/PKG-INFO writing dependency_links to pytest_httpbin.egg-info/dependency_links.txt writing entry points to pytest_httpbin.egg-info/entry_points.txt writing requirements to pytest_httpbin.egg-info/requires.txt writing top-level names to pytest_httpbin.egg-info/top_level.txt reading manifest file 'pytest_httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_httpbin.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'pytest_httpbin.certs' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'pytest_httpbin.certs' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'pytest_httpbin.certs' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'pytest_httpbin.certs' to be distributed and are already explicitly excluding 'pytest_httpbin.certs' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/pytest_httpbin/certs copying pytest_httpbin/certs/README.md -> build/lib/pytest_httpbin/certs copying pytest_httpbin/certs/client.pem -> build/lib/pytest_httpbin/certs copying pytest_httpbin/certs/server.key -> build/lib/pytest_httpbin/certs copying pytest_httpbin/certs/server.pem -> build/lib/pytest_httpbin/certs installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pytest_httpbin copying build/lib/pytest_httpbin/version.py -> build/bdist.linux-x86_64/wheel/./pytest_httpbin copying build/lib/pytest_httpbin/certs.py -> build/bdist.linux-x86_64/wheel/./pytest_httpbin copying build/lib/pytest_httpbin/serve.py -> build/bdist.linux-x86_64/wheel/./pytest_httpbin creating build/bdist.linux-x86_64/wheel/pytest_httpbin/certs copying build/lib/pytest_httpbin/certs/server.key -> build/bdist.linux-x86_64/wheel/./pytest_httpbin/certs copying build/lib/pytest_httpbin/certs/server.pem -> build/bdist.linux-x86_64/wheel/./pytest_httpbin/certs copying build/lib/pytest_httpbin/certs/client.pem -> build/bdist.linux-x86_64/wheel/./pytest_httpbin/certs copying build/lib/pytest_httpbin/certs/README.md -> build/bdist.linux-x86_64/wheel/./pytest_httpbin/certs copying build/lib/pytest_httpbin/__init__.py -> build/bdist.linux-x86_64/wheel/./pytest_httpbin copying build/lib/pytest_httpbin/plugin.py -> build/bdist.linux-x86_64/wheel/./pytest_httpbin running install_egg_info Copying pytest_httpbin.egg-info to build/bdist.linux-x86_64/wheel/./pytest_httpbin-2.1.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pytest_httpbin-2.1.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir/pip-wheel-evu6rjqb/.tmp-y4ch66iq/pytest_httpbin-2.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pytest_httpbin/__init__.py' adding 'pytest_httpbin/certs.py' adding 'pytest_httpbin/plugin.py' adding 'pytest_httpbin/serve.py' adding 'pytest_httpbin/version.py' adding 'pytest_httpbin/certs/README.md' adding 'pytest_httpbin/certs/client.pem' adding 'pytest_httpbin/certs/server.key' adding 'pytest_httpbin/certs/server.pem' adding 'pytest_httpbin-2.1.0.dist-info/licenses/LICENSE' adding 'pytest_httpbin-2.1.0.dist-info/METADATA' adding 'pytest_httpbin-2.1.0.dist-info/WHEEL' adding 'pytest_httpbin-2.1.0.dist-info/entry_points.txt' adding 'pytest_httpbin-2.1.0.dist-info/top_level.txt' adding 'pytest_httpbin-2.1.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for pytest-httpbin (pyproject.toml): finished with status 'done' Created wheel for pytest-httpbin: filename=pytest_httpbin-2.1.0-py3-none-any.whl size=8337 sha256=b7fd50ea98c46a52f1b45852bc6411612c07627847390833c90c0460fcc2afd9 Stored in directory: /home/pterjan/.cache/pip/wheels/db/b7/67/427ec5b3b93c780ca2c7a962c0079778c4d602aa88b0c8954d Successfully built pytest-httpbin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L2WPVx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-httpbin-2.1.0 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/pyproject-wheeldir/pytest_httpbin-2.1.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pytest_httpbin==2.1.0 + '[' -z pytest_httpbin==2.1.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/pyproject-wheeldir pytest_httpbin==2.1.0 Using pip 25.0.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pytest_httpbin-2.1.0-py3-none-any.whl Installing collected packages: pytest_httpbin Successfully installed pytest_httpbin-2.1.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/pytest_httpbin-2.1.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pytest_httpbin-2.1.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pytest_httpbin-2.1.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pytest_httpbin-2.1.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pytest_httpbin-2.1.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pytest_httpbin-2.1.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pytest_httpbin-2.1.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/python-pytest-httpbin-2.1.0-2.mga10.noarch-pyproject-record --prefix /usr pytest_httpbin + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xFFJfR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-httpbin-2.1.0 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + PATH=/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=16 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0 configfile: pyproject.toml plugins: httpbin-2.1.0 collected 23 items tests/test_httpbin.py ............... [ 65%] tests/test_server.py ........ [100%] ============================== 23 passed in 3.25s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pytest-httpbin-2.1.0-2.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vGZCui + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + cd pytest-httpbin-2.1.0 + DOCDIR=/home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/share/doc/python3-pytest-httpbin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/share/doc/python3-pytest-httpbin + cp -pr /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/DESCRIPTION.rst /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/share/doc/python3-pytest-httpbin + cp -pr /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/pytest-httpbin-2.1.0/README.md /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT/usr/share/doc/python3-pytest-httpbin + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pytest-httpbin = 2.1.0-2.mga10 python3-pytest-httpbin = 2.1.0-2.mga10 python3.13-pytest-httpbin = 2.1.0-2.mga10 python3.13dist(pytest-httpbin) = 2.1 python3dist(pytest-httpbin) = 2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.13 python3.13dist(httpbin) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/python3-pytest-httpbin-2.1.0-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AnVujT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/python-pytest-httpbin-2.1.0-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!