>>> py3-furl: Checking sanity of /home/patrycja/aports/testing/py3-furl/APKBUILD... >>> py3-furl: Cleaning up srcdir >>> py3-furl: Cleaning up pkgdir >>> py3-furl: Cleaning up tmpdir >>> py3-furl: Fetching https://files.pythonhosted.org/packages/source/f/furl/furl-2.1.3.tar.gz >>> py3-furl: Fetching https://files.pythonhosted.org/packages/source/f/furl/furl-2.1.3.tar.gz >>> py3-furl: Checking sha512sums... furl-2.1.3.tar.gz: OK >>> py3-furl: 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-r2) (4/112) Installing libssl3 (3.2.1-r2) (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-r2) (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_p20240330-r0) (78/112) Installing libncursesw (6.4_p20240330-r0) (79/112) Installing libpanelw (6.4_p20240330-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-pyflakes-pyc (3.2.0-r1) (86/112) Installing py3-pycodestyle (2.11.1-r1) (87/112) Installing py3-pycodestyle-pyc (2.11.1-r1) (88/112) Installing py3-mccabe (0.7.0-r3) (89/112) Installing py3-mccabe-pyc (0.7.0-r3) (90/112) Installing py3-flake8-pyc (7.0.0-r1) (91/112) Installing python3-pyc (3.12.2-r0) (92/112) Installing py3-pyflakes (3.2.0-r1) (93/112) Installing py3-flake8 (7.0.0-r1) (94/112) Installing py3-six (1.16.0-r9) (95/112) Installing py3-six-pyc (1.16.0-r9) (96/112) Installing py3-orderedmultidict (1.0.1-r5) (97/112) Installing py3-orderedmultidict-pyc (1.0.1-r5) (98/112) Installing py3-iniconfig (2.0.0-r1) (99/112) Installing py3-iniconfig-pyc (2.0.0-r1) (100/112) Installing py3-parsing (3.1.2-r1) (101/112) Installing py3-parsing-pyc (3.1.2-r1) (102/112) Installing py3-packaging (24.0-r1) (103/112) Installing py3-packaging-pyc (24.0-r1) (104/112) Installing py3-pluggy (1.4.0-r1) (105/112) Installing py3-pluggy-pyc (1.4.0-r1) (106/112) Installing py3-py (1.11.0-r3) (107/112) Installing py3-py-pyc (1.11.0-r3) (108/112) Installing py3-pytest (8.1.1-r1) (109/112) Installing py3-pytest-pyc (8.1.1-r1) (110/112) Installing py3-setuptools (69.2.0-r1) (111/112) Installing py3-setuptools-pyc (69.2.0-r1) (112/112) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger OK: 295 MiB in 112 packages >>> py3-furl: Fetching https://files.pythonhosted.org/packages/source/f/furl/furl-2.1.3.tar.gz >>> py3-furl: Checking sha512sums... furl-2.1.3.tar.gz: OK >>> py3-furl: Unpacking /var/cache/distfiles/furl-2.1.3.tar.gz... running build running build_py creating build creating build/lib creating build/lib/furl copying furl/furl.py -> build/lib/furl copying furl/__version__.py -> build/lib/furl copying furl/omdict1D.py -> build/lib/furl copying furl/common.py -> build/lib/furl copying furl/__init__.py -> build/lib/furl copying furl/compat.py -> build/lib/furl running egg_info writing furl.egg-info/PKG-INFO writing dependency_links to furl.egg-info/dependency_links.txt writing requirements to furl.egg-info/requires.txt writing top-level names to furl.egg-info/top_level.txt reading manifest file 'furl.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.md' writing manifest file 'furl.egg-info/SOURCES.txt' ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/testing/py3-furl/src/furl-2.1.3 collected 78 items tests/test_furl.py .................................................F... [ 67%] .....F............... [ 94%] tests/test_omdict1D.py .... [100%] =================================== FAILURES =================================== _____________________________ TestFurl.test_hosts ______________________________ self = def test_hosts(self): # No host. url = 'http:///index.html' f = furl.furl(url) assert f.host == '' and furl.furl(url).url == url # Valid IPv4 and IPv6 addresses. f = furl.furl('http://192.168.1.101') f = furl.furl('http://[2001:db8:85a3:8d3:1319:8a2e:370:7348]/') # Host strings are always lowercase. f = furl.furl('http://wWw.PuMpS.com') assert f.host == 'www.pumps.com' f.host = 'yEp.NoPe' assert f.host == 'yep.nope' f.set(host='FeE.fIe.FoE.fUm') assert f.host == 'fee.fie.foe.fum' # Invalid IPv4 addresses shouldn't raise an exception because # urlparse.urlsplit() doesn't raise an exception on invalid IPv4 # addresses. f = furl.furl('http://1.2.3.4.5.6/') # Invalid, but well-formed, IPv6 addresses shouldn't raise an # exception because urlparse.urlsplit() doesn't raise an # exception on invalid IPv6 addresses. > furl.furl('http://[0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999]/') tests/test_furl.py:1672: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ furl/furl.py:1381: in __init__ self.load(url) # Raises ValueError on invalid URL. furl/furl.py:1406: in load tokens = urlsplit(url) furl/furl.py:312: in urlsplit scheme, netloc, path, query, fragment = urllib.parse.urlsplit(url) /usr/lib/python3.12/urllib/parse.py:500: in urlsplit _check_bracketed_host(bracketed_host) /usr/lib/python3.12/urllib/parse.py:446: in _check_bracketed_host ip = ipaddress.ip_address(hostname) # Throws Value Error if not IPv6 or IPv4 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = '0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999' def ip_address(address): """Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP address. Either IPv4 or IPv6 addresses may be supplied; integers less than 2**32 will be considered to be IPv4 by default. Returns: An IPv4Address or IPv6Address object. Raises: ValueError: if the *address* passed isn't either a v4 or a v6 address """ try: return IPv4Address(address) except (AddressValueError, NetmaskValueError): pass try: return IPv6Address(address) except (AddressValueError, NetmaskValueError): pass > raise ValueError(f'{address!r} does not appear to be an IPv4 or IPv6 address') E ValueError: '0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999' does not appear to be an IPv4 or IPv6 address /usr/lib/python3.12/ipaddress.py:54: ValueError _____________________________ TestFurl.test_netloc _____________________________ self = def test_netloc(self): f = furl.furl('http://pumps.com/') netloc = '1.2.3.4.5.6:999' f.netloc = netloc assert f.netloc == netloc assert f.host == '1.2.3.4.5.6' assert f.port == 999 netloc = '[0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999]:888' > f.netloc = netloc tests/test_furl.py:1699: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ furl/furl.py:1889: in __setattr__ object.__setattr__(self, attr, value) furl/furl.py:1504: in netloc urllib.parse.urlsplit('http://%s/' % netloc) /usr/lib/python3.12/urllib/parse.py:500: in urlsplit _check_bracketed_host(bracketed_host) /usr/lib/python3.12/urllib/parse.py:446: in _check_bracketed_host ip = ipaddress.ip_address(hostname) # Throws Value Error if not IPv6 or IPv4 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = '0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999' def ip_address(address): """Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP address. Either IPv4 or IPv6 addresses may be supplied; integers less than 2**32 will be considered to be IPv4 by default. Returns: An IPv4Address or IPv6Address object. Raises: ValueError: if the *address* passed isn't either a v4 or a v6 address """ try: return IPv4Address(address) except (AddressValueError, NetmaskValueError): pass try: return IPv6Address(address) except (AddressValueError, NetmaskValueError): pass > raise ValueError(f'{address!r} does not appear to be an IPv4 or IPv6 address') E ValueError: '0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999' does not appear to be an IPv4 or IPv6 address /usr/lib/python3.12/ipaddress.py:54: ValueError =========================== short test summary info ============================ FAILED tests/test_furl.py::TestFurl::test_hosts - ValueError: '0:0:0:0:0:0:0:... FAILED tests/test_furl.py::TestFurl::test_netloc - ValueError: '0:0:0:0:0:0:0... ========================= 2 failed, 76 passed in 4.52s ========================= >>> ERROR: py3-furl: check failed >>> ERROR: py3-furl: rootbld failed >>> py3-furl: Cleaning up build chroot