>>> py3-pyproject-api: Building community/py3-pyproject-api 1.9.0-r0 (using abuild 3.15.0_rc3-r1) started Sat, 03 May 2025 13:28:08 +0000 >>> py3-pyproject-api: Validating /home/buildozer/aports/community/py3-pyproject-api/APKBUILD... >>> py3-pyproject-api: Analyzing dependencies... >>> py3-pyproject-api: Installing for build: build-base py3-packaging py3-gpep517 py3-hatch-vcs py3-hatchling py3-pytest py3-pytest-cov py3-pytest-mock py3-virtualenv py3-wheel (1/60) Installing libbz2 (1.0.8-r6) (2/60) Installing libffi (3.4.8-r0) (3/60) Installing gdbm (1.24-r0) (4/60) Installing xz-libs (5.8.1-r0) (5/60) Installing mpdecimal (4.0.0-r0) (6/60) Installing libpanelw (6.5_p20250412-r0) (7/60) Installing sqlite-libs (3.49.1-r1) (8/60) Installing python3 (3.12.10-r0) (9/60) Installing python3-pycache-pyc0 (3.12.10-r0) (10/60) Installing pyc (3.12.10-r0) (11/60) Installing py3-parsing (3.2.0-r0) (12/60) Installing py3-parsing-pyc (3.2.0-r0) (13/60) Installing py3-packaging-pyc (25.0-r0) (14/60) Installing python3-pyc (3.12.10-r0) (15/60) Installing py3-packaging (25.0-r0) (16/60) Installing py3-installer (0.7.0-r2) (17/60) Installing py3-installer-pyc (0.7.0-r2) (18/60) Installing py3-gpep517 (16-r0) (19/60) Installing py3-gpep517-pyc (16-r0) (20/60) Installing py3-editables (0.5-r2) (21/60) Installing py3-editables-pyc (0.5-r2) (22/60) Installing py3-pathspec (0.12.1-r2) (23/60) Installing py3-pathspec-pyc (0.12.1-r2) (24/60) Installing py3-pluggy (1.5.0-r0) (25/60) Installing py3-pluggy-pyc (1.5.0-r0) (26/60) Installing py3-trove-classifiers (2025.1.15.22-r0) (27/60) Installing py3-trove-classifiers-pyc (2025.1.15.22-r0) (28/60) Installing py3-hatchling (1.27.0-r0) (29/60) Installing py3-hatchling-pyc (1.27.0-r0) (30/60) Installing py3-setuptools (77.0.3-r0) (31/60) Installing py3-setuptools-pyc (77.0.3-r0) (32/60) Installing py3-setuptools_scm (8.2.0-r0) (33/60) Installing py3-setuptools_scm-pyc (8.2.0-r0) (34/60) Installing py3-hatch-vcs (0.4.0-r2) (35/60) Installing py3-hatch-vcs-pyc (0.4.0-r2) (36/60) Installing py3-iniconfig (2.1.0-r0) (37/60) Installing py3-iniconfig-pyc (2.1.0-r0) (38/60) Installing py3-py (1.11.0-r4) (39/60) Installing py3-py-pyc (1.11.0-r4) (40/60) Installing py3-pytest (8.3.5-r0) (41/60) Installing py3-pytest-pyc (8.3.5-r0) (42/60) Installing py3-coverage (7.6.10-r0) (43/60) Installing py3-coverage-pyc (7.6.10-r0) (44/60) Installing py3-pytest-cov (5.0.0-r0) (45/60) Installing py3-pytest-cov-pyc (5.0.0-r0) (46/60) Installing py3-mock (5.2.0-r0) (47/60) Installing py3-mock-pyc (5.2.0-r0) (48/60) Installing py3-pytest-mock (3.10.0-r3) (49/60) Installing py3-pytest-mock-pyc (3.10.0-r3) (50/60) Installing py3-platformdirs (4.3.7-r0) (51/60) Installing py3-platformdirs-pyc (4.3.7-r0) (52/60) Installing py3-distlib (0.3.9-r0) (53/60) Installing py3-distlib-pyc (0.3.9-r0) (54/60) Installing py3-filelock (3.16.1-r1) (55/60) Installing py3-filelock-pyc (3.16.1-r1) (56/60) Installing py3-virtualenv (20.30.0-r0) (57/60) Installing py3-virtualenv-pyc (20.30.0-r0) (58/60) Installing py3-wheel (0.43.0-r0) (59/60) Installing py3-wheel-pyc (0.43.0-r0) (60/60) Installing .makedepends-py3-pyproject-api (20250503.132818) Executing busybox-1.37.0-r16.trigger OK: 313 MiB in 161 packages >>> py3-pyproject-api: Cleaning up srcdir >>> py3-pyproject-api: Cleaning up pkgdir >>> py3-pyproject-api: Cleaning up tmpdir >>> py3-pyproject-api: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-pyproject-api-1.9.0.tar.gz >>> py3-pyproject-api: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-pyproject-api-1.9.0.tar.gz >>> py3-pyproject-api: Checking sha512sums... py3-pyproject-api-1.9.0.tar.gz: OK spaced_metadata.patch: OK >>> py3-pyproject-api: Unpacking /var/cache/distfiles/py3-pyproject-api-1.9.0.tar.gz... >>> py3-pyproject-api: spaced_metadata.patch patching file tests/test_frontend_setuptools.py 2025-05-03 13:28:19,559 gpep517 INFO Building wheel via backend hatchling.build 2025-05-03 13:28:19,838 gpep517 INFO The backend produced .dist/pyproject_api-1.9.0-py3-none-any.whl pyproject_api-1.9.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.10, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-pyproject-api/src/pyproject-api-1.9.0 configfile: pyproject.toml plugins: cov-5.0.0, mock-3.10.0 collected 59 items tests/test_backend.py ........ [ 13%] tests/test_frontend.py ............................. [ 62%] tests/test_frontend_setuptools.py ..F....... [ 79%] tests/test_main.py ....... [ 91%] tests/test_util.py .... [ 98%] tests/test_version.py . [100%] =================================== FAILURES =================================== _______________ test_setuptools_prepare_metadata_for_build_wheel _______________ frontend_setuptools = tmp_path = PosixPath('/tmp/pytest-of-buildozer/pytest-332/test_setuptools_prepare_metada0') def test_setuptools_prepare_metadata_for_build_wheel(frontend_setuptools: SubprocessFrontend, tmp_path: Path) -> None: meta = tmp_path / "meta" result = frontend_setuptools.prepare_metadata_for_build_wheel(metadata_directory=meta) assert result is not None dist = Distribution.at(str(result.metadata)) assert list(dist.entry_points) == [EntryPoint(name="demo_exe", value="demo:a", group="console_scripts")] assert dist.version == "1.0" assert dist.metadata["Name"] == "demo" values = [v for k, v in dist.metadata.items() if k == "Requires-Dist"] # type: ignore[attr-defined] # ignore because "PackageMetadata" has no attribute "items" expected = ["magic >3", "requests >2"] > assert sorted(values) == expected E AssertionError: assert ['magic>3', 'requests>2'] == ['magic >3', 'requests >2'] E E At index 0 diff: 'magic>3' != 'magic >3' E Use -v to get more diff tests/test_frontend_setuptools.py:78: AssertionError =========================== short test summary info ============================ FAILED tests/test_frontend_setuptools.py::test_setuptools_prepare_metadata_for_build_wheel ========================= 1 failed, 58 passed in 8.33s ========================= >>> ERROR: py3-pyproject-api: check failed >>> py3-pyproject-api: Uninstalling dependencies... (1/60) Purging .makedepends-py3-pyproject-api (20250503.132818) (2/60) Purging py3-gpep517-pyc (16-r0) (3/60) Purging py3-gpep517 (16-r0) (4/60) Purging py3-installer-pyc (0.7.0-r2) (5/60) Purging py3-installer (0.7.0-r2) (6/60) Purging py3-hatch-vcs-pyc (0.4.0-r2) (7/60) Purging py3-hatch-vcs (0.4.0-r2) (8/60) Purging py3-setuptools_scm-pyc (8.2.0-r0) (9/60) Purging py3-setuptools_scm (8.2.0-r0) (10/60) Purging py3-setuptools-pyc (77.0.3-r0) (11/60) Purging py3-setuptools (77.0.3-r0) (12/60) Purging py3-hatchling-pyc (1.27.0-r0) (13/60) Purging py3-hatchling (1.27.0-r0) (14/60) Purging py3-editables-pyc (0.5-r2) (15/60) Purging py3-editables (0.5-r2) (16/60) Purging py3-pathspec-pyc (0.12.1-r2) (17/60) Purging py3-pathspec (0.12.1-r2) (18/60) Purging py3-trove-classifiers-pyc (2025.1.15.22-r0) (19/60) Purging py3-trove-classifiers (2025.1.15.22-r0) (20/60) Purging py3-pytest-cov-pyc (5.0.0-r0) (21/60) Purging py3-pytest-cov (5.0.0-r0) (22/60) Purging py3-coverage-pyc (7.6.10-r0) (23/60) Purging py3-coverage (7.6.10-r0) (24/60) Purging py3-pytest-mock-pyc (3.10.0-r3) (25/60) Purging py3-pytest-mock (3.10.0-r3) (26/60) Purging py3-mock-pyc (5.2.0-r0) (27/60) Purging py3-mock (5.2.0-r0) (28/60) Purging py3-pytest-pyc (8.3.5-r0) (29/60) Purging py3-pytest (8.3.5-r0) (30/60) Purging py3-iniconfig-pyc (2.1.0-r0) (31/60) Purging py3-iniconfig (2.1.0-r0) (32/60) Purging py3-pluggy-pyc (1.5.0-r0) (33/60) Purging py3-pluggy (1.5.0-r0) (34/60) Purging py3-py-pyc (1.11.0-r4) (35/60) Purging py3-py (1.11.0-r4) (36/60) Purging py3-virtualenv-pyc (20.30.0-r0) (37/60) Purging py3-virtualenv (20.30.0-r0) (38/60) Purging py3-platformdirs-pyc (4.3.7-r0) (39/60) Purging py3-platformdirs (4.3.7-r0) (40/60) Purging py3-distlib-pyc (0.3.9-r0) (41/60) Purging py3-distlib (0.3.9-r0) (42/60) Purging py3-filelock-pyc (3.16.1-r1) (43/60) Purging py3-filelock (3.16.1-r1) (44/60) Purging py3-wheel-pyc (0.43.0-r0) (45/60) Purging py3-wheel (0.43.0-r0) (46/60) Purging py3-packaging-pyc (25.0-r0) (47/60) Purging py3-packaging (25.0-r0) (48/60) Purging py3-parsing-pyc (3.2.0-r0) (49/60) Purging py3-parsing (3.2.0-r0) (50/60) Purging python3-pyc (3.12.10-r0) (51/60) Purging python3-pycache-pyc0 (3.12.10-r0) (52/60) Purging pyc (3.12.10-r0) (53/60) Purging python3 (3.12.10-r0) (54/60) Purging gdbm (1.24-r0) (55/60) Purging libbz2 (1.0.8-r6) (56/60) Purging libffi (3.4.8-r0) (57/60) Purging libpanelw (6.5_p20250412-r0) (58/60) Purging mpdecimal (4.0.0-r0) (59/60) Purging sqlite-libs (3.49.1-r1) (60/60) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r16.trigger OK: 251 MiB in 101 packages