>>> py3-docformatter: Building community/py3-docformatter 1.7.7-r0 (using abuild 3.16.0_rc4-r0) started Sun, 09 Nov 2025 01:41:59 +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/86) Installing libbz2 (1.0.8-r6) ( 2/86) Installing libffi (3.5.2-r0) ( 3/86) Installing gdbm (1.26-r0) ( 4/86) Installing xz-libs (5.8.1-r0) ( 5/86) Installing mpdecimal (4.0.1-r0) ( 6/86) Installing libpanelw (6.5_p20251010-r0) ( 7/86) Installing sqlite-libs (3.51.0-r0) ( 8/86) Installing python3 (3.12.12-r0) ( 9/86) Installing python3-pycache-pyc0 (3.12.12-r0) (10/86) Installing pyc (3.12.12-r0) (11/86) Installing py3-charset-normalizer-pyc (3.4.4-r0) (12/86) Installing python3-pyc (3.12.12-r0) (13/86) Installing py3-charset-normalizer (3.4.4-r0) (14/86) Installing py3-untokenize (0.1.1-r3) (15/86) Installing py3-untokenize-pyc (0.1.1-r3) (16/86) Installing py3-installer (0.7.0-r2) (17/86) Installing py3-installer-pyc (0.7.0-r2) (18/86) Installing py3-gpep517 (19-r1) (19/86) Installing py3-gpep517-pyc (19-r1) (20/86) Installing py3-fastjsonschema (2.21.2-r0) (21/86) Installing py3-fastjsonschema-pyc (2.21.2-r0) (22/86) Installing py3-lark-parser (1.2.2-r0) (23/86) Installing py3-lark-parser-pyc (1.2.2-r0) (24/86) Installing py3-parsing (3.2.3-r0) (25/86) Installing py3-parsing-pyc (3.2.3-r0) (26/86) Installing py3-packaging (25.0-r0) (27/86) Installing py3-packaging-pyc (25.0-r0) (28/86) Installing py3-poetry-core (2.2.1-r0) (29/86) Installing py3-poetry-core-pyc (2.2.1-r0) (30/86) Installing py3-aiohappyeyeballs (2.6.1-r0) (31/86) Installing py3-aiohappyeyeballs-pyc (2.6.1-r0) (32/86) Installing py3-frozenlist (1.6.2-r0) (33/86) Installing py3-frozenlist-pyc (1.6.2-r0) (34/86) Installing py3-aiosignal (1.4.0-r0) (35/86) Installing py3-aiosignal-pyc (1.4.0-r0) (36/86) Installing py3-typing-extensions (4.15.0-r0) (37/86) Installing py3-typing-extensions-pyc (4.15.0-r0) (38/86) Installing py3-async-timeout (4.0.3-r2) (39/86) Installing py3-async-timeout-pyc (4.0.3-r2) (40/86) Installing py3-attrs (25.3.0-r0) (41/86) Installing py3-attrs-pyc (25.3.0-r0) (42/86) Installing py3-brotli (1.1.0-r2) (43/86) Installing py3-brotli-pyc (1.1.0-r2) (44/86) Installing py3-idna (3.10-r0) (45/86) Installing py3-idna-pyc (3.10-r0) (46/86) Installing py3-idna-ssl (1.1.0-r9) (47/86) Installing py3-idna-ssl-pyc (1.1.0-r9) (48/86) Installing py3-multidict (6.7.0-r0) (49/86) Installing py3-multidict-pyc (6.7.0-r0) (50/86) Installing py3-expandvars (1.1.2-r0) (51/86) Installing py3-expandvars-pyc (1.1.2-r0) (52/86) Installing py3-propcache (0.4.0-r0) (53/86) Installing py3-propcache-pyc (0.4.0-r0) (54/86) Installing py3-yarl (1.20.0-r1) (55/86) Installing py3-yarl-pyc (1.20.0-r1) (56/86) Installing py3-aiohttp (3.12.15-r0) (57/86) Installing py3-aiohttp-pyc (3.12.15-r0) (58/86) Installing py3-click (8.1.8-r1) (59/86) Installing py3-click-pyc (8.1.8-r1) (60/86) Installing py3-mypy-extensions (1.1.0-r0) (61/86) Installing py3-mypy-extensions-pyc (1.1.0-r0) (62/86) Installing py3-pathspec (0.12.1-r2) (63/86) Installing py3-pathspec-pyc (0.12.1-r2) (64/86) Installing py3-platformdirs (4.5.0-r0) (65/86) Installing py3-platformdirs-pyc (4.5.0-r0) (66/86) Installing py3-pytokens (0.2.0-r0) (67/86) Installing py3-pytokens-pyc (0.2.0-r0) (68/86) Installing black (25.9.0-r0) (69/86) Installing black-pyc (25.9.0-r0) (70/86) Installing py3-mock (5.2.0-r0) (71/86) Installing py3-mock-pyc (5.2.0-r0) (72/86) Installing py3-iniconfig (2.3.0-r0) (73/86) Installing py3-iniconfig-pyc (2.3.0-r0) (74/86) Installing py3-pluggy (1.6.0-r0) (75/86) Installing py3-pluggy-pyc (1.6.0-r0) (76/86) Installing py3-py (1.11.0-r4) (77/86) Installing py3-py-pyc (1.11.0-r4) (78/86) Installing py3-pygments (2.19.2-r0) (79/86) Installing py3-pygments-pyc (2.19.2-r0) (80/86) Installing py3-pytest (8.4.2-r1) (81/86) Installing py3-pytest-pyc (8.4.2-r1) (82/86) Installing py3-execnet (2.1.1-r0) (83/86) Installing py3-execnet-pyc (2.1.1-r0) (84/86) Installing py3-pytest-xdist (3.8.0-r0) (85/86) Installing py3-pytest-xdist-pyc (3.8.0-r0) (86/86) Installing .makedepends-py3-docformatter (20251109.014210) busybox-1.37.0-r24.trigger: Executing script... OK: 494 MiB in 191 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 /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-09 01:42:11,032 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2025-11-09 01:42:11,168 poetry.core.masonry.builders.wheel INFO Building wheel 2025-11-09 01:42:11,184 poetry.core.masonry.builders.wheel INFO Built docformatter-1.7.7-py3-none-any.whl 2025-11-09 01:42:11,184 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/27yp1rr_.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.88s =================== >>> ERROR: py3-docformatter: check failed >>> py3-docformatter: Uninstalling dependencies... ( 1/86) Purging .makedepends-py3-docformatter (20251109.014210) ( 2/86) Purging py3-untokenize-pyc (0.1.1-r3) ( 3/86) Purging py3-untokenize (0.1.1-r3) ( 4/86) Purging py3-gpep517-pyc (19-r1) ( 5/86) Purging py3-gpep517 (19-r1) ( 6/86) Purging py3-installer-pyc (0.7.0-r2) ( 7/86) Purging py3-installer (0.7.0-r2) ( 8/86) Purging py3-poetry-core-pyc (2.2.1-r0) ( 9/86) Purging py3-poetry-core (2.2.1-r0) (10/86) Purging py3-fastjsonschema-pyc (2.21.2-r0) (11/86) Purging py3-fastjsonschema (2.21.2-r0) (12/86) Purging py3-lark-parser-pyc (1.2.2-r0) (13/86) Purging py3-lark-parser (1.2.2-r0) (14/86) Purging black-pyc (25.9.0-r0) (15/86) Purging black (25.9.0-r0) (16/86) Purging py3-aiohttp-pyc (3.12.15-r0) (17/86) Purging py3-aiohttp (3.12.15-r0) (18/86) Purging py3-aiohappyeyeballs-pyc (2.6.1-r0) (19/86) Purging py3-aiohappyeyeballs (2.6.1-r0) (20/86) Purging py3-aiosignal-pyc (1.4.0-r0) (21/86) Purging py3-aiosignal (1.4.0-r0) (22/86) Purging py3-frozenlist-pyc (1.6.2-r0) (23/86) Purging py3-frozenlist (1.6.2-r0) (24/86) Purging py3-async-timeout-pyc (4.0.3-r2) (25/86) Purging py3-async-timeout (4.0.3-r2) (26/86) Purging py3-attrs-pyc (25.3.0-r0) (27/86) Purging py3-attrs (25.3.0-r0) (28/86) Purging py3-brotli-pyc (1.1.0-r2) (29/86) Purging py3-brotli (1.1.0-r2) (30/86) Purging py3-charset-normalizer-pyc (3.4.4-r0) (31/86) Purging py3-charset-normalizer (3.4.4-r0) (32/86) Purging py3-idna-ssl-pyc (1.1.0-r9) (33/86) Purging py3-idna-ssl (1.1.0-r9) (34/86) Purging py3-typing-extensions-pyc (4.15.0-r0) (35/86) Purging py3-typing-extensions (4.15.0-r0) (36/86) Purging py3-yarl-pyc (1.20.0-r1) (37/86) Purging py3-yarl (1.20.0-r1) (38/86) Purging py3-idna-pyc (3.10-r0) (39/86) Purging py3-idna (3.10-r0) (40/86) Purging py3-multidict-pyc (6.7.0-r0) (41/86) Purging py3-multidict (6.7.0-r0) (42/86) Purging py3-propcache-pyc (0.4.0-r0) (43/86) Purging py3-propcache (0.4.0-r0) (44/86) Purging py3-expandvars-pyc (1.1.2-r0) (45/86) Purging py3-expandvars (1.1.2-r0) (46/86) Purging py3-click-pyc (8.1.8-r1) (47/86) Purging py3-click (8.1.8-r1) (48/86) Purging py3-mypy-extensions-pyc (1.1.0-r0) (49/86) Purging py3-mypy-extensions (1.1.0-r0) (50/86) Purging py3-pathspec-pyc (0.12.1-r2) (51/86) Purging py3-pathspec (0.12.1-r2) (52/86) Purging py3-platformdirs-pyc (4.5.0-r0) (53/86) Purging py3-platformdirs (4.5.0-r0) (54/86) Purging py3-pytokens-pyc (0.2.0-r0) (55/86) Purging py3-pytokens (0.2.0-r0) (56/86) Purging py3-mock-pyc (5.2.0-r0) (57/86) Purging py3-mock (5.2.0-r0) (58/86) Purging py3-pytest-xdist-pyc (3.8.0-r0) (59/86) Purging py3-pytest-xdist (3.8.0-r0) (60/86) Purging py3-execnet-pyc (2.1.1-r0) (61/86) Purging py3-execnet (2.1.1-r0) (62/86) Purging py3-pytest-pyc (8.4.2-r1) (63/86) Purging py3-pytest (8.4.2-r1) (64/86) Purging py3-iniconfig-pyc (2.3.0-r0) (65/86) Purging py3-iniconfig (2.3.0-r0) (66/86) Purging py3-packaging-pyc (25.0-r0) (67/86) Purging py3-packaging (25.0-r0) (68/86) Purging py3-parsing-pyc (3.2.3-r0) (69/86) Purging py3-parsing (3.2.3-r0) (70/86) Purging py3-pluggy-pyc (1.6.0-r0) (71/86) Purging py3-pluggy (1.6.0-r0) (72/86) Purging py3-py-pyc (1.11.0-r4) (73/86) Purging py3-py (1.11.0-r4) (74/86) Purging py3-pygments-pyc (2.19.2-r0) (75/86) Purging py3-pygments (2.19.2-r0) (76/86) Purging python3-pyc (3.12.12-r0) (77/86) Purging python3-pycache-pyc0 (3.12.12-r0) (78/86) Purging pyc (3.12.12-r0) (79/86) Purging python3 (3.12.12-r0) (80/86) Purging gdbm (1.26-r0) (81/86) Purging libbz2 (1.0.8-r6) (82/86) Purging libffi (3.5.2-r0) (83/86) Purging libpanelw (6.5_p20251010-r0) (84/86) Purging mpdecimal (4.0.1-r0) (85/86) Purging sqlite-libs (3.51.0-r0) (86/86) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... OK: 431 MiB in 105 packages