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