>>> py3-treq: Building community/py3-treq 22.2.0-r4 (using abuild 3.15.0_rc3-r3) started Sat, 10 May 2025 23:54:15 +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/101) Installing libbz2 (1.0.8-r6) (2/101) Installing gdbm (1.24-r0) (3/101) Installing mpdecimal (4.0.0-r0) (4/101) Installing libpanelw (6.5_p20250503-r0) (5/101) Installing sqlite-libs (3.49.2-r0) (6/101) Installing python3 (3.12.10-r0) (7/101) Installing python3-pycache-pyc0 (3.12.10-r0) (8/101) Installing pyc (3.12.10-r0) (9/101) Installing python3-pyc (3.12.10-r0) (10/101) Installing py3-incremental (24.7.2-r0) (11/101) Installing py3-incremental-pyc (24.7.2-r0) (12/101) Installing py3-certifi (2025.4.26-r0) (13/101) Installing py3-certifi-pyc (2025.4.26-r0) (14/101) Installing py3-charset-normalizer (3.4.2-r0) (15/101) Installing py3-charset-normalizer-pyc (3.4.2-r0) (16/101) Installing py3-idna (3.10-r0) (17/101) Installing py3-idna-pyc (3.10-r0) (18/101) Installing py3-urllib3 (1.26.20-r0) (19/101) Installing py3-urllib3-pyc (1.26.20-r0) (20/101) Installing py3-requests (2.32.3-r0) (21/101) Installing py3-requests-pyc (2.32.3-r0) (22/101) Installing py3-cparser (2.22-r1) (23/101) Installing py3-cparser-pyc (2.22-r1) (24/101) Installing py3-cffi (1.17.1-r1) (25/101) Installing py3-cffi-pyc (1.17.1-r1) (26/101) Installing py3-cryptography (44.0.3-r0) (27/101) Installing py3-cryptography-pyc (44.0.3-r0) (28/101) Installing py3-zope-interface (7.2-r0) (29/101) Installing py3-zope-interface-pyc (7.2-r0) (30/101) Installing py3-constantly (23.10.4-r1) (31/101) Installing py3-constantly-pyc (23.10.4-r1) (32/101) Installing py3-attrs (25.3.0-r0) (33/101) Installing py3-attrs-pyc (25.3.0-r0) (34/101) Installing py3-six (1.17.0-r0) (35/101) Installing py3-six-pyc (1.17.0-r0) (36/101) Installing py3-automat (24.8.1-r0) (37/101) Installing py3-automat-pyc (24.8.1-r0) (38/101) Installing py3-hyperlink (21.0.0-r5) (39/101) Installing py3-hyperlink-pyc (21.0.0-r5) (40/101) Installing py3-typing-extensions (4.13.2-r0) (41/101) Installing py3-typing-extensions-pyc (4.13.2-r0) (42/101) Installing py3-pyhamcrest (2.1.0-r1) (43/101) Installing py3-pyhamcrest-pyc (2.1.0-r1) (44/101) Installing py3-asn1 (0.6.1-r0) (45/101) Installing py3-asn1-pyc (0.6.1-r0) (46/101) Installing py3-asn1-modules (0.4.1-r0) (47/101) Installing py3-asn1-modules-pyc (0.4.1-r0) (48/101) Installing py3-service_identity (24.2.0-r0) (49/101) Installing py3-service_identity-pyc (24.2.0-r0) (50/101) Installing py3-pyserial (3.5-r7) (51/101) Installing py3-pyserial-pyc (3.5-r7) (52/101) Installing py3-hyperframe (6.1.0-r0) (53/101) Installing py3-hyperframe-pyc (6.1.0-r0) (54/101) Installing py3-hpack (4.1.0-r0) (55/101) Installing py3-hpack-pyc (4.1.0-r0) (56/101) Installing py3-h2 (4.1.0-r3) (57/101) Installing py3-h2-pyc (4.1.0-r3) (58/101) Installing py3-parsing (3.2.3-r0) (59/101) Installing py3-parsing-pyc (3.2.3-r0) (60/101) Installing py3-packaging (25.0-r0) (61/101) Installing py3-packaging-pyc (25.0-r0) (62/101) Installing py3-setuptools (80.4.0-r0) (63/101) Installing py3-setuptools-pyc (80.4.0-r0) (64/101) Installing py3-twisted (24.11.0-r0) (65/101) Installing py3-twisted-pyc (24.11.0-r0) (66/101) Installing py3-blinker (1.9.0-r0) (67/101) Installing py3-blinker-pyc (1.9.0-r0) (68/101) Installing py3-click (8.1.8-r0) (69/101) Installing py3-click-pyc (8.1.8-r0) (70/101) Installing py3-itsdangerous (2.2.0-r0) (71/101) Installing py3-itsdangerous-pyc (2.2.0-r0) (72/101) Installing py3-markupsafe (3.0.2-r0) (73/101) Installing py3-markupsafe-pyc (3.0.2-r0) (74/101) Installing py3-jinja2 (3.1.6-r0) (75/101) Installing py3-jinja2-pyc (3.1.6-r0) (76/101) Installing py3-werkzeug (3.1.3-r0) (77/101) Installing py3-werkzeug-pyc (3.1.3-r0) (78/101) Installing py3-flask (3.0.3-r0) (79/101) Installing py3-flask-pyc (3.0.3-r0) (80/101) Installing py3-raven (6.10.0-r7) (81/101) Installing py3-raven-pyc (6.10.0-r7) (82/101) Installing py3-brotli (1.1.0-r2) (83/101) Installing py3-brotli-pyc (1.1.0-r2) (84/101) Installing py3-decorator (5.2.1-r0) (85/101) Installing py3-decorator-pyc (5.2.1-r0) (86/101) Installing py3-httpbin (0.10.2-r3) (87/101) Installing py3-httpbin-pyc (0.10.2-r3) (88/101) Installing py3-openssl (25.0.0-r0) (89/101) Installing py3-openssl-pyc (25.0.0-r0) (90/101) Installing py3-iniconfig (2.1.0-r0) (91/101) Installing py3-iniconfig-pyc (2.1.0-r0) (92/101) Installing py3-pluggy (1.5.0-r0) (93/101) Installing py3-pluggy-pyc (1.5.0-r0) (94/101) Installing py3-py (1.11.0-r4) (95/101) Installing py3-py-pyc (1.11.0-r4) (96/101) Installing py3-pytest (8.3.5-r0) (97/101) Installing py3-pytest-pyc (8.3.5-r0) (98/101) Installing py3-mock (5.2.0-r0) (99/101) Installing py3-mock-pyc (5.2.0-r0) (100/101) Installing py3-twisted-tests (24.11.0-r0) (101/101) Installing .makedepends-py3-treq (20250510.235444) Executing busybox-1.37.0-r17.trigger OK: 698 MiB in 212 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/__init__.py -> build/lib/treq copying src/treq/_agentspy.py -> build/lib/treq copying src/treq/response.py -> build/lib/treq copying src/treq/testing.py -> build/lib/treq copying src/treq/api.py -> build/lib/treq copying src/treq/multipart.py -> build/lib/treq copying src/treq/content.py -> build/lib/treq copying src/treq/auth.py -> build/lib/treq copying src/treq/client.py -> build/lib/treq copying src/treq/_version.py -> build/lib/treq creating build/lib/treq/test copying src/treq/test/__init__.py -> build/lib/treq/test copying src/treq/test/test_client.py -> build/lib/treq/test copying src/treq/test/test_auth.py -> build/lib/treq/test copying src/treq/test/test_response.py -> build/lib/treq/test copying src/treq/test/test_api.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_treq_integration.py -> build/lib/treq/test copying src/treq/test/util.py -> build/lib/treq/test copying src/treq/test/test_agentspy.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_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 copying src/treq/test/local_httpbin/test/test_child.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 7.12s =================== >>> ERROR: py3-treq: check failed >>> py3-treq: Uninstalling dependencies... (1/101) Purging .makedepends-py3-treq (20250510.235444) (2/101) Purging py3-requests-pyc (2.32.3-r0) (3/101) Purging py3-requests (2.32.3-r0) (4/101) Purging py3-certifi-pyc (2025.4.26-r0) (5/101) Purging py3-certifi (2025.4.26-r0) (6/101) Purging py3-charset-normalizer-pyc (3.4.2-r0) (7/101) Purging py3-charset-normalizer (3.4.2-r0) (8/101) Purging py3-urllib3-pyc (1.26.20-r0) (9/101) Purging py3-urllib3 (1.26.20-r0) (10/101) Purging py3-twisted-pyc (24.11.0-r0) (11/101) Purging py3-twisted (24.11.0-r0) (12/101) Purging py3-httpbin-pyc (0.10.2-r3) (13/101) Purging py3-httpbin (0.10.2-r3) (14/101) Purging py3-flask-pyc (3.0.3-r0) (15/101) Purging py3-flask (3.0.3-r0) (16/101) Purging py3-click-pyc (8.1.8-r0) (17/101) Purging py3-click (8.1.8-r0) (18/101) Purging py3-itsdangerous-pyc (2.2.0-r0) (19/101) Purging py3-itsdangerous (2.2.0-r0) (20/101) Purging py3-jinja2-pyc (3.1.6-r0) (21/101) Purging py3-jinja2 (3.1.6-r0) (22/101) Purging py3-werkzeug-pyc (3.1.3-r0) (23/101) Purging py3-werkzeug (3.1.3-r0) (24/101) Purging py3-markupsafe-pyc (3.0.2-r0) (25/101) Purging py3-markupsafe (3.0.2-r0) (26/101) Purging py3-raven-pyc (6.10.0-r7) (27/101) Purging py3-raven (6.10.0-r7) (28/101) Purging py3-blinker-pyc (1.9.0-r0) (29/101) Purging py3-blinker (1.9.0-r0) (30/101) Purging py3-brotli-pyc (1.1.0-r2) (31/101) Purging py3-brotli (1.1.0-r2) (32/101) Purging py3-decorator-pyc (5.2.1-r0) (33/101) Purging py3-decorator (5.2.1-r0) (34/101) Purging py3-openssl-pyc (25.0.0-r0) (35/101) Purging py3-openssl (25.0.0-r0) (36/101) Purging py3-pytest-pyc (8.3.5-r0) (37/101) Purging py3-pytest (8.3.5-r0) (38/101) Purging py3-iniconfig-pyc (2.1.0-r0) (39/101) Purging py3-iniconfig (2.1.0-r0) (40/101) Purging py3-pluggy-pyc (1.5.0-r0) (41/101) Purging py3-pluggy (1.5.0-r0) (42/101) Purging py3-py-pyc (1.11.0-r4) (43/101) Purging py3-py (1.11.0-r4) (44/101) Purging py3-mock-pyc (5.2.0-r0) (45/101) Purging py3-mock (5.2.0-r0) (46/101) Purging py3-twisted-tests (24.11.0-r0) (47/101) Purging py3-zope-interface-pyc (7.2-r0) (48/101) Purging py3-zope-interface (7.2-r0) (49/101) Purging py3-constantly-pyc (23.10.4-r1) (50/101) Purging py3-constantly (23.10.4-r1) (51/101) Purging py3-incremental-pyc (24.7.2-r0) (52/101) Purging py3-incremental (24.7.2-r0) (53/101) Purging py3-automat-pyc (24.8.1-r0) (54/101) Purging py3-automat (24.8.1-r0) (55/101) Purging py3-six-pyc (1.17.0-r0) (56/101) Purging py3-six (1.17.0-r0) (57/101) Purging py3-hyperlink-pyc (21.0.0-r5) (58/101) Purging py3-hyperlink (21.0.0-r5) (59/101) Purging py3-typing-extensions-pyc (4.13.2-r0) (60/101) Purging py3-typing-extensions (4.13.2-r0) (61/101) Purging py3-pyhamcrest-pyc (2.1.0-r1) (62/101) Purging py3-pyhamcrest (2.1.0-r1) (63/101) Purging py3-service_identity-pyc (24.2.0-r0) (64/101) Purging py3-service_identity (24.2.0-r0) (65/101) Purging py3-asn1-modules-pyc (0.4.1-r0) (66/101) Purging py3-asn1-modules (0.4.1-r0) (67/101) Purging py3-asn1-pyc (0.6.1-r0) (68/101) Purging py3-asn1 (0.6.1-r0) (69/101) Purging py3-attrs-pyc (25.3.0-r0) (70/101) Purging py3-attrs (25.3.0-r0) (71/101) Purging py3-cryptography-pyc (44.0.3-r0) (72/101) Purging py3-cryptography (44.0.3-r0) (73/101) Purging py3-cffi-pyc (1.17.1-r1) (74/101) Purging py3-cffi (1.17.1-r1) (75/101) Purging py3-cparser-pyc (2.22-r1) (76/101) Purging py3-cparser (2.22-r1) (77/101) Purging py3-idna-pyc (3.10-r0) (78/101) Purging py3-idna (3.10-r0) (79/101) Purging py3-pyserial-pyc (3.5-r7) (80/101) Purging py3-pyserial (3.5-r7) (81/101) Purging py3-h2-pyc (4.1.0-r3) (82/101) Purging py3-h2 (4.1.0-r3) (83/101) Purging py3-hyperframe-pyc (6.1.0-r0) (84/101) Purging py3-hyperframe (6.1.0-r0) (85/101) Purging py3-hpack-pyc (4.1.0-r0) (86/101) Purging py3-hpack (4.1.0-r0) (87/101) Purging py3-setuptools-pyc (80.4.0-r0) (88/101) Purging py3-setuptools (80.4.0-r0) (89/101) Purging py3-packaging-pyc (25.0-r0) (90/101) Purging py3-packaging (25.0-r0) (91/101) Purging py3-parsing-pyc (3.2.3-r0) (92/101) Purging py3-parsing (3.2.3-r0) (93/101) Purging python3-pyc (3.12.10-r0) (94/101) Purging python3-pycache-pyc0 (3.12.10-r0) (95/101) Purging pyc (3.12.10-r0) (96/101) Purging python3 (3.12.10-r0) (97/101) Purging gdbm (1.24-r0) (98/101) Purging libbz2 (1.0.8-r6) (99/101) Purging libpanelw (6.5_p20250503-r0) (100/101) Purging mpdecimal (4.0.0-r0) (101/101) Purging sqlite-libs (3.49.2-r0) Executing busybox-1.37.0-r17.trigger OK: 601 MiB in 111 packages