>>> py3-treq: Building community/py3-treq 22.2.0-r4 (using abuild 3.15.0_rc3-r1) started Thu, 08 May 2025 20:27:42 +0000 >>> py3-treq: Validating /home/buildozer/aports/community/py3-treq/APKBUILD... >>> WARNING: py3-treq: No maintainer >>> py3-treq: Analyzing dependencies... >>> py3-treq: Installing for build: build-base python3 py3-incremental py3-requests py3-twisted py3-attrs py3-setuptools py3-httpbin py3-openssl py3-pytest py3-mock py3-service_identity py3-twisted-tests (1/103) Installing libbz2 (1.0.8-r6) (2/103) Installing libffi (3.4.8-r0) (3/103) Installing gdbm (1.24-r0) (4/103) Installing xz-libs (5.8.1-r0) (5/103) Installing mpdecimal (4.0.0-r0) (6/103) Installing libpanelw (6.5_p20250503-r0) (7/103) Installing sqlite-libs (3.49.2-r0) (8/103) Installing python3 (3.12.10-r0) (9/103) Installing python3-pycache-pyc0 (3.12.10-r0) (10/103) Installing pyc (3.12.10-r0) (11/103) Installing python3-pyc (3.12.10-r0) (12/103) Installing py3-incremental (24.7.2-r0) (13/103) Installing py3-incremental-pyc (24.7.2-r0) (14/103) Installing py3-certifi (2025.4.26-r0) (15/103) Installing py3-certifi-pyc (2025.4.26-r0) (16/103) Installing py3-charset-normalizer (3.4.2-r0) (17/103) Installing py3-charset-normalizer-pyc (3.4.2-r0) (18/103) Installing py3-idna (3.10-r0) (19/103) Installing py3-idna-pyc (3.10-r0) (20/103) Installing py3-urllib3 (1.26.20-r0) (21/103) Installing py3-urllib3-pyc (1.26.20-r0) (22/103) Installing py3-requests (2.32.3-r0) (23/103) Installing py3-requests-pyc (2.32.3-r0) (24/103) Installing py3-cparser (2.22-r1) (25/103) Installing py3-cparser-pyc (2.22-r1) (26/103) Installing py3-cffi (1.17.1-r1) (27/103) Installing py3-cffi-pyc (1.17.1-r1) (28/103) Installing py3-cryptography (44.0.3-r0) (29/103) Installing py3-cryptography-pyc (44.0.3-r0) (30/103) Installing py3-zope-interface (7.2-r0) (31/103) Installing py3-zope-interface-pyc (7.2-r0) (32/103) Installing py3-constantly (23.10.4-r1) (33/103) Installing py3-constantly-pyc (23.10.4-r1) (34/103) Installing py3-attrs (25.3.0-r0) (35/103) Installing py3-attrs-pyc (25.3.0-r0) (36/103) Installing py3-six (1.17.0-r0) (37/103) Installing py3-six-pyc (1.17.0-r0) (38/103) Installing py3-automat (24.8.1-r0) (39/103) Installing py3-automat-pyc (24.8.1-r0) (40/103) Installing py3-hyperlink (21.0.0-r5) (41/103) Installing py3-hyperlink-pyc (21.0.0-r5) (42/103) Installing py3-typing-extensions (4.13.2-r0) (43/103) Installing py3-typing-extensions-pyc (4.13.2-r0) (44/103) Installing py3-pyhamcrest (2.1.0-r1) (45/103) Installing py3-pyhamcrest-pyc (2.1.0-r1) (46/103) Installing py3-asn1 (0.6.1-r0) (47/103) Installing py3-asn1-pyc (0.6.1-r0) (48/103) Installing py3-asn1-modules (0.4.1-r0) (49/103) Installing py3-asn1-modules-pyc (0.4.1-r0) (50/103) Installing py3-service_identity (24.2.0-r0) (51/103) Installing py3-service_identity-pyc (24.2.0-r0) (52/103) Installing py3-pyserial (3.5-r7) (53/103) Installing py3-pyserial-pyc (3.5-r7) (54/103) Installing py3-hyperframe (6.1.0-r0) (55/103) Installing py3-hyperframe-pyc (6.1.0-r0) (56/103) Installing py3-hpack (4.1.0-r0) (57/103) Installing py3-hpack-pyc (4.1.0-r0) (58/103) Installing py3-h2 (4.1.0-r3) (59/103) Installing py3-h2-pyc (4.1.0-r3) (60/103) Installing py3-parsing (3.2.3-r0) (61/103) Installing py3-parsing-pyc (3.2.3-r0) (62/103) Installing py3-packaging (25.0-r0) (63/103) Installing py3-packaging-pyc (25.0-r0) (64/103) Installing py3-setuptools (80.3.1-r0) (65/103) Installing py3-setuptools-pyc (80.3.1-r0) (66/103) Installing py3-twisted (24.11.0-r0) (67/103) Installing py3-twisted-pyc (24.11.0-r0) (68/103) Installing py3-blinker (1.9.0-r0) (69/103) Installing py3-blinker-pyc (1.9.0-r0) (70/103) Installing py3-click (8.1.8-r0) (71/103) Installing py3-click-pyc (8.1.8-r0) (72/103) Installing py3-itsdangerous (2.2.0-r0) (73/103) Installing py3-itsdangerous-pyc (2.2.0-r0) (74/103) Installing py3-markupsafe (3.0.2-r0) (75/103) Installing py3-markupsafe-pyc (3.0.2-r0) (76/103) Installing py3-jinja2 (3.1.6-r0) (77/103) Installing py3-jinja2-pyc (3.1.6-r0) (78/103) Installing py3-werkzeug (3.1.3-r0) (79/103) Installing py3-werkzeug-pyc (3.1.3-r0) (80/103) Installing py3-flask (3.0.3-r0) (81/103) Installing py3-flask-pyc (3.0.3-r0) (82/103) Installing py3-raven (6.10.0-r7) (83/103) Installing py3-raven-pyc (6.10.0-r7) (84/103) Installing py3-brotli (1.1.0-r2) (85/103) Installing py3-brotli-pyc (1.1.0-r2) (86/103) Installing py3-decorator (5.2.1-r0) (87/103) Installing py3-decorator-pyc (5.2.1-r0) (88/103) Installing py3-httpbin (0.10.2-r3) (89/103) Installing py3-httpbin-pyc (0.10.2-r3) (90/103) Installing py3-openssl (25.0.0-r0) (91/103) Installing py3-openssl-pyc (25.0.0-r0) (92/103) Installing py3-iniconfig (2.1.0-r0) (93/103) Installing py3-iniconfig-pyc (2.1.0-r0) (94/103) Installing py3-pluggy (1.5.0-r0) (95/103) Installing py3-pluggy-pyc (1.5.0-r0) (96/103) Installing py3-py (1.11.0-r4) (97/103) Installing py3-py-pyc (1.11.0-r4) (98/103) Installing py3-pytest (8.3.5-r0) (99/103) Installing py3-pytest-pyc (8.3.5-r0) (100/103) Installing py3-mock (5.2.0-r0) (101/103) Installing py3-mock-pyc (5.2.0-r0) (102/103) Installing py3-twisted-tests (24.11.0-r0) (103/103) Installing .makedepends-py3-treq (20250508.202929) Executing busybox-1.37.0-r17.trigger OK: 437 MiB in 204 packages >>> py3-treq: Cleaning up srcdir >>> py3-treq: Cleaning up pkgdir >>> py3-treq: Cleaning up tmpdir >>> py3-treq: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/py3-treq-22.2.0.tar.gz >>> py3-treq: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/py3-treq-22.2.0.tar.gz >>> py3-treq: Checking sha512sums... py3-treq-22.2.0.tar.gz: OK >>> py3-treq: Unpacking /var/cache/distfiles/v3.22/py3-treq-22.2.0.tar.gz... /usr/lib/python3.12/site-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3.12/site-packages/setuptools/dist.py:761: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating build/lib/treq copying src/treq/_agentspy.py -> build/lib/treq copying src/treq/__init__.py -> build/lib/treq copying src/treq/api.py -> build/lib/treq copying src/treq/auth.py -> build/lib/treq copying src/treq/_version.py -> build/lib/treq copying src/treq/content.py -> build/lib/treq copying src/treq/multipart.py -> build/lib/treq copying src/treq/response.py -> build/lib/treq copying src/treq/testing.py -> build/lib/treq copying src/treq/client.py -> build/lib/treq creating build/lib/treq/test copying src/treq/test/__init__.py -> build/lib/treq/test copying src/treq/test/test_agentspy.py -> build/lib/treq/test copying src/treq/test/util.py -> build/lib/treq/test copying src/treq/test/test_multipart.py -> build/lib/treq/test copying src/treq/test/test_testing.py -> build/lib/treq/test copying src/treq/test/test_response.py -> build/lib/treq/test copying src/treq/test/test_auth.py -> build/lib/treq/test copying src/treq/test/test_treq_integration.py -> build/lib/treq/test copying src/treq/test/test_api.py -> build/lib/treq/test copying src/treq/test/test_client.py -> build/lib/treq/test copying src/treq/test/test_content.py -> build/lib/treq/test creating build/lib/treq/test/local_httpbin copying src/treq/test/local_httpbin/__init__.py -> build/lib/treq/test/local_httpbin copying src/treq/test/local_httpbin/parent.py -> build/lib/treq/test/local_httpbin copying src/treq/test/local_httpbin/child.py -> build/lib/treq/test/local_httpbin copying src/treq/test/local_httpbin/shared.py -> build/lib/treq/test/local_httpbin creating build/lib/treq/test/local_httpbin/test copying src/treq/test/local_httpbin/test/__init__.py -> build/lib/treq/test/local_httpbin/test copying src/treq/test/local_httpbin/test/test_child.py -> build/lib/treq/test/local_httpbin/test copying src/treq/test/local_httpbin/test/test_parent.py -> build/lib/treq/test/local_httpbin/test copying src/treq/test/local_httpbin/test/test_shared.py -> build/lib/treq/test/local_httpbin/test ============================= test session starts ============================== platform linux -- Python 3.12.10, pytest-8.3.5, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-treq/src/treq-release-22.2.0 configfile: pyproject.toml collected 183 items src/treq/test/local_httpbin/test/test_child.py ........... [ 6%] src/treq/test/local_httpbin/test/test_parent.py ............... [ 14%] src/treq/test/local_httpbin/test/test_shared.py .. [ 15%] src/treq/test/test_agentspy.py .... [ 17%] src/treq/test/test_api.py ............... [ 25%] src/treq/test/test_auth.py ........ [ 30%] src/treq/test/test_client.py ........................................... [ 53%] ............ [ 60%] src/treq/test/test_content.py ..............F [ 68%] src/treq/test/test_multipart.py ...................... [ 80%] src/treq/test/test_response.py ........... [ 86%] src/treq/test/test_testing.py ......................... [100%] =================================== FAILURES =================================== ________________ ContentTests.test_text_content_unicode_headers ________________ self = def test_text_content_unicode_headers(self): """ Header parsing is robust against unicode header names and values. """ > self.response.headers = Headers({ b'Content-Type': [ u'text/plain; charset="UTF-16BE"; u=ᛃ'.encode('utf-8')], u'Coördination'.encode('iso-8859-1'): [ u'koʊˌɔrdɪˈneɪʃən'.encode('utf-8')], }) src/treq/test/test_content.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/twisted/web/http_headers.py:77: in __init__ self.setRawHeaders(name, values) /usr/lib/python3.12/site-packages/twisted/web/http_headers.py:143: in setRawHeaders _name = _nameEncoder.encode(name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = b'Co\xf6rdination' def encode(self, name: Union[str, bytes]) -> bytes: """ Encode the name of a header (eg 'Content-Type') to an ISO-8859-1 bytestring if required. It will be canonicalized to Http-Header-Case. @raises InvalidHeaderName: If the header name contains invalid characters like whitespace or NUL. @param name: An HTTP header name @return: C{name}, encoded if required, in Header-Case """ if canonicalName := self._canonicalHeaderCache.get(name): return canonicalName bytes_name = name.encode("iso-8859-1") if isinstance(name, str) else name if not _istoken(bytes_name): > raise InvalidHeaderName(bytes_name) E twisted.web.http_headers.InvalidHeaderName: b'Co\xf6rdination' /usr/lib/python3.12/site-packages/twisted/web/http_headers.py:259: InvalidHeaderName =============================== warnings summary =============================== src/treq/content.py:1 /home/buildozer/aports/community/py3-treq/src/treq-release-22.2.0/src/treq/content.py:1: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import cgi -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED src/treq/test/test_content.py::ContentTests::test_text_content_unicode_headers ================== 1 failed, 182 passed, 1 warning in 25.75s =================== >>> ERROR: py3-treq: check failed >>> py3-treq: Uninstalling dependencies... (1/103) Purging .makedepends-py3-treq (20250508.202929) (2/103) Purging py3-requests-pyc (2.32.3-r0) (3/103) Purging py3-requests (2.32.3-r0) (4/103) Purging py3-certifi-pyc (2025.4.26-r0) (5/103) Purging py3-certifi (2025.4.26-r0) (6/103) Purging py3-charset-normalizer-pyc (3.4.2-r0) (7/103) Purging py3-charset-normalizer (3.4.2-r0) (8/103) Purging py3-urllib3-pyc (1.26.20-r0) (9/103) Purging py3-urllib3 (1.26.20-r0) (10/103) Purging py3-twisted-pyc (24.11.0-r0) (11/103) Purging py3-twisted (24.11.0-r0) (12/103) Purging py3-httpbin-pyc (0.10.2-r3) (13/103) Purging py3-httpbin (0.10.2-r3) (14/103) Purging py3-flask-pyc (3.0.3-r0) (15/103) Purging py3-flask (3.0.3-r0) (16/103) Purging py3-click-pyc (8.1.8-r0) (17/103) Purging py3-click (8.1.8-r0) (18/103) Purging py3-itsdangerous-pyc (2.2.0-r0) (19/103) Purging py3-itsdangerous (2.2.0-r0) (20/103) Purging py3-jinja2-pyc (3.1.6-r0) (21/103) Purging py3-jinja2 (3.1.6-r0) (22/103) Purging py3-werkzeug-pyc (3.1.3-r0) (23/103) Purging py3-werkzeug (3.1.3-r0) (24/103) Purging py3-markupsafe-pyc (3.0.2-r0) (25/103) Purging py3-markupsafe (3.0.2-r0) (26/103) Purging py3-raven-pyc (6.10.0-r7) (27/103) Purging py3-raven (6.10.0-r7) (28/103) Purging py3-blinker-pyc (1.9.0-r0) (29/103) Purging py3-blinker (1.9.0-r0) (30/103) Purging py3-brotli-pyc (1.1.0-r2) (31/103) Purging py3-brotli (1.1.0-r2) (32/103) Purging py3-decorator-pyc (5.2.1-r0) (33/103) Purging py3-decorator (5.2.1-r0) (34/103) Purging py3-openssl-pyc (25.0.0-r0) (35/103) Purging py3-openssl (25.0.0-r0) (36/103) Purging py3-pytest-pyc (8.3.5-r0) (37/103) Purging py3-pytest (8.3.5-r0) (38/103) Purging py3-iniconfig-pyc (2.1.0-r0) (39/103) Purging py3-iniconfig (2.1.0-r0) (40/103) Purging py3-pluggy-pyc (1.5.0-r0) (41/103) Purging py3-pluggy (1.5.0-r0) (42/103) Purging py3-py-pyc (1.11.0-r4) (43/103) Purging py3-py (1.11.0-r4) (44/103) Purging py3-mock-pyc (5.2.0-r0) (45/103) Purging py3-mock (5.2.0-r0) (46/103) Purging py3-twisted-tests (24.11.0-r0) (47/103) Purging py3-zope-interface-pyc (7.2-r0) (48/103) Purging py3-zope-interface (7.2-r0) (49/103) Purging py3-constantly-pyc (23.10.4-r1) (50/103) Purging py3-constantly (23.10.4-r1) (51/103) Purging py3-incremental-pyc (24.7.2-r0) (52/103) Purging py3-incremental (24.7.2-r0) (53/103) Purging py3-automat-pyc (24.8.1-r0) (54/103) Purging py3-automat (24.8.1-r0) (55/103) Purging py3-six-pyc (1.17.0-r0) (56/103) Purging py3-six (1.17.0-r0) (57/103) Purging py3-hyperlink-pyc (21.0.0-r5) (58/103) Purging py3-hyperlink (21.0.0-r5) (59/103) Purging py3-typing-extensions-pyc (4.13.2-r0) (60/103) Purging py3-typing-extensions (4.13.2-r0) (61/103) Purging py3-pyhamcrest-pyc (2.1.0-r1) (62/103) Purging py3-pyhamcrest (2.1.0-r1) (63/103) Purging py3-service_identity-pyc (24.2.0-r0) (64/103) Purging py3-service_identity (24.2.0-r0) (65/103) Purging py3-asn1-modules-pyc (0.4.1-r0) (66/103) Purging py3-asn1-modules (0.4.1-r0) (67/103) Purging py3-asn1-pyc (0.6.1-r0) (68/103) Purging py3-asn1 (0.6.1-r0) (69/103) Purging py3-attrs-pyc (25.3.0-r0) (70/103) Purging py3-attrs (25.3.0-r0) (71/103) Purging py3-cryptography-pyc (44.0.3-r0) (72/103) Purging py3-cryptography (44.0.3-r0) (73/103) Purging py3-cffi-pyc (1.17.1-r1) (74/103) Purging py3-cffi (1.17.1-r1) (75/103) Purging py3-cparser-pyc (2.22-r1) (76/103) Purging py3-cparser (2.22-r1) (77/103) Purging py3-idna-pyc (3.10-r0) (78/103) Purging py3-idna (3.10-r0) (79/103) Purging py3-pyserial-pyc (3.5-r7) (80/103) Purging py3-pyserial (3.5-r7) (81/103) Purging py3-h2-pyc (4.1.0-r3) (82/103) Purging py3-h2 (4.1.0-r3) (83/103) Purging py3-hyperframe-pyc (6.1.0-r0) (84/103) Purging py3-hyperframe (6.1.0-r0) (85/103) Purging py3-hpack-pyc (4.1.0-r0) (86/103) Purging py3-hpack (4.1.0-r0) (87/103) Purging py3-setuptools-pyc (80.3.1-r0) (88/103) Purging py3-setuptools (80.3.1-r0) (89/103) Purging py3-packaging-pyc (25.0-r0) (90/103) Purging py3-packaging (25.0-r0) (91/103) Purging py3-parsing-pyc (3.2.3-r0) (92/103) Purging py3-parsing (3.2.3-r0) (93/103) Purging python3-pyc (3.12.10-r0) (94/103) Purging python3-pycache-pyc0 (3.12.10-r0) (95/103) Purging pyc (3.12.10-r0) (96/103) Purging python3 (3.12.10-r0) (97/103) Purging gdbm (1.24-r0) (98/103) Purging libbz2 (1.0.8-r6) (99/103) Purging libffi (3.4.8-r0) (100/103) Purging libpanelw (6.5_p20250503-r0) (101/103) Purging mpdecimal (4.0.0-r0) (102/103) Purging sqlite-libs (3.49.2-r0) (103/103) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r17.trigger OK: 338 MiB in 101 packages