>>> py3-xmldiff: Building community/py3-xmldiff 2.7.0-r0 (using abuild 3.16.0_rc4-r0) started Wed, 22 Oct 2025 10:31:00 +0000 >>> py3-xmldiff: Validating /home/buildozer/aports/community/py3-xmldiff/APKBUILD... >>> py3-xmldiff: Analyzing dependencies... >>> py3-xmldiff: Installing for build: build-base py3-lxml py3-gpep517 py3-setuptools py3-wheel py3-pytest ( 1/38) Installing libbz2 (1.0.8-r6) ( 2/38) Installing libffi (3.5.2-r0) ( 3/38) Installing gdbm (1.26-r0) ( 4/38) Installing xz-libs (5.8.1-r0) ( 5/38) Installing mpdecimal (4.0.1-r0) ( 6/38) Installing libpanelw (6.5_p20251010-r0) ( 7/38) Installing sqlite-libs (3.50.4-r1) ( 8/38) Installing python3 (3.12.12-r0) ( 9/38) Installing python3-pycache-pyc0 (3.12.12-r0) (10/38) Installing pyc (3.12.12-r0) (11/38) Installing py3-lxml-pyc (6.0.1-r0) (12/38) Installing python3-pyc (3.12.12-r0) (13/38) Installing libxml2 (2.13.9-r0) (14/38) Installing libxslt (1.1.43-r3) (15/38) Installing py3-lxml (6.0.1-r0) (16/38) Installing py3-installer (0.7.0-r2) (17/38) Installing py3-installer-pyc (0.7.0-r2) (18/38) Installing py3-gpep517 (19-r0) (19/38) Installing py3-gpep517-pyc (19-r0) (20/38) Installing py3-parsing (3.2.3-r0) (21/38) Installing py3-parsing-pyc (3.2.3-r0) (22/38) Installing py3-packaging (25.0-r0) (23/38) Installing py3-packaging-pyc (25.0-r0) (24/38) Installing py3-setuptools (80.9.0-r1) (25/38) Installing py3-setuptools-pyc (80.9.0-r1) (26/38) Installing py3-wheel (0.46.1-r0) (27/38) Installing py3-wheel-pyc (0.46.1-r0) (28/38) Installing py3-iniconfig (2.3.0-r0) (29/38) Installing py3-iniconfig-pyc (2.3.0-r0) (30/38) Installing py3-pluggy (1.6.0-r0) (31/38) Installing py3-pluggy-pyc (1.6.0-r0) (32/38) Installing py3-py (1.11.0-r4) (33/38) Installing py3-py-pyc (1.11.0-r4) (34/38) Installing py3-pygments (2.19.2-r0) (35/38) Installing py3-pygments-pyc (2.19.2-r0) (36/38) Installing py3-pytest (8.4.2-r1) (37/38) Installing py3-pytest-pyc (8.4.2-r1) (38/38) Installing .makedepends-py3-xmldiff (20251022.103126) busybox-1.37.0-r24.trigger: Executing script... OK: 403 MiB in 143 packages >>> py3-xmldiff: Cleaning up srcdir >>> py3-xmldiff: Cleaning up pkgdir >>> py3-xmldiff: Cleaning up tmpdir >>> py3-xmldiff: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/xmldiff-2.7.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> py3-xmldiff: Fetching https://files.pythonhosted.org/packages/source/x/xmldiff/xmldiff-2.7.0.tar.gz Connecting to files.pythonhosted.org ([2a04:4e42:600::223]:443) Connecting to files.pythonhosted.org ([2a04:4e42:600::223]:443) saving to '/var/cache/distfiles/v3.23/xmldiff-2.7.0.tar.gz.part' xmldiff-2.7.0.tar.gz 100% |********************************| 87596 0:00:00 ETA '/var/cache/distfiles/v3.23/xmldiff-2.7.0.tar.gz.part' saved /var/cache/distfiles/v3.23/xmldiff-2.7.0.tar.gz: OK >>> py3-xmldiff: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/xmldiff-2.7.0.tar.gz /var/cache/distfiles/v3.23/xmldiff-2.7.0.tar.gz: OK >>> py3-xmldiff: Unpacking /var/cache/distfiles/v3.23/xmldiff-2.7.0.tar.gz... 2025-10-22 10:31:27,316 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ /usr/lib/python3.12/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() 2025-10-22 10:31:27,344 root INFO running bdist_wheel 2025-10-22 10:31:27,363 root INFO running build 2025-10-22 10:31:27,363 root INFO running build_py 2025-10-22 10:31:27,368 root INFO creating build/lib/xmldiff 2025-10-22 10:31:27,368 root INFO copying ./xmldiff/__init__.py -> build/lib/xmldiff 2025-10-22 10:31:27,368 root INFO copying ./xmldiff/patch.py -> build/lib/xmldiff 2025-10-22 10:31:27,369 root INFO copying ./xmldiff/utils.py -> build/lib/xmldiff 2025-10-22 10:31:27,369 root INFO copying ./xmldiff/diff_match_patch.py -> build/lib/xmldiff 2025-10-22 10:31:27,369 root INFO copying ./xmldiff/main.py -> build/lib/xmldiff 2025-10-22 10:31:27,370 root INFO copying ./xmldiff/formatting.py -> build/lib/xmldiff 2025-10-22 10:31:27,370 root INFO copying ./xmldiff/diff.py -> build/lib/xmldiff 2025-10-22 10:31:27,370 root INFO copying ./xmldiff/actions.py -> build/lib/xmldiff 2025-10-22 10:31:27,371 root INFO running egg_info 2025-10-22 10:31:27,374 root INFO writing xmldiff.egg-info/PKG-INFO 2025-10-22 10:31:27,375 root INFO writing dependency_links to xmldiff.egg-info/dependency_links.txt 2025-10-22 10:31:27,375 root INFO writing entry points to xmldiff.egg-info/entry_points.txt 2025-10-22 10:31:27,376 root INFO writing requirements to xmldiff.egg-info/requires.txt 2025-10-22 10:31:27,376 root INFO writing top-level names to xmldiff.egg-info/top_level.txt 2025-10-22 10:31:27,380 root INFO reading manifest file 'xmldiff.egg-info/SOURCES.txt' 2025-10-22 10:31:27,382 root INFO reading manifest template 'MANIFEST.in' 2025-10-22 10:31:27,387 root WARNING warning: no previously-included files matching '*' found under directory 'docs/build' 2025-10-22 10:31:27,387 root INFO adding license file 'LICENSE.txt' 2025-10-22 10:31:27,389 root INFO writing manifest file 'xmldiff.egg-info/SOURCES.txt' 2025-10-22 10:31:27,397 root INFO installing to build/bdist.linux-armv8l/wheel 2025-10-22 10:31:27,397 root INFO running install 2025-10-22 10:31:27,408 root INFO running install_lib 2025-10-22 10:31:27,412 root INFO creating build/bdist.linux-armv8l/wheel 2025-10-22 10:31:27,412 root INFO creating build/bdist.linux-armv8l/wheel/xmldiff 2025-10-22 10:31:27,412 root INFO copying build/lib/xmldiff/__init__.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,412 root INFO copying build/lib/xmldiff/patch.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,413 root INFO copying build/lib/xmldiff/utils.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,413 root INFO copying build/lib/xmldiff/diff_match_patch.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,413 root INFO copying build/lib/xmldiff/main.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,414 root INFO copying build/lib/xmldiff/formatting.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,414 root INFO copying build/lib/xmldiff/diff.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,414 root INFO copying build/lib/xmldiff/actions.py -> build/bdist.linux-armv8l/wheel/./xmldiff 2025-10-22 10:31:27,414 root INFO running install_egg_info 2025-10-22 10:31:27,418 root INFO Copying xmldiff.egg-info to build/bdist.linux-armv8l/wheel/./xmldiff-2.7.0-py3.12.egg-info 2025-10-22 10:31:27,419 root INFO running install_scripts 2025-10-22 10:31:27,421 root INFO creating build/bdist.linux-armv8l/wheel/xmldiff-2.7.0.dist-info/WHEEL 2025-10-22 10:31:27,421 wheel INFO creating '/home/buildozer/aports/community/py3-xmldiff/src/xmldiff-2.7.0/.dist/.tmp-7e8m494l/xmldiff-2.7.0-py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2025-10-22 10:31:27,422 wheel INFO adding 'xmldiff/__init__.py' 2025-10-22 10:31:27,422 wheel INFO adding 'xmldiff/actions.py' 2025-10-22 10:31:27,422 wheel INFO adding 'xmldiff/diff.py' 2025-10-22 10:31:27,423 wheel INFO adding 'xmldiff/diff_match_patch.py' 2025-10-22 10:31:27,423 wheel INFO adding 'xmldiff/formatting.py' 2025-10-22 10:31:27,424 wheel INFO adding 'xmldiff/main.py' 2025-10-22 10:31:27,424 wheel INFO adding 'xmldiff/patch.py' 2025-10-22 10:31:27,424 wheel INFO adding 'xmldiff/utils.py' 2025-10-22 10:31:27,425 wheel INFO adding 'xmldiff-2.7.0.dist-info/licenses/LICENSE.txt' 2025-10-22 10:31:27,425 wheel INFO adding 'xmldiff-2.7.0.dist-info/METADATA' 2025-10-22 10:31:27,425 wheel INFO adding 'xmldiff-2.7.0.dist-info/WHEEL' 2025-10-22 10:31:27,425 wheel INFO adding 'xmldiff-2.7.0.dist-info/entry_points.txt' 2025-10-22 10:31:27,425 wheel INFO adding 'xmldiff-2.7.0.dist-info/top_level.txt' 2025-10-22 10:31:27,425 wheel INFO adding 'xmldiff-2.7.0.dist-info/zip-safe' 2025-10-22 10:31:27,426 wheel INFO adding 'xmldiff-2.7.0.dist-info/RECORD' 2025-10-22 10:31:27,426 root INFO removing build/bdist.linux-armv8l/wheel 2025-10-22 10:31:27,427 gpep517 INFO The backend produced .dist/xmldiff-2.7.0-py3-none-any.whl xmldiff-2.7.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.12, pytest-8.4.2, pluggy-1.6.0 rootdir: /home/buildozer/aports/community/py3-xmldiff/src/xmldiff-2.7.0 configfile: setup.cfg testpaths: tests collected 124 items tests/test_diff.py ...................................... [ 30%] tests/test_formatting.py ............................................... [ 68%] ....... [ 74%] tests/test_main.py ..F...... [ 81%] tests/test_patch.py .................. [ 95%] tests/test_utils.py ..... [100%] =================================== FAILURES =================================== _______________________ MainAPITests.test_api_diff_texts _______________________ self = def test_api_diff_texts(self): # diff_text can take bytes with open(LEFT_FILE, "rb") as linfile: with open(RIGHT_FILE, "rb") as rinfile: left = linfile.read() right = rinfile.read() result1 = main.diff_texts(left, right) # And unicode result2 = main.diff_texts(left.decode("utf8"), right.decode("utf8")) self.assertEqual(result1, result2) with open(LEFT_FILE, "rb") as infile: with open(RIGHT_FILE, "rb") as infile: # Give something else, and it fails: with self.assertRaises(ValueError): > main.diff_texts(infile, infile) tests/test_main.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xmldiff/main.py:44: in diff_texts return _diff( xmldiff/main.py:35: in _diff left_tree = parse_method(left, parser) ^^^^^^^^^^^^^^^^^^^^^^^^^^ src/lxml/etree.pyx:3428: in lxml.etree.fromstring ??? src/lxml/parser.pxi:2059: in lxml.etree._parseMemoryDocument ??? src/lxml/parser.pxi:1916: in lxml.etree._parseDoc ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E TypeError: memoryview: a bytes-like object is required, not '_io.BufferedReader' src/lxml/parser.pxi:1941: TypeError =========================== short test summary info ============================ FAILED tests/test_main.py::MainAPITests::test_api_diff_texts - TypeError: mem... ======================== 1 failed, 123 passed in 1.11s ========================= >>> ERROR: py3-xmldiff: check failed >>> py3-xmldiff: Uninstalling dependencies... ( 1/38) Purging .makedepends-py3-xmldiff (20251022.103126) ( 2/38) Purging py3-lxml-pyc (6.0.1-r0) ( 3/38) Purging py3-lxml (6.0.1-r0) ( 4/38) Purging py3-gpep517-pyc (19-r0) ( 5/38) Purging py3-gpep517 (19-r0) ( 6/38) Purging py3-installer-pyc (0.7.0-r2) ( 7/38) Purging py3-installer (0.7.0-r2) ( 8/38) Purging py3-setuptools-pyc (80.9.0-r1) ( 9/38) Purging py3-setuptools (80.9.0-r1) (10/38) Purging py3-wheel-pyc (0.46.1-r0) (11/38) Purging py3-wheel (0.46.1-r0) (12/38) Purging py3-pytest-pyc (8.4.2-r1) (13/38) Purging py3-pytest (8.4.2-r1) (14/38) Purging py3-iniconfig-pyc (2.3.0-r0) (15/38) Purging py3-iniconfig (2.3.0-r0) (16/38) Purging py3-packaging-pyc (25.0-r0) (17/38) Purging py3-packaging (25.0-r0) (18/38) Purging py3-parsing-pyc (3.2.3-r0) (19/38) Purging py3-parsing (3.2.3-r0) (20/38) Purging py3-pluggy-pyc (1.6.0-r0) (21/38) Purging py3-pluggy (1.6.0-r0) (22/38) Purging py3-py-pyc (1.11.0-r4) (23/38) Purging py3-py (1.11.0-r4) (24/38) Purging py3-pygments-pyc (2.19.2-r0) (25/38) Purging py3-pygments (2.19.2-r0) (26/38) Purging python3-pyc (3.12.12-r0) (27/38) Purging python3-pycache-pyc0 (3.12.12-r0) (28/38) Purging pyc (3.12.12-r0) (29/38) Purging python3 (3.12.12-r0) (30/38) Purging gdbm (1.26-r0) (31/38) Purging libbz2 (1.0.8-r6) (32/38) Purging libffi (3.5.2-r0) (33/38) Purging libpanelw (6.5_p20251010-r0) (34/38) Purging libxslt (1.1.43-r3) (35/38) Purging mpdecimal (4.0.1-r0) (36/38) Purging sqlite-libs (3.50.4-r1) (37/38) Purging libxml2 (2.13.9-r0) (38/38) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 342 MiB in 105 packages