>>> py3-docformatter: Building community/py3-docformatter 1.7.7-r0 (using abuild 3.16.0_rc4-r0) started Tue, 04 Nov 2025 14:11:32 +0000 >>> py3-docformatter: Validating /home/buildozer/aports/community/py3-docformatter/APKBUILD... >>> py3-docformatter: Analyzing dependencies... >>> py3-docformatter: Installing for build: build-base py3-charset-normalizer py3-untokenize py3-gpep517 py3-poetry-core black py3-mock py3-pytest py3-pytest-xdist ( 1/56) Installing libbz2 (1.0.8-r6) ( 2/56) Installing libffi (3.5.2-r0) ( 3/56) Installing gdbm (1.26-r0) ( 4/56) Installing xz-libs (5.8.1-r0) ( 5/56) Installing mpdecimal (4.0.1-r0) ( 6/56) Installing libpanelw (6.5_p20251010-r0) ( 7/56) Installing sqlite-libs (3.50.4-r1) ( 8/56) Installing python3 (3.12.12-r0) ( 9/56) Installing python3-pycache-pyc0 (3.12.12-r0) (10/56) Installing pyc (3.12.12-r0) (11/56) Installing py3-charset-normalizer-pyc (3.4.4-r0) (12/56) Installing python3-pyc (3.12.12-r0) (13/56) Installing py3-charset-normalizer (3.4.4-r0) (14/56) Installing py3-untokenize (0.1.1-r3) (15/56) Installing py3-untokenize-pyc (0.1.1-r3) (16/56) Installing py3-installer (0.7.0-r2) (17/56) Installing py3-installer-pyc (0.7.0-r2) (18/56) Installing py3-gpep517 (19-r1) (19/56) Installing py3-gpep517-pyc (19-r1) (20/56) Installing py3-fastjsonschema (2.21.2-r0) (21/56) Installing py3-fastjsonschema-pyc (2.21.2-r0) (22/56) Installing py3-lark-parser (1.2.2-r0) (23/56) Installing py3-lark-parser-pyc (1.2.2-r0) (24/56) Installing py3-parsing (3.2.3-r0) (25/56) Installing py3-parsing-pyc (3.2.3-r0) (26/56) Installing py3-packaging (25.0-r0) (27/56) Installing py3-packaging-pyc (25.0-r0) (28/56) Installing py3-poetry-core (2.2.1-r0) (29/56) Installing py3-poetry-core-pyc (2.2.1-r0) (30/56) Installing py3-click (8.1.8-r1) (31/56) Installing py3-click-pyc (8.1.8-r1) (32/56) Installing py3-mypy-extensions (1.1.0-r0) (33/56) Installing py3-mypy-extensions-pyc (1.1.0-r0) (34/56) Installing py3-pathspec (0.12.1-r2) (35/56) Installing py3-pathspec-pyc (0.12.1-r2) (36/56) Installing py3-platformdirs (4.5.0-r0) (37/56) Installing py3-platformdirs-pyc (4.5.0-r0) (38/56) Installing black (25.1.0-r1) (39/56) Installing black-pyc (25.1.0-r1) (40/56) Installing py3-mock (5.2.0-r0) (41/56) Installing py3-mock-pyc (5.2.0-r0) (42/56) Installing py3-iniconfig (2.3.0-r0) (43/56) Installing py3-iniconfig-pyc (2.3.0-r0) (44/56) Installing py3-pluggy (1.6.0-r0) (45/56) Installing py3-pluggy-pyc (1.6.0-r0) (46/56) Installing py3-py (1.11.0-r4) (47/56) Installing py3-py-pyc (1.11.0-r4) (48/56) Installing py3-pygments (2.19.2-r0) (49/56) Installing py3-pygments-pyc (2.19.2-r0) (50/56) Installing py3-pytest (8.4.2-r1) (51/56) Installing py3-pytest-pyc (8.4.2-r1) (52/56) Installing py3-execnet (2.1.1-r0) (53/56) Installing py3-execnet-pyc (2.1.1-r0) (54/56) Installing py3-pytest-xdist (3.8.0-r0) (55/56) Installing py3-pytest-xdist-pyc (3.8.0-r0) (56/56) Installing .makedepends-py3-docformatter (20251104.141141) busybox-1.37.0-r24.trigger: Executing script... OK: 441 MiB in 161 packages >>> py3-docformatter: Cleaning up srcdir >>> py3-docformatter: Cleaning up pkgdir >>> py3-docformatter: Cleaning up tmpdir >>> py3-docformatter: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/py3-docformatter-1.7.7.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> py3-docformatter: Fetching py3-docformatter-1.7.7.tar.gz::https://github.com/PyCQA/docformatter/archive/refs/tags/v1.7.7.tar.gz Connecting to github.com (20.26.156.215:443) Connecting to codeload.github.com (20.26.156.216:443) saving to '/var/cache/distfiles/v3.23/py3-docformatter-1.7.7.tar.gz.part' py3-docformatter-1.7 100% |********************************| 308k 0:00:00 ETA '/var/cache/distfiles/v3.23/py3-docformatter-1.7.7.tar.gz.part' saved /var/cache/distfiles/v3.23/py3-docformatter-1.7.7.tar.gz: OK >>> py3-docformatter: Fetching https://distfiles.alpinelinux.org/distfiles/v3.23/py3-docformatter-1.7.7.tar.gz /var/cache/distfiles/v3.23/py3-docformatter-1.7.7.tar.gz: OK >>> py3-docformatter: Unpacking /var/cache/distfiles/v3.23/py3-docformatter-1.7.7.tar.gz... 2025-11-04 14:11:44,329 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2025-11-04 14:11:44,463 poetry.core.masonry.builders.wheel INFO Building wheel 2025-11-04 14:11:44,477 poetry.core.masonry.builders.wheel INFO Built docformatter-1.7.7-py3-none-any.whl 2025-11-04 14:11:44,477 gpep517 INFO The backend produced .dist/docformatter-1.7.7-py3-none-any.whl docformatter-1.7.7-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-docformatter/src/docformatter-1.7.7 configfile: pyproject.toml plugins: xdist-3.8.0 collected 285 items tests/formatter/test_do_format_code.py .................. [ 6%] tests/formatter/test_do_format_docstring.py ................ [ 11%] tests/formatter/test_format_black.py ... [ 12%] tests/formatter/test_format_code.py ............................ [ 22%] tests/formatter/test_format_code_ranges.py ... [ 23%] tests/formatter/test_format_epytext.py .. [ 24%] tests/formatter/test_format_lists.py ..... [ 26%] tests/formatter/test_format_sphinx.py ........... [ 30%] tests/formatter/test_format_styles.py .... [ 31%] tests/formatter/test_format_urls.py ................. [ 37%] tests/formatter/test_format_wrap.py .............. [ 42%] tests/test_configuration_functions.py .................... [ 49%] tests/test_docformatter.py ........................................ [ 63%] tests/test_encoding_functions.py ...F......... [ 68%] tests/test_string_functions.py ............................... [ 78%] tests/test_strip_docstring.py ........ [ 81%] tests/test_syntax_functions.py .......... [ 85%] tests/test_utility_functions.py .x...................................... [ 99%] .. [100%] =================================== FAILURES =================================== _____ TestDetectEncoding.test_detect_encoding_with_undetectable_encoding[] _____ self = temporary_file = '/home/buildozer/aports/community/py3-docformatter/src/docformatter-1.7.7/3k_duh4v.py' @pytest.mark.unit @pytest.mark.parametrize("contents", [""]) def test_detect_encoding_with_undetectable_encoding(self, temporary_file): """Default to latin-1 when encoding detection fails.""" uut = Encoder() # Simulate a file with undetectable encoding with open(temporary_file, "wb") as file: # Binary content unlikely to have a detectable encoding file.write(b"\xFF\xFE\xFD\xFC\x00\x00\x00\x00") uut.do_detect_encoding(temporary_file) > assert uut.encoding == uut.DEFAULT_ENCODING E AssertionError: assert 'utf_16' == 'latin-1' E E - latin-1 E + utf_16 tests/test_encoding_functions.py:99: AssertionError =========================== short test summary info ============================ FAILED tests/test_encoding_functions.py::TestDetectEncoding::test_detect_encoding_with_undetectable_encoding[] =================== 1 failed, 283 passed, 1 xfailed in 3.40s =================== >>> ERROR: py3-docformatter: check failed >>> py3-docformatter: Uninstalling dependencies... ( 1/56) Purging .makedepends-py3-docformatter (20251104.141141) ( 2/56) Purging py3-charset-normalizer-pyc (3.4.4-r0) ( 3/56) Purging py3-charset-normalizer (3.4.4-r0) ( 4/56) Purging py3-untokenize-pyc (0.1.1-r3) ( 5/56) Purging py3-untokenize (0.1.1-r3) ( 6/56) Purging py3-gpep517-pyc (19-r1) ( 7/56) Purging py3-gpep517 (19-r1) ( 8/56) Purging py3-installer-pyc (0.7.0-r2) ( 9/56) Purging py3-installer (0.7.0-r2) (10/56) Purging py3-poetry-core-pyc (2.2.1-r0) (11/56) Purging py3-poetry-core (2.2.1-r0) (12/56) Purging py3-fastjsonschema-pyc (2.21.2-r0) (13/56) Purging py3-fastjsonschema (2.21.2-r0) (14/56) Purging py3-lark-parser-pyc (1.2.2-r0) (15/56) Purging py3-lark-parser (1.2.2-r0) (16/56) Purging black-pyc (25.1.0-r1) (17/56) Purging black (25.1.0-r1) (18/56) Purging py3-click-pyc (8.1.8-r1) (19/56) Purging py3-click (8.1.8-r1) (20/56) Purging py3-mypy-extensions-pyc (1.1.0-r0) (21/56) Purging py3-mypy-extensions (1.1.0-r0) (22/56) Purging py3-pathspec-pyc (0.12.1-r2) (23/56) Purging py3-pathspec (0.12.1-r2) (24/56) Purging py3-platformdirs-pyc (4.5.0-r0) (25/56) Purging py3-platformdirs (4.5.0-r0) (26/56) Purging py3-mock-pyc (5.2.0-r0) (27/56) Purging py3-mock (5.2.0-r0) (28/56) Purging py3-pytest-xdist-pyc (3.8.0-r0) (29/56) Purging py3-pytest-xdist (3.8.0-r0) (30/56) Purging py3-execnet-pyc (2.1.1-r0) (31/56) Purging py3-execnet (2.1.1-r0) (32/56) Purging py3-pytest-pyc (8.4.2-r1) (33/56) Purging py3-pytest (8.4.2-r1) (34/56) Purging py3-iniconfig-pyc (2.3.0-r0) (35/56) Purging py3-iniconfig (2.3.0-r0) (36/56) Purging py3-packaging-pyc (25.0-r0) (37/56) Purging py3-packaging (25.0-r0) (38/56) Purging py3-parsing-pyc (3.2.3-r0) (39/56) Purging py3-parsing (3.2.3-r0) (40/56) Purging py3-pluggy-pyc (1.6.0-r0) (41/56) Purging py3-pluggy (1.6.0-r0) (42/56) Purging py3-py-pyc (1.11.0-r4) (43/56) Purging py3-py (1.11.0-r4) (44/56) Purging py3-pygments-pyc (2.19.2-r0) (45/56) Purging py3-pygments (2.19.2-r0) (46/56) Purging python3-pyc (3.12.12-r0) (47/56) Purging python3-pycache-pyc0 (3.12.12-r0) (48/56) Purging pyc (3.12.12-r0) (49/56) Purging python3 (3.12.12-r0) (50/56) Purging gdbm (1.26-r0) (51/56) Purging libbz2 (1.0.8-r6) (52/56) Purging libffi (3.5.2-r0) (53/56) Purging libpanelw (6.5_p20251010-r0) (54/56) Purging mpdecimal (4.0.1-r0) (55/56) Purging sqlite-libs (3.50.4-r1) (56/56) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 385 MiB in 105 packages