>>> py3-liac-arff: Checking sanity of /home/patrycja/aports/community/py3-liac-arff/APKBUILD... >>> py3-liac-arff: Cleaning up srcdir >>> py3-liac-arff: Cleaning up pkgdir >>> py3-liac-arff: Cleaning up tmpdir >>> py3-liac-arff: Fetching https://github.com/renatopp/liac-arff/archive/v2.5.0/liac-arff-2.5.0.tar.gz >>> py3-liac-arff: Fetching https://github.com/renatopp/liac-arff/archive/v2.5.0/liac-arff-2.5.0.tar.gz >>> py3-liac-arff: Checking sha512sums... liac-arff-2.5.0.tar.gz: OK >>> py3-liac-arff: Preparing build chroot... (1/112) Installing musl (1.2.5-r0) (2/112) Installing ca-certificates-bundle (20240226-r0) (3/112) Installing libcrypto3 (3.2.1-r1) (4/112) Installing libssl3 (3.2.1-r1) (5/112) Installing zlib (1.3.1-r0) (6/112) Installing apk-tools (2.14.3-r1) (7/112) Installing libattr (2.5.2-r0) (8/112) Installing attr (2.5.2-r0) (9/112) Installing libcap2 (2.69-r1) (10/112) Installing libcap-getcap (2.69-r1) (11/112) Installing fakeroot (1.33-r0) (12/112) Installing scanelf (1.3.7-r2) (13/112) Installing musl-utils (1.2.5-r0) (14/112) Installing libgcc (13.2.1_git20240309-r0) (15/112) Installing libstdc++ (13.2.1_git20240309-r0) (16/112) Installing lzip (1.24.1-r0) (17/112) Installing openssl (3.2.1-r1) (18/112) Installing patch (2.7.6-r10) (19/112) Installing pkgconf (2.2.0-r0) (20/112) Installing libacl (2.3.2-r0) (21/112) Installing tar (1.35-r2) (22/112) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/112) Installing ssl_client (1.36.1-r25) (24/112) Installing busybox-binsh (1.36.1-r25) (25/112) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/112) Installing abuild-sudo (3.12.0-r5) (27/112) Installing alpine-baselayout-data (3.6.3-r0) (28/112) Installing alpine-baselayout (3.6.3-r0) Executing alpine-baselayout-3.6.3-r0.pre-install Executing alpine-baselayout-3.6.3-r0.post-install (29/112) Installing ifupdown-ng (0.12.1-r5) (30/112) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/112) Installing mdev-conf (4.6-r0) (32/112) Installing busybox-mdev-openrc (1.36.1-r25) (33/112) Installing alpine-conf (3.17.2-r0) (34/112) Installing alpine-keys (2.4-r1) (35/112) Installing alpine-release (3.20.0_alpha20240329-r0) (36/112) Installing busybox-openrc (1.36.1-r25) (37/112) Installing busybox-suid (1.36.1-r25) (38/112) Installing alpine-base (3.20.0_alpha20240329-r0) (39/112) Installing jansson (2.14-r4) (40/112) Installing zstd-libs (1.5.6-r0) (41/112) Installing binutils (2.42-r0) (42/112) Installing libmagic (5.45-r1) (43/112) Installing file (5.45-r1) (44/112) Installing libgomp (13.2.1_git20240309-r0) (45/112) Installing libatomic (13.2.1_git20240309-r0) (46/112) Installing gmp (6.3.0-r0) (47/112) Installing isl26 (0.26-r1) (48/112) Installing mpfr4 (4.2.1-r0) (49/112) Installing mpc1 (1.3.1-r1) (50/112) Installing gcc (13.2.1_git20240309-r0) (51/112) Installing libstdc++-dev (13.2.1_git20240309-r0) (52/112) Installing musl-dev (1.2.5-r0) (53/112) Installing g++ (13.2.1_git20240309-r0) (54/112) Installing make (4.4.1-r2) (55/112) Installing fortify-headers (1.1-r3) (56/112) Installing build-base (0.5-r3) (57/112) Installing hiredis (1.2.0-r0) (58/112) Installing libxxhash (0.8.2-r2) (59/112) Installing ccache (4.9.1-r0) (60/112) Installing ca-certificates (20240226-r0) (61/112) Installing brotli-libs (1.1.0-r2) (62/112) Installing c-ares (1.28.1-r0) (63/112) Installing libunistring (1.2-r0) (64/112) Installing libidn2 (2.3.7-r0) (65/112) Installing nghttp2-libs (1.61.0-r0) (66/112) Installing libpsl (0.21.5-r1) (67/112) Installing libcurl (8.7.1-r0) (68/112) Installing libexpat (2.6.2-r0) (69/112) Installing pcre2 (10.43-r0) (70/112) Installing git (2.44.0-r2) (71/112) Installing git-init-template (2.44.0-r2) (72/112) Installing libbz2 (1.0.8-r6) (73/112) Installing libffi (3.4.6-r0) (74/112) Installing gdbm (1.23-r1) (75/112) Installing xz-libs (5.6.1-r2) (76/112) Installing mpdecimal (4.0.0-r0) (77/112) Installing ncurses-terminfo-base (6.4_p20240309-r0) (78/112) Installing libncursesw (6.4_p20240309-r0) (79/112) Installing libpanelw (6.4_p20240309-r0) (80/112) Installing readline (8.2.10-r0) (81/112) Installing sqlite-libs (3.45.2-r0) (82/112) Installing python3 (3.12.2-r0) (83/112) Installing python3-pycache-pyc0 (3.12.2-r0) (84/112) Installing pyc (3.12.2-r0) (85/112) Installing py3-installer-pyc (0.7.0-r2) (86/112) Installing py3-gpep517-pyc (15-r2) (87/112) Installing python3-pyc (3.12.2-r0) (88/112) Installing py3-installer (0.7.0-r2) (89/112) Installing py3-gpep517 (15-r2) (90/112) Installing py3-apipkg (2.1.0-r3) (91/112) Installing py3-apipkg-pyc (2.1.0-r3) (92/112) Installing py3-execnet (1.9.0-r3) (93/112) Installing py3-execnet-pyc (1.9.0-r3) (94/112) Installing py3-iniconfig (2.0.0-r1) (95/112) Installing py3-iniconfig-pyc (2.0.0-r1) (96/112) Installing py3-parsing (3.1.2-r1) (97/112) Installing py3-parsing-pyc (3.1.2-r1) (98/112) Installing py3-packaging (24.0-r1) (99/112) Installing py3-packaging-pyc (24.0-r1) (100/112) Installing py3-pluggy (1.4.0-r1) (101/112) Installing py3-pluggy-pyc (1.4.0-r1) (102/112) Installing py3-py (1.11.0-r3) (103/112) Installing py3-py-pyc (1.11.0-r3) (104/112) Installing py3-pytest (8.1.1-r1) (105/112) Installing py3-pytest-pyc (8.1.1-r1) (106/112) Installing py3-pytest-xdist (3.5.0-r1) (107/112) Installing py3-pytest-xdist-pyc (3.5.0-r1) (108/112) Installing py3-setuptools (69.2.0-r1) (109/112) Installing py3-setuptools-pyc (69.2.0-r1) (110/112) Installing py3-wheel (0.42.0-r1) (111/112) Installing py3-wheel-pyc (0.42.0-r1) (112/112) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger OK: 296 MiB in 112 packages >>> py3-liac-arff: Fetching https://github.com/renatopp/liac-arff/archive/v2.5.0/liac-arff-2.5.0.tar.gz >>> py3-liac-arff: Checking sha512sums... liac-arff-2.5.0.tar.gz: OK >>> py3-liac-arff: Unpacking /var/cache/distfiles/liac-arff-2.5.0.tar.gz... 2024-04-08 15:16:20,093 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-04-08 15:16:20,109 root INFO running bdist_wheel 2024-04-08 15:16:20,119 root INFO running build 2024-04-08 15:16:20,119 root INFO running build_py 2024-04-08 15:16:20,121 root INFO creating build 2024-04-08 15:16:20,121 root INFO creating build/lib 2024-04-08 15:16:20,121 root INFO copying arff.py -> build/lib 2024-04-08 15:16:20,124 wheel INFO installing to build/bdist.linux-x86_64/wheel 2024-04-08 15:16:20,124 root INFO running install 2024-04-08 15:16:20,129 root INFO running install_lib 2024-04-08 15:16:20,130 root INFO creating build/bdist.linux-x86_64 2024-04-08 15:16:20,130 root INFO creating build/bdist.linux-x86_64/wheel 2024-04-08 15:16:20,130 root INFO copying build/lib/arff.py -> build/bdist.linux-x86_64/wheel 2024-04-08 15:16:20,130 root INFO running install_egg_info 2024-04-08 15:16:20,133 root INFO running egg_info 2024-04-08 15:16:20,133 root INFO creating liac_arff.egg-info 2024-04-08 15:16:20,134 root INFO writing liac_arff.egg-info/PKG-INFO 2024-04-08 15:16:20,134 root INFO writing dependency_links to liac_arff.egg-info/dependency_links.txt 2024-04-08 15:16:20,134 root INFO writing top-level names to liac_arff.egg-info/top_level.txt 2024-04-08 15:16:20,134 root INFO writing manifest file 'liac_arff.egg-info/SOURCES.txt' 2024-04-08 15:16:20,135 root INFO reading manifest file 'liac_arff.egg-info/SOURCES.txt' 2024-04-08 15:16:20,135 root INFO adding license file 'LICENSE' 2024-04-08 15:16:20,136 root INFO writing manifest file 'liac_arff.egg-info/SOURCES.txt' 2024-04-08 15:16:20,136 root INFO Copying liac_arff.egg-info to build/bdist.linux-x86_64/wheel/liac_arff-2.5.0-py3.12.egg-info 2024-04-08 15:16:20,136 root INFO running install_scripts 2024-04-08 15:16:20,137 wheel INFO creating build/bdist.linux-x86_64/wheel/liac_arff-2.5.0.dist-info/WHEEL 2024-04-08 15:16:20,137 wheel INFO creating '/home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.dist/.tmp-ft0p12as/liac_arff-2.5.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2024-04-08 15:16:20,138 wheel INFO adding 'arff.py' 2024-04-08 15:16:20,138 wheel INFO adding 'liac_arff-2.5.0.dist-info/LICENSE' 2024-04-08 15:16:20,138 wheel INFO adding 'liac_arff-2.5.0.dist-info/METADATA' 2024-04-08 15:16:20,138 wheel INFO adding 'liac_arff-2.5.0.dist-info/WHEEL' 2024-04-08 15:16:20,138 wheel INFO adding 'liac_arff-2.5.0.dist-info/top_level.txt' 2024-04-08 15:16:20,138 wheel INFO adding 'liac_arff-2.5.0.dist-info/RECORD' 2024-04-08 15:16:20,138 wheel INFO removing build/bdist.linux-x86_64/wheel 2024-04-08 15:16:20,138 gpep517 INFO The backend produced .dist/liac_arff-2.5.0-py3-none-any.whl liac_arff-2.5.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0 plugins: xdist-3.5.0 created: 16/16 workers 16 workers [141 items] ........................................................................ [ 51%] ............F......F....F.....FF..F............FFF......F............ [100%] =================================== FAILURES =================================== ________________ TestData.test_encode_too_many_attributes_dense ________________ [gw6] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_encode_too_many_attributes_dense(self): my_arff = { "attributes": [["attr", "INTEGER"]], "data": [[0], [1, 2]], "relation": 'Too many attributes' } encoder = arff.ArffEncoder() > with self.assertRaisesRegexp(arff.BadObject, "Instance 1 has 2 attributes, expected 1"): E AttributeError: 'TestData' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_data.py:99: AttributeError _______________ TestLODData.test_encode_too_many_attributes_lod ________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_encode_too_many_attributes_lod(self): my_arff = { "attributes": [["attr", "INTEGER"]], "data": [{0: 1}, {1: 2}], "relation": 'Too many attributes' } encoder = arff.ArffEncoder() > with self.assertRaisesRegexp(arff.BadObject, "Instance 1 has 2 attributes, expected 1"): E AttributeError: 'TestLODData' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_data.py:300: AttributeError _______________ TestCOOData.test_encode_too_many_attributes_coo ________________ [gw0] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_encode_too_many_attributes_coo(self): coo = COOStub([1, 1, 1, 1, 1, 1, 1], [0, 1, 1, 1, 1, 1, 3], [0, 1, 2, 3, 4, 5, 0]) coo.format = 'coo' my_arff = { "attributes": [["attr", "INTEGER"]], "data": coo, "relation": 'Too many attributes' } encoder = arff.ArffEncoder() > with self.assertRaisesRegexp(arff.BadObject, "Instance 1 has at least 2 attributes, " "expected 1"): E AttributeError: 'TestCOOData' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_data.py:206: AttributeError ____________________ TestDuplicateAttributeName.test_decode ____________________ [gw4] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_decode(self): decoder = arff.ArffDecoder() > with self.assertRaisesRegexp(arff.BadAttributeName, 'Bad @ATTRIBUTE name attr1 at line 4, ' 'this name is already in use in line 3.'): E AttributeError: 'TestDuplicateAttributeName' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_decode.py:359: AttributeError ________________________ TestInvalidValues.test_sparse _________________________ [gw7] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_sparse(self): fixture = self.my_arff.format(data="{0 a',1 'c d'}") > with self.assertRaisesRegexp(arff.ArffException, "',1 'c d'\}."): E AttributeError: 'TestInvalidValues' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_decode.py:399: AttributeError ________________________ TestTooManyAttributes.test_coo ________________________ [gw5] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_coo(self): decoder = arff.ArffDecoder() > with self.assertRaisesRegexp(arff.BadDataFormat, 'Bad @DATA instance format in line 10: ' '\{2 a\}'): E AttributeError: 'TestTooManyAttributes' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_decode.py:333: AttributeError ____________ TestEncodeComment.test_encode_duplicate_attribute_name ____________ [gw6] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_encode_duplicate_attribute_name(self): encoder = self.get_encoder() fixture = { 'relation': 'name', 'attributes': [('name', 'INTEGER'), ('name', 'INTEGER')], 'data': [[0], [1]], } > with self.assertRaisesRegexp(arff.BadObject, 'Trying to use attribute name "name" ' 'for the second time.'): E AttributeError: 'TestEncodeComment' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_encode.py:169: AttributeError _______________________ TestTooManyAttributes.test_dense _______________________ [gw9] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_dense(self): decoder = arff.ArffDecoder() > with self.assertRaisesRegexp(arff.BadDataFormat, 'Bad @DATA instance format in line 10: ' '\{2 a\}'): E AttributeError: 'TestTooManyAttributes' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_decode.py:326: AttributeError _________________________ TestInvalidValues.test_dense _________________________ [gw11] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_dense(self): fixture = self.my_arff.format(data="a','c d'") > with self.assertRaisesRegexp(arff.ArffException, "','c d'"): E AttributeError: 'TestInvalidValues' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_decode.py:382: AttributeError ________________________ TestTooManyAttributes.test_lod ________________________ [gw1] linux -- Python 3.12.2 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/.testenv/bin/python3 self = def test_lod(self): decoder = arff.ArffDecoder() > with self.assertRaisesRegexp(arff.BadDataFormat, 'Bad @DATA instance format in line 10: ' '\{2 a\}'): E AttributeError: 'TestTooManyAttributes' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'? tests/test_decode.py:340: AttributeError =============================== warnings summary =============================== tests/test_decode.py:328 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/tests/test_decode.py:328: SyntaxWarning: invalid escape sequence '\{' '\{2 a\}'): tests/test_decode.py:335 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/tests/test_decode.py:335: SyntaxWarning: invalid escape sequence '\{' '\{2 a\}'): tests/test_decode.py:342 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/tests/test_decode.py:342: SyntaxWarning: invalid escape sequence '\{' '\{2 a\}'): tests/test_decode.py:400 /home/patrycja/aports/community/py3-liac-arff/src/liac-arff-2.5.0/tests/test_decode.py:400: SyntaxWarning: invalid escape sequence '\}' "',1 'c d'\}."): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_data.py::TestData::test_encode_too_many_attributes_dense - ... FAILED tests/test_data.py::TestLODData::test_encode_too_many_attributes_lod FAILED tests/test_data.py::TestCOOData::test_encode_too_many_attributes_coo FAILED tests/test_decode.py::TestDuplicateAttributeName::test_decode - Attrib... FAILED tests/test_decode.py::TestInvalidValues::test_sparse - AttributeError:... FAILED tests/test_decode.py::TestTooManyAttributes::test_coo - AttributeError... FAILED tests/test_encode.py::TestEncodeComment::test_encode_duplicate_attribute_name FAILED tests/test_decode.py::TestTooManyAttributes::test_dense - AttributeErr... FAILED tests/test_decode.py::TestInvalidValues::test_dense - AttributeError: ... FAILED tests/test_decode.py::TestTooManyAttributes::test_lod - AttributeError... ================== 10 failed, 131 passed, 4 warnings in 0.80s ================== >>> ERROR: py3-liac-arff: check failed >>> ERROR: py3-liac-arff: rootbld failed >>> py3-liac-arff: Cleaning up build chroot