>>> py3-pytest-socket: Building community/py3-pytest-socket 0.7.0-r2 (using abuild 3.18.0_rc7-r1) started Tue, 10 Nov 2026 10:53:58 +0000 >>> py3-pytest-socket: Validating /home/buildozer/aports/community/py3-pytest-socket/APKBUILD... >>> py3-pytest-socket: Analyzing dependencies... >>> py3-pytest-socket: Installing for build: build-base py3-pytest poetry py3-gpep517 py3-wheel py3-httpx py3-pytest-httpbin ( 1/154) Installing libbz2 (1.0.8-r6) ( 2/154) Installing libffi (3.8.0-r0) ( 3/154) Installing xz-libs (5.8.4-r0) ( 4/154) Installing mpdecimal (4.0.1-r0) ( 5/154) Installing libpanelw (6.6_p20261017-r0) ( 6/154) Installing readline (8.3.3-r1) ( 7/154) Installing sqlite-libs (3.54.1-r0) ( 8/154) Installing python3 (3.14.10-r1) ( 9/154) Installing python3-pycache-pyc0 (3.14.10-r1) ( 10/154) Installing pyc (3.14.10-r1) ( 11/154) Installing py3-iniconfig-pyc (2.3.0-r1) ( 12/154) Installing py3-pytest-pyc (9.1.1-r1) ( 13/154) Installing python3-pyc (3.14.10-r1) ( 14/154) Installing py3-iniconfig (2.3.0-r1) ( 15/154) Installing py3-parsing (3.3.3-r0) ( 16/154) Installing py3-parsing-pyc (3.3.3-r0) ( 17/154) Installing py3-packaging (26.3-r0) ( 18/154) Installing py3-packaging-pyc (26.3-r0) ( 19/154) Installing py3-pluggy (1.6.0-r1) ( 20/154) Installing py3-pluggy-pyc (1.6.0-r1) ( 21/154) Installing py3-py (1.11.0-r5) ( 22/154) Installing py3-py-pyc (1.11.0-r5) ( 23/154) Installing py3-pygments (2.21.0-r0) ( 24/154) Installing py3-pygments-pyc (2.21.0-r0) ( 25/154) Installing py3-pytest (9.1.1-r1) ( 26/154) Installing py3-fastjsonschema (2.22.2-r0) ( 27/154) Installing py3-fastjsonschema-pyc (2.22.2-r0) ( 28/154) Installing py3-lark-parser (1.2.2-r1) ( 29/154) Installing py3-lark-parser-pyc (1.2.2-r1) ( 30/154) Installing py3-poetry-core (2.5.0-r0) ( 31/154) Installing py3-poetry-core-pyc (2.5.0-r0) ( 32/154) Installing py3-pyproject-hooks (1.2.0-r1) ( 33/154) Installing py3-pyproject-hooks-pyc (1.2.0-r1) ( 34/154) Installing py3-build (1.4.2-r0) ( 35/154) Installing py3-build-pyc (1.4.2-r0) ( 36/154) Installing py3-msgpack (1.2.4-r0) ( 37/154) Installing py3-msgpack-pyc (1.2.4-r0) ( 38/154) Installing py3-certifi (2026.10.23-r0) ( 39/154) Installing py3-certifi-pyc (2026.10.23-r0) ( 40/154) Installing py3-charset-normalizer (3.5.1-r0) ( 41/154) Installing py3-charset-normalizer-pyc (3.5.1-r0) ( 42/154) Installing py3-idna (3.20-r0) ( 43/154) Installing py3-idna-pyc (3.20-r0) ( 44/154) Installing py3-urllib3 (2.8.0-r0) ( 45/154) Installing py3-urllib3-pyc (2.8.0-r0) ( 46/154) Installing py3-requests (2.34.2-r0) ( 47/154) Installing py3-requests-pyc (2.34.2-r0) ( 48/154) Installing py3-cachecontrol (0.14.3-r1) ( 49/154) Installing py3-cachecontrol-pyc (0.14.3-r1) ( 50/154) Installing py3-crashtest (0.4.1-r6) ( 51/154) Installing py3-crashtest-pyc (0.4.1-r6) ( 52/154) Installing py3-rapidfuzz (3.14.5-r0) ( 53/154) Installing py3-rapidfuzz-pyc (3.14.5-r0) ( 54/154) Installing py3-cleo (2.2.1-r1) ( 55/154) Installing py3-cleo-pyc (2.2.1-r1) ( 56/154) Installing py3-dulwich (1.2.15-r0) ( 57/154) Installing py3-dulwich-pyc (1.2.15-r0) ( 58/154) Installing py3-installer (1.0.1-r0) ( 59/154) Installing py3-installer-pyc (1.0.1-r0) ( 60/154) Installing py3-zipp (4.1.2-r0) ( 61/154) Installing py3-zipp-pyc (4.1.2-r0) ( 62/154) Installing py3-importlib-metadata (9.1.0-r0) ( 63/154) Installing py3-importlib-metadata-pyc (9.1.0-r0) ( 64/154) Installing py3-more-itertools (10.8.0-r1) ( 65/154) Installing py3-more-itertools-pyc (10.8.0-r1) ( 66/154) Installing py3-jaraco.classes (3.4.0-r2) ( 67/154) Installing py3-jaraco.classes-pyc (3.4.0-r2) ( 68/154) Installing py3-jeepney (0.9.0-r1) ( 69/154) Installing py3-jeepney-pyc (0.9.0-r1) ( 70/154) Installing py3-cparser (3.0-r1) ( 71/154) Installing py3-cparser-pyc (3.0-r1) ( 72/154) Installing py3-cffi (2.1.1-r0) ( 73/154) Installing py3-cffi-pyc (2.1.1-r0) ( 74/154) Installing py3-cryptography (50.0.0-r0) ( 75/154) Installing py3-cryptography-pyc (50.0.0-r0) ( 76/154) Installing py3-secretstorage (3.5.0-r1) ( 77/154) Installing py3-secretstorage-pyc (3.5.0-r1) ( 78/154) Installing py3-keyring (24.3.1-r3) ( 79/154) Installing py3-keyring-pyc (24.3.1-r3) ( 80/154) Installing py3-pkginfo (1.12.1.2-r1) ( 81/154) Installing py3-pkginfo-pyc (1.12.1.2-r1) ( 82/154) Installing py3-platformdirs (4.12.0-r0) ( 83/154) Installing py3-platformdirs-pyc (4.12.0-r0) ( 84/154) Installing py3-requests-toolbelt (1.0.0-r2) ( 85/154) Installing py3-requests-toolbelt-pyc (1.0.0-r2) ( 86/154) Installing py3-shellingham (1.5.4-r2) ( 87/154) Installing py3-shellingham-pyc (1.5.4-r2) ( 88/154) Installing py3-tomlkit (0.13.3-r1) ( 89/154) Installing py3-tomlkit-pyc (0.13.3-r1) ( 90/154) Installing py3-trove-classifiers (2026.9.21.13-r0) ( 91/154) Installing py3-trove-classifiers-pyc (2026.9.21.13-r0) ( 92/154) Installing py3-distlib (0.4.3-r0) ( 93/154) Installing py3-distlib-pyc (0.4.3-r0) ( 94/154) Installing py3-filelock (3.29.0-r0) ( 95/154) Installing py3-filelock-pyc (3.29.0-r0) ( 96/154) Installing py3-python-discovery (1.6.2-r0) ( 97/154) Installing py3-python-discovery-pyc (1.6.2-r0) ( 98/154) Installing py3-virtualenv (21.14.13-r0) ( 99/154) Installing py3-virtualenv-pyc (21.14.13-r0) (100/154) Installing py3-findpython (0.9.0-r0) (101/154) Installing py3-findpython-pyc (0.9.0-r0) (102/154) Installing py3-pbs-installer (2026.10.26-r0) (103/154) Installing py3-pbs-installer-pyc (2026.10.26-r0) (104/154) Installing poetry (2.5.1-r1) (105/154) Installing poetry-pyc (2.5.1-r1) (106/154) Installing py3-gpep517 (20-r0) (107/154) Installing py3-gpep517-pyc (20-r0) (108/154) Installing py3-wheel (0.48.0-r0) (109/154) Installing py3-wheel-pyc (0.48.0-r0) (110/154) Installing py3-curio (1.6-r4) (111/154) Installing py3-curio-pyc (1.6-r4) (112/154) Installing py3-sniffio (1.3.1-r2) (113/154) Installing py3-sniffio-pyc (1.3.1-r2) (114/154) Installing py3-typing-extensions (4.16.0-r0) (115/154) Installing py3-typing-extensions-pyc (4.16.0-r0) (116/154) Installing py3-anyio (4.16.0-r0) (117/154) Installing py3-anyio-pyc (4.16.0-r0) (118/154) Installing py3-h11 (0.16.0-r1) (119/154) Installing py3-h11-pyc (0.16.0-r1) (120/154) Installing py3-httpcore (1.0.9-r1) (121/154) Installing py3-httpcore-pyc (1.0.9-r1) (122/154) Installing py3-httpx (0.28.1-r1) (123/154) Installing py3-httpx-pyc (0.28.1-r1) (124/154) Installing py3-asgiref (3.12.1-r0) (125/154) Installing py3-asgiref-pyc (3.12.1-r0) (126/154) Installing py3-blinker (1.9.0-r1) (127/154) Installing py3-blinker-pyc (1.9.0-r1) (128/154) Installing py3-click (8.4.2-r0) (129/154) Installing py3-click-pyc (8.4.2-r0) (130/154) Installing py3-dotenv (1.2.4-r0) (131/154) Installing py3-dotenv-pyc (1.2.4-r0) (132/154) Installing py3-itsdangerous (2.2.0-r1) (133/154) Installing py3-itsdangerous-pyc (2.2.0-r1) (134/154) Installing py3-markupsafe (3.0.3-r1) (135/154) Installing py3-markupsafe-pyc (3.0.3-r1) (136/154) Installing py3-jinja2 (3.1.6-r1) (137/154) Installing py3-jinja2-pyc (3.1.6-r1) (138/154) Installing py3-werkzeug (3.1.8-r0) (139/154) Installing py3-werkzeug-pyc (3.1.8-r0) (140/154) Installing py3-flask (3.1.3-r2) (141/154) Installing py3-flask-pyc (3.1.3-r2) (142/154) Installing py3-six (1.17.0-r1) (143/154) Installing py3-six-pyc (1.17.0-r1) (144/154) Installing py3-raven (6.10.0-r8) (145/154) Installing py3-raven-pyc (6.10.0-r8) (146/154) Installing py3-brotli (1.2.1-r0) (147/154) Installing py3-brotli-pyc (1.2.1-r0) (148/154) Installing py3-decorator (5.3.1-r0) (149/154) Installing py3-decorator-pyc (5.3.1-r0) (150/154) Installing py3-httpbin (0.10.4-r0) (151/154) Installing py3-httpbin-pyc (0.10.4-r0) (152/154) Installing py3-pytest-httpbin (2.1.0-r1) (153/154) Installing py3-pytest-httpbin-pyc (2.1.0-r1) (154/154) Installing .makedepends-py3-pytest-socket (20261110.105448) Executing busybox-1.38.0-r8.trigger OK: 462.7 MiB in 254 packages >>> py3-pytest-socket: Cleaning up srcdir >>> py3-pytest-socket: Cleaning up pkgdir >>> py3-pytest-socket: Cleaning up tmpdir >>> py3-pytest-socket: Fetching https://distfiles.alpinelinux.org/distfiles/v3.25/py3-pytest-socket-0.7.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> py3-pytest-socket: Fetching py3-pytest-socket-0.7.0.tar.gz::https://github.com/miketheman/pytest-socket/archive/refs/tags/0.7.0.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.9:443) saving to '/var/cache/distfiles/v3.25/py3-pytest-socket-0.7.0.tar.gz.part' py3-pytest-socket-0. 100% |********************************| 49135 0:00:00 ETA '/var/cache/distfiles/v3.25/py3-pytest-socket-0.7.0.tar.gz.part' saved /var/cache/distfiles/v3.25/py3-pytest-socket-0.7.0.tar.gz: OK /home/buildozer/aports/community/py3-pytest-socket/test-socket.patch: OK >>> py3-pytest-socket: Fetching https://distfiles.alpinelinux.org/distfiles/v3.25/py3-pytest-socket-0.7.0.tar.gz /var/cache/distfiles/v3.25/py3-pytest-socket-0.7.0.tar.gz: OK /home/buildozer/aports/community/py3-pytest-socket/test-socket.patch: OK >>> py3-pytest-socket: Unpacking /var/cache/distfiles/v3.25/py3-pytest-socket-0.7.0.tar.gz... >>> py3-pytest-socket: test-socket.patch patching file tests/test_socket.py 2026-11-10 10:54:54,188 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2026-11-10 10:54:54,516 poetry.core.factory WARNING The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead. 2026-11-10 10:54:54,582 poetry.core.masonry.builders.wheel INFO Building wheel 2026-11-10 10:54:54,628 poetry.core.masonry.builders.wheel INFO Built pytest_socket-0.7.0-py3-none-any.whl 2026-11-10 10:54:54,629 gpep517 INFO The backend produced .dist/pytest_socket-0.7.0-py3-none-any.whl pytest_socket-0.7.0-py3-none-any.whl [2026-11-10 10:54:59,031] WARNING in core: flasgger is not installed; serving the static landing page at / and skipping the Swagger UI and /spec.json. ============================= test session starts ============================== platform linux -- Python 3.14.10, pytest-9.1.1, pluggy-1.6.0 rootdir: /home/buildozer/aports/community/py3-pytest-socket/src/pytest-socket-0.7.0 configfile: pyproject.toml plugins: socket-0.7.0, platformdirs-4.12.0, anyio-0.0.0, httpbin-2.1.0 collected 65 items / 2 deselected / 63 selected tests/test_async.py . [ 1%] tests/test_combinations.py F. [ 4%] tests/test_doctest.py . [ 6%] tests/test_precedence.py .......... [ 22%] tests/test_restrict_hosts.py ........................... [ 65%] tests/test_socket.py ...................... [100%] =================================== FAILURES =================================== _____________ test_parametrize_with_socket_enabled_and_allow_hosts _____________ testdir = httpbin = def test_parametrize_with_socket_enabled_and_allow_hosts(testdir, httpbin): """This is a complex test that demonstrates the use of `parametrize`, `enable_socket` fixture, allow_hosts CLI flag. TODO: This test makes real http calls. httpbin only provides a single IP. Is there a better way to express multiple **working** IPs? From: https://github.com/miketheman/pytest-socket/issues/56 """ testdir.makepyfile( f""" import pytest import requests @pytest.mark.parametrize( "url", [ "https://google.com", "https://amazon.com", "https://microsoft.com", ], ) def test_domain(url, socket_enabled): requests.get(url) def test_localhost_works(): requests.get("{httpbin.url}/") def test_remote_not_allowed_fails(): requests.get("http://172.1.1.1/") """ ) testdir.makeini( f""" [pytest] addopts = --disable-socket --allow-hosts={httpbin.host} """ ) result = testdir.runpytest() > result.assert_outcomes(passed=4, failed=1) E AssertionError: assert {'passed': 0,...rors': 0, ...} == {'passed': 4,...rors': 0, ...} E E Omitting 4 identical items, use -vv to show E Differing items: E {'failed': 5} != {'failed': 1} E {'passed': 0} != {'passed': 4} E Use -v to get more diff /home/buildozer/aports/community/py3-pytest-socket/src/pytest-socket-0.7.0/tests/test_combinations.py:45: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.10, pytest-9.1.1, pluggy-1.6.0 rootdir: /tmp/pytest-of-buildozer/pytest-5/test_parametrize_with_socket_enabled_and_allow_hosts0 configfile: tox.ini plugins: socket-0.7.0, platformdirs-4.12.0, anyio-0.0.0, httpbin-2.1.0 collected 5 items test_parametrize_with_socket_enabled_and_allow_hosts.py FFFFF [100%] =================================== FAILURES =================================== _______________________ test_domain[https://google.com] ________________________ url = 'https://google.com', socket_enabled = None @pytest.mark.parametrize( "url", [ "https://google.com", "https://amazon.com", "https://microsoft.com", ], ) def test_domain(url, socket_enabled): > requests.get(url) test_parametrize_with_socket_enabled_and_allow_hosts.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/requests/api.py:87: in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/api.py:71: in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:635: in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:532: in prepare_request merge_cookies(RequestsCookieJar(), self.cookies), cookies ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cookiejar = , cookies = def merge_cookies( cookiejar: CookieJar, cookies: dict[str, str] | CookieJar | None ) -> CookieJar: """Add cookies to cookiejar and returns a merged CookieJar. :param cookiejar: CookieJar object to add the cookies to. :param cookies: Dictionary or CookieJar object to be added. :rtype: CookieJar """ if not isinstance(cookiejar, cookielib.CookieJar): # type: ignore[reportUnnecessaryIsInstance] # runtime guard > raise ValueError("You can only merge into CookieJar") E ValueError: You can only merge into CookieJar /usr/lib/python3.14/site-packages/requests/cookies.py:614: ValueError _______________________ test_domain[https://amazon.com] ________________________ url = 'https://amazon.com', socket_enabled = None @pytest.mark.parametrize( "url", [ "https://google.com", "https://amazon.com", "https://microsoft.com", ], ) def test_domain(url, socket_enabled): > requests.get(url) test_parametrize_with_socket_enabled_and_allow_hosts.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/requests/api.py:87: in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/api.py:71: in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:635: in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:532: in prepare_request merge_cookies(RequestsCookieJar(), self.cookies), cookies ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cookiejar = , cookies = def merge_cookies( cookiejar: CookieJar, cookies: dict[str, str] | CookieJar | None ) -> CookieJar: """Add cookies to cookiejar and returns a merged CookieJar. :param cookiejar: CookieJar object to add the cookies to. :param cookies: Dictionary or CookieJar object to be added. :rtype: CookieJar """ if not isinstance(cookiejar, cookielib.CookieJar): # type: ignore[reportUnnecessaryIsInstance] # runtime guard > raise ValueError("You can only merge into CookieJar") E ValueError: You can only merge into CookieJar /usr/lib/python3.14/site-packages/requests/cookies.py:614: ValueError ______________________ test_domain[https://microsoft.com] ______________________ url = 'https://microsoft.com', socket_enabled = None @pytest.mark.parametrize( "url", [ "https://google.com", "https://amazon.com", "https://microsoft.com", ], ) def test_domain(url, socket_enabled): > requests.get(url) test_parametrize_with_socket_enabled_and_allow_hosts.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/requests/api.py:87: in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/api.py:71: in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:635: in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:532: in prepare_request merge_cookies(RequestsCookieJar(), self.cookies), cookies ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cookiejar = , cookies = def merge_cookies( cookiejar: CookieJar, cookies: dict[str, str] | CookieJar | None ) -> CookieJar: """Add cookies to cookiejar and returns a merged CookieJar. :param cookiejar: CookieJar object to add the cookies to. :param cookies: Dictionary or CookieJar object to be added. :rtype: CookieJar """ if not isinstance(cookiejar, cookielib.CookieJar): # type: ignore[reportUnnecessaryIsInstance] # runtime guard > raise ValueError("You can only merge into CookieJar") E ValueError: You can only merge into CookieJar /usr/lib/python3.14/site-packages/requests/cookies.py:614: ValueError _____________________________ test_localhost_works _____________________________ def test_localhost_works(): > requests.get("http://127.0.0.1:41719/") test_parametrize_with_socket_enabled_and_allow_hosts.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/requests/api.py:87: in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/api.py:71: in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:635: in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:532: in prepare_request merge_cookies(RequestsCookieJar(), self.cookies), cookies ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cookiejar = , cookies = def merge_cookies( cookiejar: CookieJar, cookies: dict[str, str] | CookieJar | None ) -> CookieJar: """Add cookies to cookiejar and returns a merged CookieJar. :param cookiejar: CookieJar object to add the cookies to. :param cookies: Dictionary or CookieJar object to be added. :rtype: CookieJar """ if not isinstance(cookiejar, cookielib.CookieJar): # type: ignore[reportUnnecessaryIsInstance] # runtime guard > raise ValueError("You can only merge into CookieJar") E ValueError: You can only merge into CookieJar /usr/lib/python3.14/site-packages/requests/cookies.py:614: ValueError ________________________ test_remote_not_allowed_fails _________________________ def test_remote_not_allowed_fails(): > requests.get("http://172.1.1.1/") test_parametrize_with_socket_enabled_and_allow_hosts.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/requests/api.py:87: in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/api.py:71: in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:635: in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/requests/sessions.py:532: in prepare_request merge_cookies(RequestsCookieJar(), self.cookies), cookies ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cookiejar = , cookies = def merge_cookies( cookiejar: CookieJar, cookies: dict[str, str] | CookieJar | None ) -> CookieJar: """Add cookies to cookiejar and returns a merged CookieJar. :param cookiejar: CookieJar object to add the cookies to. :param cookies: Dictionary or CookieJar object to be added. :rtype: CookieJar """ if not isinstance(cookiejar, cookielib.CookieJar): # type: ignore[reportUnnecessaryIsInstance] # runtime guard > raise ValueError("You can only merge into CookieJar") E ValueError: You can only merge into CookieJar /usr/lib/python3.14/site-packages/requests/cookies.py:614: ValueError =========================== short test summary info ============================ FAILED test_parametrize_with_socket_enabled_and_allow_hosts.py::test_domain[https://google.com] FAILED test_parametrize_with_socket_enabled_and_allow_hosts.py::test_domain[https://amazon.com] FAILED test_parametrize_with_socket_enabled_and_allow_hosts.py::test_domain[https://microsoft.com] FAILED test_parametrize_with_socket_enabled_and_allow_hosts.py::test_localhost_works FAILED test_parametrize_with_socket_enabled_and_allow_hosts.py::test_remote_not_allowed_fails ============================== 5 failed in 1.31s =============================== =========================== short test summary info ============================ FAILED tests/test_combinations.py::test_parametrize_with_socket_enabled_and_allow_hosts ================= 1 failed, 62 passed, 2 deselected in 20.19s ================== >>> ERROR: py3-pytest-socket: check failed >>> py3-pytest-socket: Uninstalling dependencies... ( 1/154) Purging .makedepends-py3-pytest-socket (20261110.105448) ( 2/154) Purging py3-pytest-pyc (9.1.1-r1) ( 3/154) Purging py3-pytest (9.1.1-r1) ( 4/154) Purging py3-iniconfig-pyc (2.3.0-r1) ( 5/154) Purging py3-iniconfig (2.3.0-r1) ( 6/154) Purging py3-pluggy-pyc (1.6.0-r1) ( 7/154) Purging py3-pluggy (1.6.0-r1) ( 8/154) Purging py3-py-pyc (1.11.0-r5) ( 9/154) Purging py3-py (1.11.0-r5) ( 10/154) Purging py3-pygments-pyc (2.21.0-r0) ( 11/154) Purging py3-pygments (2.21.0-r0) ( 12/154) Purging poetry-pyc (2.5.1-r1) ( 13/154) Purging poetry (2.5.1-r1) ( 14/154) Purging py3-poetry-core-pyc (2.5.0-r0) ( 15/154) Purging py3-poetry-core (2.5.0-r0) ( 16/154) Purging py3-lark-parser-pyc (1.2.2-r1) ( 17/154) Purging py3-lark-parser (1.2.2-r1) ( 18/154) Purging py3-build-pyc (1.4.2-r0) ( 19/154) Purging py3-build (1.4.2-r0) ( 20/154) Purging py3-cachecontrol-pyc (0.14.3-r1) ( 21/154) Purging py3-cachecontrol (0.14.3-r1) ( 22/154) Purging py3-msgpack-pyc (1.2.4-r0) ( 23/154) Purging py3-msgpack (1.2.4-r0) ( 24/154) Purging py3-cleo-pyc (2.2.1-r1) ( 25/154) Purging py3-cleo (2.2.1-r1) ( 26/154) Purging py3-crashtest-pyc (0.4.1-r6) ( 27/154) Purging py3-crashtest (0.4.1-r6) ( 28/154) Purging py3-rapidfuzz-pyc (3.14.5-r0) ( 29/154) Purging py3-rapidfuzz (3.14.5-r0) ( 30/154) Purging py3-dulwich-pyc (1.2.15-r0) ( 31/154) Purging py3-dulwich (1.2.15-r0) ( 32/154) Purging py3-fastjsonschema-pyc (2.22.2-r0) ( 33/154) Purging py3-fastjsonschema (2.22.2-r0) ( 34/154) Purging py3-keyring-pyc (24.3.1-r3) ( 35/154) Purging py3-keyring (24.3.1-r3) ( 36/154) Purging py3-importlib-metadata-pyc (9.1.0-r0) ( 37/154) Purging py3-importlib-metadata (9.1.0-r0) ( 38/154) Purging py3-zipp-pyc (4.1.2-r0) ( 39/154) Purging py3-zipp (4.1.2-r0) ( 40/154) Purging py3-jaraco.classes-pyc (3.4.0-r2) ( 41/154) Purging py3-jaraco.classes (3.4.0-r2) ( 42/154) Purging py3-more-itertools-pyc (10.8.0-r1) ( 43/154) Purging py3-more-itertools (10.8.0-r1) ( 44/154) Purging py3-secretstorage-pyc (3.5.0-r1) ( 45/154) Purging py3-secretstorage (3.5.0-r1) ( 46/154) Purging py3-cryptography-pyc (50.0.0-r0) ( 47/154) Purging py3-cryptography (50.0.0-r0) ( 48/154) Purging py3-cffi-pyc (2.1.1-r0) ( 49/154) Purging py3-cffi (2.1.1-r0) ( 50/154) Purging py3-cparser-pyc (3.0-r1) ( 51/154) Purging py3-cparser (3.0-r1) ( 52/154) Purging py3-jeepney-pyc (0.9.0-r1) ( 53/154) Purging py3-jeepney (0.9.0-r1) ( 54/154) Purging py3-pkginfo-pyc (1.12.1.2-r1) ( 55/154) Purging py3-pkginfo (1.12.1.2-r1) ( 56/154) Purging py3-pyproject-hooks-pyc (1.2.0-r1) ( 57/154) Purging py3-pyproject-hooks (1.2.0-r1) ( 58/154) Purging py3-requests-toolbelt-pyc (1.0.0-r2) ( 59/154) Purging py3-requests-toolbelt (1.0.0-r2) ( 60/154) Purging py3-requests-pyc (2.34.2-r0) ( 61/154) Purging py3-requests (2.34.2-r0) ( 62/154) Purging py3-charset-normalizer-pyc (3.5.1-r0) ( 63/154) Purging py3-charset-normalizer (3.5.1-r0) ( 64/154) Purging py3-urllib3-pyc (2.8.0-r0) ( 65/154) Purging py3-urllib3 (2.8.0-r0) ( 66/154) Purging py3-shellingham-pyc (1.5.4-r2) ( 67/154) Purging py3-shellingham (1.5.4-r2) ( 68/154) Purging py3-tomlkit-pyc (0.13.3-r1) ( 69/154) Purging py3-tomlkit (0.13.3-r1) ( 70/154) Purging py3-trove-classifiers-pyc (2026.9.21.13-r0) ( 71/154) Purging py3-trove-classifiers (2026.9.21.13-r0) ( 72/154) Purging py3-virtualenv-pyc (21.14.13-r0) ( 73/154) Purging py3-virtualenv (21.14.13-r0) ( 74/154) Purging py3-distlib-pyc (0.4.3-r0) ( 75/154) Purging py3-distlib (0.4.3-r0) ( 76/154) Purging py3-python-discovery-pyc (1.6.2-r0) ( 77/154) Purging py3-python-discovery (1.6.2-r0) ( 78/154) Purging py3-filelock-pyc (3.29.0-r0) ( 79/154) Purging py3-filelock (3.29.0-r0) ( 80/154) Purging py3-findpython-pyc (0.9.0-r0) ( 81/154) Purging py3-findpython (0.9.0-r0) ( 82/154) Purging py3-platformdirs-pyc (4.12.0-r0) ( 83/154) Purging py3-platformdirs (4.12.0-r0) ( 84/154) Purging py3-pbs-installer-pyc (2026.10.26-r0) ( 85/154) Purging py3-pbs-installer (2026.10.26-r0) ( 86/154) Purging py3-gpep517-pyc (20-r0) ( 87/154) Purging py3-gpep517 (20-r0) ( 88/154) Purging py3-installer-pyc (1.0.1-r0) ( 89/154) Purging py3-installer (1.0.1-r0) ( 90/154) Purging py3-wheel-pyc (0.48.0-r0) ( 91/154) Purging py3-wheel (0.48.0-r0) ( 92/154) Purging py3-packaging-pyc (26.3-r0) ( 93/154) Purging py3-packaging (26.3-r0) ( 94/154) Purging py3-parsing-pyc (3.3.3-r0) ( 95/154) Purging py3-parsing (3.3.3-r0) ( 96/154) Purging py3-httpx-pyc (0.28.1-r1) ( 97/154) Purging py3-httpx (0.28.1-r1) ( 98/154) Purging py3-httpcore-pyc (1.0.9-r1) ( 99/154) Purging py3-httpcore (1.0.9-r1) (100/154) Purging py3-anyio-pyc (4.16.0-r0) (101/154) Purging py3-anyio (4.16.0-r0) (102/154) Purging py3-typing-extensions-pyc (4.16.0-r0) (103/154) Purging py3-typing-extensions (4.16.0-r0) (104/154) Purging py3-certifi-pyc (2026.10.23-r0) (105/154) Purging py3-certifi (2026.10.23-r0) (106/154) Purging py3-h11-pyc (0.16.0-r1) (107/154) Purging py3-h11 (0.16.0-r1) (108/154) Purging py3-idna-pyc (3.20-r0) (109/154) Purging py3-idna (3.20-r0) (110/154) Purging py3-sniffio-pyc (1.3.1-r2) (111/154) Purging py3-sniffio (1.3.1-r2) (112/154) Purging py3-curio-pyc (1.6-r4) (113/154) Purging py3-curio (1.6-r4) (114/154) Purging py3-pytest-httpbin-pyc (2.1.0-r1) (115/154) Purging py3-pytest-httpbin (2.1.0-r1) (116/154) Purging py3-httpbin-pyc (0.10.4-r0) (117/154) Purging py3-httpbin (0.10.4-r0) (118/154) Purging py3-flask-pyc (3.1.3-r2) (119/154) Purging py3-flask (3.1.3-r2) (120/154) Purging py3-asgiref-pyc (3.12.1-r0) (121/154) Purging py3-asgiref (3.12.1-r0) (122/154) Purging py3-click-pyc (8.4.2-r0) (123/154) Purging py3-click (8.4.2-r0) (124/154) Purging py3-dotenv-pyc (1.2.4-r0) (125/154) Purging py3-dotenv (1.2.4-r0) (126/154) Purging py3-itsdangerous-pyc (2.2.0-r1) (127/154) Purging py3-itsdangerous (2.2.0-r1) (128/154) Purging py3-jinja2-pyc (3.1.6-r1) (129/154) Purging py3-jinja2 (3.1.6-r1) (130/154) Purging py3-werkzeug-pyc (3.1.8-r0) (131/154) Purging py3-werkzeug (3.1.8-r0) (132/154) Purging py3-markupsafe-pyc (3.0.3-r1) (133/154) Purging py3-markupsafe (3.0.3-r1) (134/154) Purging py3-six-pyc (1.17.0-r1) (135/154) Purging py3-six (1.17.0-r1) (136/154) Purging py3-raven-pyc (6.10.0-r8) (137/154) Purging py3-raven (6.10.0-r8) (138/154) Purging py3-blinker-pyc (1.9.0-r1) (139/154) Purging py3-blinker (1.9.0-r1) (140/154) Purging py3-brotli-pyc (1.2.1-r0) (141/154) Purging py3-brotli (1.2.1-r0) (142/154) Purging py3-decorator-pyc (5.3.1-r0) (143/154) Purging py3-decorator (5.3.1-r0) (144/154) Purging python3-pyc (3.14.10-r1) (145/154) Purging python3-pycache-pyc0 (3.14.10-r1) (146/154) Purging pyc (3.14.10-r1) (147/154) Purging python3 (3.14.10-r1) (148/154) Purging libbz2 (1.0.8-r6) (149/154) Purging libffi (3.8.0-r0) (150/154) Purging libpanelw (6.6_p20261017-r0) (151/154) Purging mpdecimal (4.0.1-r0) (152/154) Purging readline (8.3.3-r1) (153/154) Purging sqlite-libs (3.54.1-r0) (154/154) Purging xz-libs (5.8.4-r0) Executing busybox-1.38.0-r8.trigger OK: 362.3 MiB in 100 packages