>>> py3-enchant: Building community/py3-enchant 3.2.2-r2 (using abuild 3.12.0-r0) started Wed, 08 Nov 2023 13:49:09 +0000 >>> py3-enchant: Checking sanity of /home/buildozer/aports/community/py3-enchant/APKBUILD... >>> py3-enchant: Analyzing dependencies... >>> py3-enchant: Installing for build: build-base enchant2 python3 py3-setuptools py3-pytest aspell-en (1/43) Installing enchant2-data (2.6.2-r0) (2/43) Installing libintl (0.22.3-r0) (3/43) Installing aspell-libs (0.60.8-r5) (4/43) Installing libffi (3.4.4-r3) (5/43) Installing libblkid (2.39.2-r0) (6/43) Installing libmount (2.39.2-r0) (7/43) Installing glib (2.78.1-r0) (8/43) Installing enchant2-libs (2.6.2-r0) (9/43) Installing enchant2-aspell (2.6.2-r0) (10/43) Installing libhunspell (1.7.2-r4) (11/43) Installing enchant2-hunspell (2.6.2-r0) (12/43) Installing icu-data-en (73.2-r3) Executing icu-data-en-73.2-r3.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (13/43) Installing icu-libs (73.2-r3) (14/43) Installing nuspell-libs (5.1.3-r0) (15/43) Installing enchant2-nuspell (2.6.2-r0) (16/43) Installing enchant2 (2.6.2-r0) (17/43) Installing libbz2 (1.0.8-r6) (18/43) Installing gdbm (1.23-r1) (19/43) Installing xz-libs (5.4.5-r0) (20/43) Installing mpdecimal (2.5.1-r2) (21/43) Installing libpanelw (6.4_p20231007-r0) (22/43) Installing readline (8.2.1-r2) (23/43) Installing sqlite-libs (3.44.0-r0) (24/43) Installing python3 (3.11.6-r1) (25/43) Installing python3-pycache-pyc0 (3.11.6-r1) (26/43) Installing pyc (3.11.6-r1) (27/43) Installing python3-pyc (3.11.6-r1) (28/43) Installing py3-parsing (3.1.1-r0) (29/43) Installing py3-parsing-pyc (3.1.1-r0) (30/43) Installing py3-packaging (23.2-r0) (31/43) Installing py3-packaging-pyc (23.2-r0) (32/43) Installing py3-setuptools (68.2.2-r0) (33/43) Installing py3-setuptools-pyc (68.2.2-r0) (34/43) Installing py3-iniconfig (1.1.1-r7) (35/43) Installing py3-iniconfig-pyc (1.1.1-r7) (36/43) Installing py3-pluggy (1.3.0-r0) (37/43) Installing py3-pluggy-pyc (1.3.0-r0) (38/43) Installing py3-py (1.11.0-r2) (39/43) Installing py3-py-pyc (1.11.0-r2) (40/43) Installing py3-pytest (7.4.3-r0) (41/43) Installing py3-pytest-pyc (7.4.3-r0) (42/43) Installing aspell-en (2020.12.07-r0) (43/43) Installing .makedepends-py3-enchant (20231108.134919) Executing busybox-1.36.1-r15.trigger Executing glib-2.78.1-r0.trigger OK: 338 MiB in 145 packages >>> py3-enchant: Cleaning up srcdir >>> py3-enchant: Cleaning up pkgdir >>> py3-enchant: Cleaning up tmpdir >>> py3-enchant: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//py3-enchant-3.2.2.tar.gz >>> py3-enchant: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//py3-enchant-3.2.2.tar.gz >>> py3-enchant: Checking sha512sums... py3-enchant-3.2.2.tar.gz: OK remove-first.patch: OK >>> py3-enchant: Unpacking /var/cache/distfiles/py3-enchant-3.2.2.tar.gz... >>> py3-enchant: remove-first.patch patching file tests/test_dict.py running build running build_py creating build creating build/lib creating build/lib/enchant copying enchant/errors.py -> build/lib/enchant copying enchant/pypwl.py -> build/lib/enchant copying enchant/_enchant.py -> build/lib/enchant copying enchant/utils.py -> build/lib/enchant copying enchant/__init__.py -> build/lib/enchant creating build/lib/enchant/tokenize copying enchant/tokenize/en.py -> build/lib/enchant/tokenize copying enchant/tokenize/__init__.py -> build/lib/enchant/tokenize creating build/lib/enchant/checker copying enchant/checker/GtkSpellCheckerDialog.py -> build/lib/enchant/checker copying enchant/checker/wxSpellCheckerDialog.py -> build/lib/enchant/checker copying enchant/checker/CmdLineChecker.py -> build/lib/enchant/checker copying enchant/checker/__init__.py -> build/lib/enchant/checker running egg_info creating pyenchant.egg-info writing pyenchant.egg-info/PKG-INFO writing dependency_links to pyenchant.egg-info/dependency_links.txt writing top-level names to pyenchant.egg-info/top_level.txt writing manifest file 'pyenchant.egg-info/SOURCES.txt' reading manifest file 'pyenchant.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'enchant/data/' adding license file 'LICENSE.txt' writing manifest file 'pyenchant.egg-info/SOURCES.txt' ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 rootdir: /home/buildozer/aports/community/py3-enchant/src/pyenchant-3.2.2 collected 53 items tests/test_broker.py ..... [ 9%] tests/test_checker.py ........... [ 30%] tests/test_dict.py ........... [ 50%] tests/test_docstrings.py . [ 52%] tests/test_misc.py .. [ 56%] tests/test_multiprocessing.py . [ 58%] tests/test_pwl.py ...FF.. [ 71%] tests/test_tokenize.py .............. [ 98%] tests/test_utils.py . [100%] =================================== FAILURES =================================== _______________________________ test_suggestions _______________________________ pwl_path = PosixPath('/tmp/pytest-of-buildozer/pytest-63/test_suggestions0/pwl.txt') def test_suggestions(pwl_path): """Test getting suggestions from a PWL.""" set_pwl_contents(pwl_path, ["Sazz", "Lozz"]) d = request_pwl_dict(str(pwl_path)) > assert "Sazz" in d.suggest("Saz") E AssertionError: assert 'Sazz' in [] E + where [] = >('Saz') E + where > = .suggest tests/test_pwl.py:64: AssertionError __________________________________ test_dwpwl __________________________________ tmp_path = PosixPath('/tmp/pytest-of-buildozer/pytest-63/test_dwpwl0') pwl_path = PosixPath('/tmp/pytest-of-buildozer/pytest-63/test_dwpwl0/pwl.txt') def test_dwpwl(tmp_path, pwl_path): """Test functionality of DictWithPWL.""" set_pwl_contents(pwl_path, ["Sazz", "Lozz"]) other_path = tmp_path / "pel.txt" d = DictWithPWL("en_US", str(pwl_path), str(other_path)) assert d.check("Sazz") assert d.check("Lozz") assert d.check("hello") assert not d.check("helo") assert not d.check("Flagen") d.add("Flagen") assert d.check("Flagen") assert "Flagen" in get_pwl_contents(pwl_path) > assert "Flagen" in d.suggest("Flagn") E AssertionError: assert 'Flagen' in ['Flagon', 'Flan', 'Flag', 'Fling', 'Flags', 'Flynn', ...] E + where ['Flagon', 'Flan', 'Flag', 'Fling', 'Flags', 'Flynn', ...] = >('Flagn') E + where > = .suggest tests/test_pwl.py:85: AssertionError =========================== short test summary info ============================ FAILED tests/test_pwl.py::test_suggestions - AssertionError: assert 'Sazz' in [] FAILED tests/test_pwl.py::test_dwpwl - AssertionError: assert 'Flagen' in ['F... ========================= 2 failed, 51 passed in 1.48s ========================= >>> ERROR: py3-enchant: check failed >>> py3-enchant: Uninstalling dependencies... (1/43) Purging .makedepends-py3-enchant (20231108.134919) (2/43) Purging enchant2 (2.6.2-r0) (3/43) Purging enchant2-aspell (2.6.2-r0) (4/43) Purging enchant2-hunspell (2.6.2-r0) (5/43) Purging enchant2-nuspell (2.6.2-r0) (6/43) Purging enchant2-data (2.6.2-r0) (7/43) Purging py3-setuptools-pyc (68.2.2-r0) (8/43) Purging py3-setuptools (68.2.2-r0) (9/43) Purging py3-pytest-pyc (7.4.3-r0) (10/43) Purging py3-pytest (7.4.3-r0) (11/43) Purging py3-iniconfig-pyc (1.1.1-r7) (12/43) Purging py3-iniconfig (1.1.1-r7) (13/43) Purging py3-packaging-pyc (23.2-r0) (14/43) Purging py3-packaging (23.2-r0) (15/43) Purging py3-parsing-pyc (3.1.1-r0) (16/43) Purging py3-parsing (3.1.1-r0) (17/43) Purging py3-pluggy-pyc (1.3.0-r0) (18/43) Purging py3-pluggy (1.3.0-r0) (19/43) Purging py3-py-pyc (1.11.0-r2) (20/43) Purging py3-py (1.11.0-r2) (21/43) Purging aspell-en (2020.12.07-r0) (22/43) Purging aspell-libs (0.60.8-r5) (23/43) Purging enchant2-libs (2.6.2-r0) (24/43) Purging glib (2.78.1-r0) (25/43) Purging libhunspell (1.7.2-r4) (26/43) Purging libintl (0.22.3-r0) (27/43) Purging libmount (2.39.2-r0) (28/43) Purging nuspell-libs (5.1.3-r0) (29/43) Purging python3-pyc (3.11.6-r1) (30/43) Purging python3-pycache-pyc0 (3.11.6-r1) (31/43) Purging pyc (3.11.6-r1) (32/43) Purging python3 (3.11.6-r1) (33/43) Purging gdbm (1.23-r1) (34/43) Purging icu-libs (73.2-r3) (35/43) Purging icu-data-en (73.2-r3) (36/43) Purging libblkid (2.39.2-r0) (37/43) Purging libbz2 (1.0.8-r6) (38/43) Purging libffi (3.4.4-r3) (39/43) Purging libpanelw (6.4_p20231007-r0) (40/43) Purging mpdecimal (2.5.1-r2) (41/43) Purging readline (8.2.1-r2) (42/43) Purging sqlite-libs (3.44.0-r0) (43/43) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r15.trigger OK: 271 MiB in 102 packages