<86>May 27 03:13:34 userdel[743742]: delete user 'rooter' <86>May 27 03:13:34 userdel[743742]: removed group 'rooter' owned by 'rooter' <86>May 27 03:13:34 userdel[743742]: removed shadow group 'rooter' owned by 'rooter' <86>May 27 03:13:34 groupadd[743795]: group added to /etc/group: name=rooter, GID=1811 <86>May 27 03:13:34 groupadd[743795]: group added to /etc/gshadow: name=rooter <86>May 27 03:13:34 groupadd[743795]: new group: name=rooter, GID=1811 <86>May 27 03:13:34 useradd[743838]: new user: name=rooter, UID=1811, GID=1811, home=/root, shell=/bin/bash, from=none <86>May 27 03:13:34 userdel[743888]: delete user 'builder' <86>May 27 03:13:34 userdel[743888]: removed group 'builder' owned by 'builder' <86>May 27 03:13:34 userdel[743888]: removed shadow group 'builder' owned by 'builder' <86>May 27 03:13:34 groupadd[743933]: group added to /etc/group: name=builder, GID=1812 <86>May 27 03:13:34 groupadd[743933]: group added to /etc/gshadow: name=builder <86>May 27 03:13:34 groupadd[743933]: new group: name=builder, GID=1812 <86>May 27 03:13:34 useradd[743964]: new user: name=builder, UID=1812, GID=1812, home=/usr/src, shell=/bin/bash, from=none <13>May 27 03:13:37 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>May 27 03:13:37 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>May 27 03:13:37 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>May 27 03:13:37 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>May 27 03:13:37 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 27 03:13:37 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>May 27 03:13:37 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 27 03:13:37 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 27 03:13:37 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>May 27 03:13:37 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>May 27 03:13:37 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 27 03:13:37 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 27 03:13:37 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 27 03:13:38 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>May 27 03:13:38 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232871 installed <13>May 27 03:13:38 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>May 27 03:13:38 rpmi: python3-module-pyproject-installer-0.5.3-alt1 sisyphus+344989.100.3.1 1713974805 installed <13>May 27 03:13:38 rpmi: rpm-macros-pyproject-0.0.5-alt1 sisyphus+344989.500.3.1 1713974843 installed <13>May 27 03:13:38 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>May 27 03:13:38 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>May 27 03:13:38 rpmi: rpm-build-pyproject-0.0.5-alt1 sisyphus+344989.500.3.1 1713974843 installed <13>May 27 03:13:40 rpmi: python3-module-packaging-24.0-alt1 sisyphus+342487.100.2.1 1710407438 installed <13>May 27 03:13:40 rpmi: python3-module-typing_extensions-4.12.0-alt1 sisyphus+349048.100.1.1 1716541452 installed <13>May 27 03:13:40 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>May 27 03:13:40 rpmi: python3-module-zipp-3.18.2-alt1 sisyphus+348194.200.2.1 1715938896 installed <13>May 27 03:13:40 rpmi: python3-module-trove-classifiers-2024.5.22-alt1 sisyphus+349069.100.1.1 1716557212 installed <13>May 27 03:13:40 rpmi: python3-module-pathspec-0.12.1-alt1 sisyphus+341971.100.1.1 1709553025 installed <13>May 27 03:13:40 rpmi: python3-module-natsort-8.4.0-alt2 sisyphus+339213.100.1.1 1706453992 installed <13>May 27 03:13:40 rpmi: python3-module-domdf-python-tools-3.8.1-alt1 sisyphus+348558.100.1.1 1716273081 installed <13>May 27 03:13:40 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>May 27 03:13:41 rpmi: python3-module-pytest-8.0.2-alt1 sisyphus+341429.100.2.1 1709025013 installed <13>May 27 03:13:41 rpmi: python3-module-pytest-datadir-1.5.0-alt1 sisyphus+330926.100.1.1 1696404893 installed <13>May 27 03:13:41 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed <13>May 27 03:13:41 rpmi: python3-module-yaml-6.0.1-alt1.1 sisyphus+333513.45640.73.1 1704640833 installed <13>May 27 03:13:41 rpmi: python3-module-pytest-regressions-2.5.0-alt3 sisyphus+337017.100.1.1 1703225022 installed <13>May 27 03:13:41 rpmi: python3-module-coincidence-0.6.6-alt1 sisyphus+342029.100.1.1 1709628632 installed <13>May 27 03:13:41 rpmi: python3-module-handy-archives-0.2.0-alt1.1 sisyphus+339276.100.1.1 1706530801 installed <13>May 27 03:13:41 rpmi: python3-module-dist-meta-0.8.1-alt1 sisyphus+348565.100.1.1 1716278995 installed <13>May 27 03:13:41 rpmi: python3-module-pytest-randomly-3.15.0-alt1 sisyphus+327307.200.1.1 1692263387 installed <13>May 27 03:13:41 rpmi: python3-module-pytest-timeout-2.3.1-alt1 sisyphus+342480.100.2.1 1710234858 installed <13>May 27 03:13:41 rpmi: python3-module-hatchling-1.24.2-alt1 sisyphus+345612.100.1.1 1713777095 installed <13>May 27 03:13:41 rpmi: python3-module-importlib-metadata-7.1.0-alt1 sisyphus+343253.100.1.1 1711017097 installed <13>May 27 03:13:41 rpmi: python3-module-pkginfo-1.10.0-alt1 sisyphus+347656.300.1.1 1715099667 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-hatch-requirements-txt-0.4.1-alt1.git1aa21b8.nosrc.rpm (w1.gzdio) Installing python3-module-hatch-requirements-txt-0.4.1-alt1.git1aa21b8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98680 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-hatch-requirements-txt-0.4.1 + echo 'Source #0 (python3-module-hatch-requirements-txt-0.4.1.tar):' Source #0 (python3-module-hatch-requirements-txt-0.4.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-hatch-requirements-txt-0.4.1.tar + cd python3-module-hatch-requirements-txt-0.4.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (python3-module-hatch-requirements-txt-0.4.1-alt.patch):' Patch #0 (python3-module-hatch-requirements-txt-0.4.1-alt.patch): + /bin/patch -p1 patching file .github/workflows/conda_ci.yml patching file .github/workflows/flake8.yml patching file .github/workflows/mypy.yml patching file .github/workflows/python_ci.yml patching file .github/workflows/python_ci_linux.yml patching file .github/workflows/python_ci_macos.yml patching file .pre-commit-config.yaml patching file formate.toml patching file repo_helper.yml patching file tests/test_errors.py patching file tox.ini + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show metadata + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify metadata INFO : Building metadata INFO : Building metadata with prepare_metadata_for_build_wheel INFO : Source tree: /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1 INFO : Output dir: /usr/src/tmp/tmpsgcw_g1b + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show check + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify check + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57894 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-hatch-requirements-txt-0.4.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: hatchling.build INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : pyproject_installer.build_cmd._build : Built wheel: hatch_requirements_txt-0.4.1-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.57894 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd python3-module-hatch-requirements-txt-0.4.1 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-hatch-requirements-txt-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: hatch_requirements_txt-0.4.1-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-hatch-requirements-txt-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-hatch-requirements-txt-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: hatch_requirements_txt-0.4.1.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: hatch_requirements_txt-0.4.1.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: hatch_requirements_txt-0.4.1.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-hatch-requirements-txt-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-hatch-requirements-txt-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/lib/python3/site-packages/hatch_requirements_txt/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/lib/python3/site-packages/hatch_requirements_txt/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/lib/python3/site-packages/hatch_requirements_txt/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/hatch_requirements_txt/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/hatch_requirements_txt/__pycache__/__init__.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.57894 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-hatch-requirements-txt-0.4.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest -vra INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/dist/hatch_requirements_txt-0.4.1-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/dist/hatch_requirements_txt-0.4.1-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest', '-vra'] ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.5.0 -- /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1/.run_venv/bin/python3 cachedir: .pytest_cache Using --randomly-seed=476914015 Test session started at 03:13:46 rootdir: /usr/src/RPM/BUILD/python3-module-hatch-requirements-txt-0.4.1 configfile: tox.ini plugins: timeout-2.3.1, randomly-3.15.0, regressions-2.5.0, datadir-1.5.0 timeout: 300.0s timeout method: signal timeout func_only: False collecting ... collected 62 items tests/test_metadata.py::test_build_with_filename[build_sdist] PASSED [ 1%] tests/test_metadata.py::test_not_dynamic_no_explicit_files[build_wheel] PASSED [ 3%] tests/test_metadata.py::test_build_pip_compile_style[build_sdist] PASSED [ 4%] tests/test_metadata.py::test_build_files_in_subdirectory[build_wheel] PASSED [ 6%] tests/test_metadata.py::test_parse_requirements[tuple(b)] PASSED [ 8%] tests/test_metadata.py::test_parse_requirements[iter(c)] PASSED [ 9%] tests/test_metadata.py::test_build_unspecified[build_sdist] PASSED [ 11%] tests/test_metadata.py::test_parse_requirements[tuple(c)] PASSED [ 12%] tests/test_metadata.py::test_optional_dependencies[build_wheel] PASSED [ 14%] tests/test_metadata.py::test_parse_requirements[b] PASSED [ 16%] tests/test_metadata.py::test_parse_requirements[set(b)] PASSED [ 17%] tests/test_metadata.py::test_parse_requirements[iter(a)] PASSED [ 19%] tests/test_metadata.py::test_using_project_deps_and_optional_deps[build_wheel] PASSED [ 20%] tests/test_metadata.py::test_not_dynamic_project_dependencies[build_wheel] PASSED [ 22%] tests/test_metadata.py::test_parse_requirements[set(c)] PASSED [ 24%] tests/test_metadata.py::test_not_dynamic_project_dependencies[build_sdist] PASSED [ 25%] tests/test_metadata.py::test_build_comments[build_wheel] PASSED [ 27%] tests/test_metadata.py::test_parse_requirements[iter(b)] PASSED [ 29%] tests/test_metadata.py::test_optional_dependencies[build_sdist] PASSED [ 30%] tests/test_metadata.py::test_build_unspecified[build_wheel] PASSED [ 32%] tests/test_metadata.py::test_build_comments[build_sdist] PASSED [ 33%] tests/test_metadata.py::test_build_pip_compile_style[build_wheel] PASSED [ 35%] tests/test_metadata.py::test_using_project_deps_and_optional_deps[build_sdist] PASSED [ 37%] tests/test_metadata.py::test_not_dynamic_no_explicit_files[build_sdist] PASSED [ 38%] tests/test_metadata.py::test_build_with_files[build_sdist] PASSED [ 40%] tests/test_metadata.py::test_build_with_filename[build_wheel] PASSED [ 41%] tests/test_metadata.py::test_parse_requirements[a] PASSED [ 43%] tests/test_metadata.py::test_parse_requirements[c] PASSED [ 45%] tests/test_metadata.py::test_parse_requirements[tuple(a)] PASSED [ 46%] tests/test_metadata.py::test_parse_requirements[set(a)] PASSED [ 48%] tests/test_metadata.py::test_build_with_files[build_wheel] PASSED [ 50%] tests/test_metadata.py::test_build_files_in_subdirectory[build_sdist] PASSED [ 51%] tests/test_metadata.py::test_using_project_dependencies[build_wheel] PASSED [ 53%] tests/test_metadata.py::test_using_project_dependencies[build_sdist] PASSED [ 54%] tests/test_errors.py::test_filename_parameter_not_str[build_wheel] PASSED [ 56%] tests/test_errors.py::test_not_in_dynamic_but_files_defined[build_wheel] PASSED [ 58%] tests/test_errors.py::test_optional_already_given[build_sdist] PASSED [ 59%] tests/test_errors.py::test_filename_deprecation[build_wheel] PASSED [ 61%] tests/test_errors.py::test_not_in_dynamic_but_filename_defined[build_wheel] XPASS [ 62%] tests/test_errors.py::test_files_parameter_not_list[build_wheel] PASSED [ 64%] tests/test_errors.py::test_already_given[build_sdist] PASSED [ 66%] tests/test_errors.py::test_filename_and_files[build_sdist] PASSED [ 67%] tests/test_errors.py::test_optional_not_dynamic[build_wheel] PASSED [ 69%] tests/test_errors.py::test_already_given[build_wheel] PASSED [ 70%] tests/test_errors.py::test_missing_invalid_requirements[build_sdist] PASSED [ 72%] tests/test_errors.py::test_not_dynamic_but_filename_defined[build_sdist] XFAIL [ 74%] tests/test_errors.py::test_missing_requirements_txt[build_wheel] PASSED [ 75%] tests/test_errors.py::test_not_dynamic_but_files_defined[build_sdist] XFAIL [ 77%] tests/test_errors.py::test_optional_already_given[build_wheel] PASSED [ 79%] tests/test_errors.py::test_not_dynamic_but_filename_defined[build_wheel] XFAIL [ 80%] tests/test_errors.py::test_missing_invalid_requirements[build_wheel] PASSED [ 82%] tests/test_errors.py::test_not_in_dynamic_but_filename_defined[build_sdist] XPASS [ 83%] tests/test_errors.py::test_missing_requirements_txt[build_sdist] PASSED [ 85%] tests/test_errors.py::test_files_parameter_not_list[build_sdist] PASSED [ 87%] tests/test_errors.py::test_no_files_or_filename_deprecation[build_sdist] PASSED [ 88%] tests/test_errors.py::test_no_files_or_filename_deprecation[build_wheel] PASSED [ 90%] tests/test_errors.py::test_not_in_dynamic_but_files_defined[build_sdist] PASSED [ 91%] tests/test_errors.py::test_filename_deprecation[build_sdist] PASSED [ 93%] tests/test_errors.py::test_filename_and_files[build_wheel] PASSED [ 95%] tests/test_errors.py::test_optional_not_dynamic[build_sdist] PASSED [ 96%] tests/test_errors.py::test_filename_parameter_not_str[build_sdist] PASSED [ 98%] tests/test_errors.py::test_not_dynamic_but_files_defined[build_wheel] XFAIL [100%] ================================== XFAILURES =================================== ______________ test_not_dynamic_but_filename_defined[build_sdist] ______________ tmp_pathplus = PosixPathPlus('/usr/src/tmp/pytest-of-builder/pytest-0/test_not_dynamic_but_filename_0') build_func = @pytest.mark.xfail(hatchling_version >= (1, 22), reason="Metadata hooks no longer called if dynamic not set") @pytest.mark.parametrize("build_func", [build_wheel, build_sdist]) def test_not_dynamic_but_filename_defined(tmp_pathplus: PathPlus, build_func: Callable): dist_dir = tmp_pathplus / "dist" dist_dir.maybe_make() new_pyproject_toml = pyproject_toml.replace('dynamic = ["dependencies"]', '').replace( 'files = ["requirements.txt"]', 'filename = "requirements.txt"' ) (tmp_pathplus / "pyproject.toml").write_clean(new_pyproject_toml) (tmp_pathplus / "requirements.txt").write_lines(["Foo", "bar", "# fizz", "baz>1"]) (tmp_pathplus / "README.md").touch() (tmp_pathplus / "LICENSE").touch() (tmp_pathplus / "demo").maybe_make() (tmp_pathplus / "demo" / "__init__.py").touch() > with in_directory(tmp_pathplus), pytest.raises(ValueError, match=( r"^Cannot specify 'filename' in \[tool.hatch.metadata.hooks.requirements_txt\] " r"when 'dependencies' is not listed in 'project.dynamic'.$" )): E Failed: DID NOT RAISE  tests/test_errors.py:134: Failed _______________ test_not_dynamic_but_files_defined[build_sdist] ________________ tmp_pathplus = PosixPathPlus('/usr/src/tmp/pytest-of-builder/pytest-0/test_not_dynamic_but_files_def0') build_func = @pytest.mark.xfail(hatchling_version >= (1, 22), reason="Metadata hooks no longer called if dynamic not set") @pytest.mark.parametrize("build_func", [build_wheel, build_sdist]) def test_not_dynamic_but_files_defined(tmp_pathplus: PathPlus, build_func: Callable): dist_dir = tmp_pathplus / "dist" dist_dir.maybe_make() (tmp_pathplus / "pyproject.toml").write_clean(pyproject_toml.replace('dynamic = ["dependencies"]', '')) (tmp_pathplus / "requirements.txt").write_lines(["Foo", "bar", "# fizz", "baz>1"]) (tmp_pathplus / "README.md").touch() (tmp_pathplus / "LICENSE").touch() (tmp_pathplus / "demo").maybe_make() (tmp_pathplus / "demo" / "__init__.py").touch() > with in_directory(tmp_pathplus), pytest.raises(ValueError, match=( r"^Cannot specify 'files' in \[tool.hatch.metadata.hooks.requirements_txt\] " r"when 'dependencies' is not listed in 'project.dynamic'.$" )): E Failed: DID NOT RAISE  tests/test_errors.py:88: Failed ______________ test_not_dynamic_but_filename_defined[build_wheel] ______________ tmp_pathplus = PosixPathPlus('/usr/src/tmp/pytest-of-builder/pytest-0/test_not_dynamic_but_filename_1') build_func = @pytest.mark.xfail(hatchling_version >= (1, 22), reason="Metadata hooks no longer called if dynamic not set") @pytest.mark.parametrize("build_func", [build_wheel, build_sdist]) def test_not_dynamic_but_filename_defined(tmp_pathplus: PathPlus, build_func: Callable): dist_dir = tmp_pathplus / "dist" dist_dir.maybe_make() new_pyproject_toml = pyproject_toml.replace('dynamic = ["dependencies"]', '').replace( 'files = ["requirements.txt"]', 'filename = "requirements.txt"' ) (tmp_pathplus / "pyproject.toml").write_clean(new_pyproject_toml) (tmp_pathplus / "requirements.txt").write_lines(["Foo", "bar", "# fizz", "baz>1"]) (tmp_pathplus / "README.md").touch() (tmp_pathplus / "LICENSE").touch() (tmp_pathplus / "demo").maybe_make() (tmp_pathplus / "demo" / "__init__.py").touch() > with in_directory(tmp_pathplus), pytest.raises(ValueError, match=( r"^Cannot specify 'filename' in \[tool.hatch.metadata.hooks.requirements_txt\] " r"when 'dependencies' is not listed in 'project.dynamic'.$" )): E Failed: DID NOT RAISE  tests/test_errors.py:134: Failed _______________ test_not_dynamic_but_files_defined[build_wheel] ________________ tmp_pathplus = PosixPathPlus('/usr/src/tmp/pytest-of-builder/pytest-0/test_not_dynamic_but_files_def1') build_func = @pytest.mark.xfail(hatchling_version >= (1, 22), reason="Metadata hooks no longer called if dynamic not set") @pytest.mark.parametrize("build_func", [build_wheel, build_sdist]) def test_not_dynamic_but_files_defined(tmp_pathplus: PathPlus, build_func: Callable): dist_dir = tmp_pathplus / "dist" dist_dir.maybe_make() (tmp_pathplus / "pyproject.toml").write_clean(pyproject_toml.replace('dynamic = ["dependencies"]', '')) (tmp_pathplus / "requirements.txt").write_lines(["Foo", "bar", "# fizz", "baz>1"]) (tmp_pathplus / "README.md").touch() (tmp_pathplus / "LICENSE").touch() (tmp_pathplus / "demo").maybe_make() (tmp_pathplus / "demo" / "__init__.py").touch() > with in_directory(tmp_pathplus), pytest.raises(ValueError, match=( r"^Cannot specify 'files' in \[tool.hatch.metadata.hooks.requirements_txt\] " r"when 'dependencies' is not listed in 'project.dynamic'.$" )): E Failed: DID NOT RAISE  tests/test_errors.py:88: Failed =================================== XPASSES ==================================== ============================= slowest 25 durations ============================= 0.02s call tests/test_metadata.py::test_build_with_filename[build_sdist] 0.01s call tests/test_metadata.py::test_build_files_in_subdirectory[build_wheel] 0.01s call tests/test_metadata.py::test_build_files_in_subdirectory[build_sdist] 0.01s call tests/test_metadata.py::test_optional_dependencies[build_wheel] 0.01s call tests/test_metadata.py::test_build_with_filename[build_wheel] 0.01s call tests/test_metadata.py::test_using_project_deps_and_optional_deps[build_wheel] 0.01s call tests/test_metadata.py::test_build_comments[build_wheel] 0.01s call tests/test_metadata.py::test_build_with_files[build_wheel] 0.01s call tests/test_metadata.py::test_build_unspecified[build_wheel] 0.01s call tests/test_metadata.py::test_build_pip_compile_style[build_wheel] 0.01s call tests/test_errors.py::test_filename_deprecation[build_wheel] 0.01s call tests/test_metadata.py::test_not_dynamic_no_explicit_files[build_wheel] 0.01s call tests/test_errors.py::test_no_files_or_filename_deprecation[build_wheel] 0.01s call tests/test_metadata.py::test_optional_dependencies[build_sdist] 0.01s call tests/test_errors.py::test_not_dynamic_but_files_defined[build_wheel] 0.01s call tests/test_errors.py::test_not_dynamic_but_filename_defined[build_wheel] 0.01s call tests/test_metadata.py::test_build_unspecified[build_sdist] 0.01s call tests/test_metadata.py::test_build_with_files[build_sdist] (7 durations < 0.005s hidden. Use -vv to show these durations.) =========================== short test summary info ============================ XFAIL tests/test_errors.py::test_not_dynamic_but_filename_defined[build_sdist] - Metadata hooks no longer called if dynamic not set XFAIL tests/test_errors.py::test_not_dynamic_but_files_defined[build_sdist] - Metadata hooks no longer called if dynamic not set XFAIL tests/test_errors.py::test_not_dynamic_but_filename_defined[build_wheel] - Metadata hooks no longer called if dynamic not set XFAIL tests/test_errors.py::test_not_dynamic_but_files_defined[build_wheel] - Metadata hooks no longer called if dynamic not set XPASS tests/test_errors.py::test_not_in_dynamic_but_filename_defined[build_wheel] - Metadata hooks no longer called if dynamic not set XPASS tests/test_errors.py::test_not_in_dynamic_but_filename_defined[build_sdist] - Metadata hooks no longer called if dynamic not set =================== 56 passed, 4 xfailed, 2 xpassed in 0.39s =================== INFO : Command's result: OK + exit 0 Processing files: python3-module-hatch-requirements-txt-0.4.1-alt1.git1aa21b8 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.67822 + umask 022 + /usr/bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-hatch-requirements-txt-0.4.1 + DOCDIR=/usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/share/doc/python3-module-hatch-requirements-txt-0.4.1 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/share/doc/python3-module-hatch-requirements-txt-0.4.1 + /usr/bin/mkdir -p /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/share/doc/python3-module-hatch-requirements-txt-0.4.1 + cp -prL LICENSE README.rst /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/share/doc/python3-module-hatch-requirements-txt-0.4.1 + chmod -R go-w /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/share/doc/python3-module-hatch-requirements-txt-0.4.1 + chmod -R a+rX /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/share/doc/python3-module-hatch-requirements-txt-0.4.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bPkaOQ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.21MYuT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) py3prov: detected potential module:hatch_requirements_txt py3prov: detected potential module:hatch_requirements_txt shebang.req.files: executable script /usr/src/tmp/python3-module-hatch-requirements-txt-buildroot/usr/lib/python3/site-packages/hatch_requirements_txt/__init__.py is not executable Provides: python3(hatch_requirements_txt) Requires: python3-module-hatchling, python3-module-packaging, /usr/lib/python3/site-packages, python3(hatchling.metadata.plugin.interface) < 0, python3(hatchling.plugin) < 0, python3(os) < 0, python3(packaging.requirements) < 0, python3(packaging.utils) < 0, python3(re) < 0, python3(typing) < 0, python3(warnings) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-hatch-requirements-txt-0.4.1-alt1.git1aa21b8.noarch.rpm (w2.lzdio) 2.60user 1.05system 0:05.34elapsed 68%CPU (0avgtext+0avgdata 37660maxresident)k 0inputs+0outputs (0major+194862minor)pagefaults 0swaps 4.78user 3.61system 0:20.47elapsed 41%CPU (0avgtext+0avgdata 132272maxresident)k 3272inputs+0outputs (0major+282993minor)pagefaults 0swaps