python-httpx 0.28.1-7 any, from extra failed
failed 2026-09-10T12:53:45Z on jonny-ryzen9-4, attempt 3 of 3: gave up; 37M rss, 40M peak
- job
- 5-1788970191-hegjon-test,python-httpx,0.28.1-7,any
- commit
- d10c7197d8d7baa302cc00559459fcd8e41f4ead
- log
- /var/lib/archci/logs/hegjon-test/python-httpx/0.28.1-7/any/attempt-3.log
log 426 lines · first error at 422
1==> archci-build 5-1788970191-hegjon-test,python-httpx,0.28.1-7,any on jonny-ryzen9 at 2026-09-10T12:53:23Z2 repo=hegjon-test arch=any profile=extra chroot=/var/lib/archbuild/extra-x86_64 copy=archci-4 commit=d10c7197d8d7baa302cc00559459fcd8e41f4ead3 pacman.conf=/var/lib/archci-worker/chroot-conf/hegjon-test-extra-x86_64.conf makepkg.conf=/usr/share/devtools/makepkg.conf.d/x86_64.conf cache=/var/cache/archci/pkg/hegjon-test-x86_64/4==> Fetching pkgbuilds/python-httpx at d10c7197d8d7baa302cc00559459fcd8e41f4ead from https://github.com/hegjon/omarchy-pkgs.git5==> Building python-httpx 0.28.1-7 in archci-46pam_unix(runuser:session): session opened for user archci(uid=955) by archci(uid=0)7==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [archci-4]...done8 root : PWD=/var/lib/archci-worker/build/4/python-httpx ; USER=archci ; ENV=GNUPGHOME=/var/lib/archci-worker/gnupg ; COMMAND=/usr/bin/env SRCDEST=/var/lib/archci-worker/srcdest BUILDDIR=/tmp/makechrootpkg.oEVZm20W0f makepkg --config=/var/lib/archbuild/extra-x86_64/archci-4/etc/makepkg.conf --verifysource -o9pam_unix(sudo:session): session opened for user archci(uid=955) by (uid=0)10==> Making package: python-httpx 0.28.1-7 (Thu Sep 10 14:53:26 2026)11==> Retrieving sources...12 -> Found python-httpx-0.28.1.tar.gz13 -> Found uvicorn-test-server-use-h11.diff14==> Validating source files with sha512sums...15 python-httpx-0.28.1.tar.gz ... Passed16 uvicorn-test-server-use-h11.diff ... Passed17==> Validating source files with b2sums...18 python-httpx-0.28.1.tar.gz ... Passed19 uvicorn-test-server-use-h11.diff ... Passed20pam_unix(sudo:session): session closed for user archci21 root : PWD=/var/lib/archci-worker/build/4/python-httpx ; USER=archci ; COMMAND=/usr/bin/bash -c '#012#011#011source PKGBUILD#012#011#011printf "%s\\n" "${pkgbase:-${pkgname}}" "${pkgname[@]}"#012'22pam_unix(sudo:session): session opened for user archci(uid=955) by (uid=0)23pam_unix(sudo:session): session closed for user archci24Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.25==> Making package: python-httpx 0.28.1-7 (Thu Sep 10 12:53:29 2026)26==> Checking runtime dependencies...27==> Installing missing dependencies...28resolving dependencies...29looking for conflicting packages...30Package (5) New Version Net Change31hegjon-test/python-h11 0.16.0-2 0.29 MiB32hegjon-test/python-anyio 4.15.1-1 2.24 MiB33hegjon-test/python-certifi 2026.07.22-1 0.02 MiB34hegjon-test/python-httpcore 1.0.9-3 1.04 MiB35hegjon-test/python-idna 3.19-1 0.66 MiB36Total Installed Size: 4.26 MiB37:: Proceed with installation? [Y/n]38checking keyring...39checking package integrity...40loading package files...41checking for file conflicts...42:: Processing package changes...43installing python-certifi...44installing python-h11...45installing python-httpcore...46Optional dependencies for python-httpcore47 python-h2: for HTTP/2 support48 python-socksio: for SOCKS support49 python-anyio: for asyncio backend [pending]50 python-trio: for trio backend51 python-sniffio: for async support52installing python-idna...53installing python-anyio...54Optional dependencies for python-anyio55 python-trio: trio backend56 python-outcome: trio backend57 python-uvloop: use uvloop for asyncio backend58 python-pytest: pytest plugin59:: Running post-transaction hooks...60(1/1) Arming ConditionNeedsUpdate...61==> Checking buildtime dependencies...62==> Installing missing dependencies...63resolving dependencies...64looking for conflicting packages...65Package (40) New Version Net Change Download Size66hegjon-test/python-attrs 26.1.0-1 0.63 MiB67hegjon-test/python-cffi 2.1.1-1 1.40 MiB68extra/python-click 8.3.3-1 1.38 MiB69hegjon-test/python-cryptography 50.0.1-1 6.32 MiB70hegjon-test/python-editables 0.6-1 0.04 MiB71extra/python-hpack 4.2.0-1 0.62 MiB72extra/python-hyperframe 6.1.0-2 0.15 MiB73hegjon-test/python-hypothesis 6.167.1-1 6.51 MiB74hegjon-test/python-iniconfig 2.3.0-1 0.07 MiB75hegjon-test/python-markdown-it-py 4.2.0-1 0.81 MiB76hegjon-test/python-mdurl 0.1.2-9.1 0.06 MiB77extra/python-outcome 1.3.0.post0-7 0.05 MiB78extra/python-packaging 26.3-1 1.58 MiB79hegjon-test/python-pathspec 1.1.1-1 0.47 MiB80hegjon-test/python-pluggy 1.6.0-3 0.22 MiB81hegjon-test/python-pycparser 3.00-1 0.71 MiB82extra/python-pyopenssl 26.4.0-1 0.72 MiB83hegjon-test/python-pyproject-hooks 1.2.0-6.1 0.11 MiB84hegjon-test/python-pytest 1:9.1.1-1 4.95 MiB85extra/python-sniffio 1.3.1-5 0.04 MiB86hegjon-test/python-sortedcontainers 2.4.0-8 0.38 MiB87extra/python-trio 0.34.0-1 3.11 MiB88hegjon-test/python-trove-classifiers 2026.6.1.19-1 0.16 MiB89extra/python-typing_extensions 4.16.0-1 0.53 MiB90core/python-brotli 1.2.0-1 0.85 MiB91extra/python-brotlicffi 1.2.0.2-1 0.13 MiB 0.03 MiB92extra/python-build 1.6.0-1 0.33 MiB93extra/python-chardet 6.0.0.post1-1 35.24 MiB 0.58 MiB94extra/python-h2 4.4.1-1 0.75 MiB95extra/python-hatch-fancy-pypi-readme 25.1.0-2 0.06 MiB 0.02 MiB96extra/python-hatchling 1.30.1-1 1.09 MiB97hegjon-test/python-installer 1.0.1-1 0.21 MiB98hegjon-test/python-pygments 2.21.0-1 15.59 MiB99hegjon-test/python-pytest-asyncio 1.4.0-1 0.17 MiB 0.04 MiB100extra/python-pytest-trio 0.8.0-11 0.22 MiB 0.04 MiB101hegjon-test/python-rich 15.0.0-1 4.49 MiB102extra/python-socksio 1.0.0-8 0.12 MiB 0.03 MiB103extra/python-trustme 1.2.1-1 0.10 MiB104extra/python-zstandard 0.25.0-3 1.40 MiB 0.38 MiB105extra/uvicorn 0.52.4-1 1.02 MiB 0.16 MiB106Total Download Size: 1.27 MiB107Total Installed Size: 92.80 MiB108:: Proceed with installation? [Y/n]109:: Retrieving packages...110 python-chardet-6.0.0.post1-1-any downloading...111 python-zstandard-0.25.0-3-x86_64 downloading...112 uvicorn-0.52.4-1-any downloading...113 python-pytest-trio-0.8.0-11-any downloading...114 python-pytest-asyncio-1.4.0-1-any downloading...115 python-brotlicffi-1.2.0.2-1-x86_64 downloading...116 python-socksio-1.0.0-8-any downloading...117 python-hatch-fancy-pypi-readme-25.1.0-2-any downloading...118checking keyring...119checking package integrity...120loading package files...121checking for file conflicts...122:: Processing package changes...123installing python-packaging...124installing python-pyproject-hooks...125installing python-build...126Optional dependencies for python-build127 python-pip: to use as the Python package installer (default)128 python-uv: to use as the Python package installer129 python-virtualenv: to use virtualenv for build isolation130installing python-installer...131installing python-editables...132installing python-pathspec...133Optional dependencies for python-pathspec134 python-google-re2: re2 backend135installing python-pluggy...136installing python-trove-classifiers...137installing python-hatchling...138installing python-hatch-fancy-pypi-readme...139installing python-pygments...140installing python-iniconfig...141installing python-pytest...142installing python-pytest-asyncio...143installing python-attrs...144installing python-sortedcontainers...145installing python-hypothesis...146Optional dependencies for python-hypothesis147 python-black: for CLI and ghostwriter148 python-click: for CLI [pending]149 python-dateutil: for date support150 python-django: for django module151 python-dpcontracts: for contracts support152 python-faker: for fakefactory and django module153 python-lark-parser: for lark module154 python-libcst: for codemods module155 python-numpy: for numpy module156 python-pandas: for pandas support157 python-pytest: for pytest module [installed]158 python-pytz: for datetime and django module159 python-redis: for redis support160 python-rich: for CLI [pending]161 python-watchdog: for tracking file system events162installing python-typing_extensions...163installing python-outcome...164installing python-sniffio...165installing python-trio...166installing python-pytest-trio...167installing python-brotli...168installing python-pycparser...169installing python-cffi...170Optional dependencies for python-cffi171 python-setuptools: "limited api" version checking in cffi.setuptools_ext172installing python-brotlicffi...173installing python-hpack...174installing python-hyperframe...175installing python-h2...176installing python-cryptography...177installing python-pyopenssl...178installing python-trustme...179installing python-click...180installing uvicorn...181Optional dependencies for uvicorn182 python-a2wsgi: for WSGI support183 python-dotenv: for --env-file support184 python-gunicorn: for Gunicorn workers185 python-httptools: for faster HTTP protocol handling186 python-pyyaml: for --log-config with YAML187 python-uvloop: for faster event loop188 python-watchfiles: for --reload support189 python-websockets: for WebSocket support190 python-wsproto: for WebSocket support191installing python-socksio...192installing python-mdurl...193installing python-markdown-it-py...194Optional dependencies for python-markdown-it-py195 python-mdit_py_plugins: core plugins196 python-linkify-it-py: linkify extension197installing python-rich...198installing python-chardet...199installing python-zstandard...200Optional dependencies for python-zstandard201 python-cffi [installed]202:: Running post-transaction hooks...203(1/1) Arming ConditionNeedsUpdate...204==> Retrieving sources...205 -> Found python-httpx-0.28.1.tar.gz206 -> Found uvicorn-test-server-use-h11.diff207==> WARNING: Skipping all source file integrity checks.208==> Extracting sources...209 -> Extracting python-httpx-0.28.1.tar.gz with bsdtar210==> Starting prepare()...211patching file tests/conftest.py212Hunk #1 succeeded at 282 with fuzz 1 (offset -22 lines).213==> Starting build()...214* Getting build dependencies for wheel...215* Building wheel...216Successfully built httpx-0.28.1-py3-none-any.whl217==> Starting check()...218============================= test session starts ==============================219platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0220rootdir: /build/python-httpx/src/httpx-0.28.1221configfile: pyproject.toml222plugins: anyio-4.15.1, asyncio-1.4.0, hypothesis-6.167.1, trio-0.8.0223asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function224collected 1418 items / 5 deselected / 1413 selected225tests/client/test_async_client.py ...................................... [ 2%]226.............. [ 3%]227tests/client/test_auth.py .............................................. [ 6%]228..........................s....... [ 9%]229tests/client/test_client.py .................................FF [ 11%]230tests/client/test_cookies.py ....... [ 12%]231tests/client/test_event_hooks.py ......... [ 12%]232tests/client/test_headers.py ................. [ 14%]233tests/client/test_properties.py ........ [ 14%]234tests/client/test_proxies.py ........................................... [ 17%]235....................... [ 19%]236tests/client/test_queryparams.py ... [ 19%]237tests/client/test_redirects.py ............................... [ 21%]238tests/models/test_cookies.py ....... [ 22%]239tests/models/test_headers.py ........................... [ 24%]240tests/models/test_queryparams.py .............. [ 25%]241tests/models/test_requests.py ........................ [ 26%]242tests/models/test_responses.py ......................................... [ 29%]243...............................................................F. [ 34%]244tests/models/test_url.py ............................................... [ 37%]245........................................... [ 40%]246tests/models/test_whatwg.py ............................................ [ 43%]247........................................................................ [ 48%]248........................................................................ [ 54%]249........................................................................ [ 59%]250........................................................................ [ 64%]251........................................................................ [ 69%]252........................................................................ [ 74%]253........................................................................ [ 79%]254............... [ 80%]255tests/test_api.py ............ [ 81%]256tests/test_asgi.py ........................ [ 83%]257tests/test_auth.py ........ [ 83%]258tests/test_config.py ............................ [ 85%]259tests/test_content.py ........................................... [ 88%]260tests/test_decoders.py ........................................ [ 91%]261tests/test_exceptions.py ... [ 91%]262tests/test_exported_members.py . [ 91%]263tests/test_main.py ........... [ 92%]264tests/test_multipart.py ...................................... [ 95%]265tests/test_status_codes.py ...... [ 95%]266tests/test_timeouts.py ........ [ 96%]267tests/test_utils.py .............FF......................... [ 99%]268tests/test_wsgi.py ............ [100%]269=================================== FAILURES ===================================270___________________ test_client_decode_text_using_autodetect ___________________271 def test_client_decode_text_using_autodetect():272 # Ensure that a 'default_encoding=autodetect' on the response allows for273 # encoding autodetection to be used when no "Content-Type: text/plain; charset=..."274 # info is present.275 #276 # Here we have some french text encoded with ISO-8859-1, rather than UTF-8.277 text = (278 "Non-seulement Despr??aux ne se trompait pas, mais de tous les ??crivains "279 "que la France a produits, sans excepter Voltaire lui-m??me, impr??gn?? de "280 "l'esprit anglais par son s??jour ?? Londres, c'est incontestablement "281 "Moli??re ou Poquelin qui reproduit avec l'exactitude la plus vive et la "282 "plus compl??te le fond du g??nie fran??ais."283 )284 285 def cp1252_but_no_content_type(request):286 content = text.encode("ISO-8859-1")287 return httpx.Response(200, content=content)288 289 transport = httpx.MockTransport(cp1252_but_no_content_type)290 with httpx.Client(transport=transport, default_encoding=autodetect) as client:291 response = client.get("http://www.example.com")292 293 assert response.status_code == 200294 assert response.reason_phrase == "OK"295> assert response.encoding == "ISO-8859-1"296E AssertionError: assert 'WINDOWS-1252' == 'ISO-8859-1'297E298E - ISO-8859-1299E + WINDOWS-1252300tests/client/test_client.py:434: AssertionError301_______________ test_client_decode_text_using_explicit_encoding ________________302 def test_client_decode_text_using_explicit_encoding():303 # Ensure that a 'default_encoding="..."' on the response is used for text decoding304 # when no "Content-Type: text/plain; charset=..."" info is present.305 #306 # Here we have some french text encoded with ISO-8859-1, rather than UTF-8.307 text = (308 "Non-seulement Despr??aux ne se trompait pas, mais de tous les ??crivains "309 "que la France a produits, sans excepter Voltaire lui-m??me, impr??gn?? de "310 "l'esprit anglais par son s??jour ?? Londres, c'est incontestablement "311 "Moli??re ou Poquelin qui reproduit avec l'exactitude la plus vive et la "312 "plus compl??te le fond du g??nie fran??ais."313 )314 315 def cp1252_but_no_content_type(request):316 content = text.encode("ISO-8859-1")317 return httpx.Response(200, content=content)318 319 transport = httpx.MockTransport(cp1252_but_no_content_type)320 with httpx.Client(transport=transport, default_encoding=autodetect) as client:321 response = client.get("http://www.example.com")322 323 assert response.status_code == 200324 assert response.reason_phrase == "OK"325> assert response.encoding == "ISO-8859-1"326E AssertionError: assert 'WINDOWS-1252' == 'ISO-8859-1'327E328E - ISO-8859-1329E + WINDOWS-1252330tests/client/test_client.py:461: AssertionError331__________________ test_response_decode_text_using_autodetect __________________332 def test_response_decode_text_using_autodetect():333 # Ensure that a 'default_encoding="autodetect"' on the response allows for334 # encoding autodetection to be used when no "Content-Type: text/plain; charset=..."335 # info is present.336 #337 # Here we have some french text encoded with ISO-8859-1, rather than UTF-8.338 text = (339 "Non-seulement Despr??aux ne se trompait pas, mais de tous les ??crivains "340 "que la France a produits, sans excepter Voltaire lui-m??me, impr??gn?? de "341 "l'esprit anglais par son s??jour ?? Londres, c'est incontestablement "342 "Moli??re ou Poquelin qui reproduit avec l'exactitude la plus vive et la "343 "plus compl??te le fond du g??nie fran??ais."344 )345 content = text.encode("ISO-8859-1")346 response = httpx.Response(200, content=content, default_encoding=autodetect)347 348 assert response.status_code == 200349 assert response.reason_phrase == "OK"350> assert response.encoding == "ISO-8859-1"351E AssertionError: assert 'WINDOWS-1252' == 'ISO-8859-1'352E353E - ISO-8859-1354E + WINDOWS-1252355tests/models/test_responses.py:1014: AssertionError356_____________________________ test_logging_request _____________________________357server = <tests.conftest.TestServer object at 0x7fe3d7d0fe00>358caplog = <_pytest.logging.LogCaptureFixture object at 0x7fe3d63e0830>359 def test_logging_request(server, caplog):360 caplog.set_level(logging.INFO)361 with httpx.Client() as client:362 response = client.get(server.url)363 assert response.status_code == 200364 365> assert caplog.record_tuples == [366 (367 "httpx",368 logging.INFO,369 'HTTP Request: GET http://127.0.0.1:8000/ "HTTP/1.1 200 OK"',370 )371 ]372E assert [('uvicorn.ac...1.1 200 OK"')] == [('httpx', 20...1.1 200 OK"')]373E374E At index 0 diff: ('uvicorn.access', 20, '127.0.0.1:59006 - "GET / HTTP/1.1" 200') != ('httpx', 20, 'HTTP Request: GET http://127.0.0.1:8000/ "HTTP/1.1 200 OK"')375E Left contains one more item: ('httpx', 20, 'HTTP Request: GET http://127.0.0.1:8000/ "HTTP/1.1 200 OK"')376E Use -v to get more diff377tests/test_utils.py:59: AssertionError378----------------------------- Captured stdout call -----------------------------379INFO: 127.0.0.1:59006 - "GET / HTTP/1.1" 200 OK380------------------------------ Captured log call -------------------------------381INFO uvicorn.access:h11_impl.py:482 127.0.0.1:59006 - "GET / HTTP/1.1" 200382INFO httpx:_client.py:1025 HTTP Request: GET http://127.0.0.1:8000/ "HTTP/1.1 200 OK"383_________________________ test_logging_redirect_chain __________________________384server = <tests.conftest.TestServer object at 0x7fe3d7d0fe00>385caplog = <_pytest.logging.LogCaptureFixture object at 0x7fe3d7689f90>386 def test_logging_redirect_chain(server, caplog):387 caplog.set_level(logging.INFO)388 with httpx.Client(follow_redirects=True) as client:389 response = client.get(server.url.copy_with(path="/redirect_301"))390 assert response.status_code == 200391 392> assert caplog.record_tuples == [393 (394 "httpx",395 logging.INFO,396 "HTTP Request: GET http://127.0.0.1:8000/redirect_301"397 ' "HTTP/1.1 301 Moved Permanently"',398 ),399 (400 "httpx",401 logging.INFO,402 'HTTP Request: GET http://127.0.0.1:8000/ "HTTP/1.1 200 OK"',403 ),404 ]405E assert [('uvicorn.ac...1.1 200 OK"')] == [('httpx', 20...1.1 200 OK"')]406E407E At index 0 diff: ('uvicorn.access', 20, '127.0.0.1:59012 - "GET /redirect_301 HTTP/1.1" 301') != ('httpx', 20, 'HTTP Request: GET http://127.0.0.1:8000/redirect_301 "HTTP/1.1 301 Moved Permanently"')408E Left contains 2 more items, first extra item: ('uvicorn.access', 20, '127.0.0.1:59012 - "GET / HTTP/1.1" 200')409E Use -v to get more diff410tests/test_utils.py:74: AssertionError411----------------------------- Captured stdout call -----------------------------412INFO: 127.0.0.1:59012 - "GET /redirect_301 HTTP/1.1" 301 Moved Permanently413INFO: 127.0.0.1:59012 - "GET / HTTP/1.1" 200 OK414------------------------------ Captured log call -------------------------------415INFO uvicorn.access:h11_impl.py:482 127.0.0.1:59012 - "GET /redirect_301 HTTP/1.1" 301416INFO httpx:_client.py:1025 HTTP Request: GET http://127.0.0.1:8000/redirect_301 "HTTP/1.1 301 Moved Permanently"417INFO uvicorn.access:h11_impl.py:482 127.0.0.1:59012 - "GET / HTTP/1.1" 200418INFO httpx:_client.py:1025 HTTP Request: GET http://127.0.0.1:8000/ "HTTP/1.1 200 OK"419=========================== short test summary info ============================420SKIPPED [1] tests/client/test_auth.py:273: netrc files without a password are valid from Python >= 3.11421=========== 5 failed, 1407 passed, 1 skipped, 5 deselected in 5.36s ============422==> ERROR: A failure occurred in check().423 Aborting...424==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/archci-4/build425==> makechrootpkg exited with 255426==> archci-build finished with 255 at 2026-09-10T12:53:40Z: