From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2OYbAv81fWdNHgAAe85BDQ:P1 (envelope-from ) for ; Tue, 07 Jan 2025 14:11:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2OYbAv81fWdNHgAAe85BDQ (envelope-from ) for ; Tue, 07 Jan 2025 15:11:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=bTLxtf3G; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=NlBCx5uo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736259070; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ERFd/x4sdsyuPN23SmJBH+mDdq57GMU0BLO8MJo5VXg=; b=NrA1XZSzM0ziYodrVS7j6dp/XJigJFdFFRWm+uzLwdpaUPRVqEmYqHGUgyUDuF0AVUigao +EAB51Z8FQhgBzs7XnLucp2ziBpWNze/jLKMj85WaoE/YUlYzHGJpSqcp4rjXAWQ3haa2i 5EDEtfhglBN/w9ws8TUGjGYSjbxsptm+OsV+Z2AvRioaO1URy9GBdbv7M0GioMotgMx0k9 v7cyncqQkmeV5NiLzlBDp4gobAVb7NIkg0+6ufXdvTGt03fPQtvqNo97faS9jb8hk1RXbs 1WdU+hFYp8wHEoCouB0yTPdYPlQVZJeEVGUiXJ2yS6Twik5mo0mKQrh0BHrdRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=bTLxtf3G; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=NlBCx5uo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736259070; a=rsa-sha256; cv=none; b=qQHals80Yemhkvd0+3IRNw5vpvF7L5ZjcXyOAzTSpM7potAiJBspgP+sha/kfgOmFgJbSf p+ZBQMONsyk3WvMEQ9ZQLeJrRgt/Xz2Wusbc4EmTL23LIT2NLXSaMv7zP/XVzs3SnThhve CgA0r9WNXB+5SDLwZWVfgPr7Z6pGAfyg6agHeEj0zJZHWDqgHkGQbh/DNJ8sh5WB1+WDVD LzHWTN7KvVFqhOwjjblpvEgrHjDUkyiyv3cftn/BrWcMvA5Be1YnKDoCpzHRlLL7GxO8fL 3e6wEcYNORoEQPYKryB4kPasKwtoBISOQXlTA/Unbw4e+OBK7Cdt476jfFJOPg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A6D8C1B1E3 for ; Tue, 07 Jan 2025 15:11:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVAIW-000493-Ll; Tue, 07 Jan 2025 09:11:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVAIV-00048W-8g for guix-patches@gnu.org; Tue, 07 Jan 2025 09:11:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVAIU-0001f4-W4; Tue, 07 Jan 2025 09:11:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ERFd/x4sdsyuPN23SmJBH+mDdq57GMU0BLO8MJo5VXg=; b=bTLxtf3GAMI9rWM1zSM6MYAV5YNRBwKYqOLfrOErOweW9Pt0aSwSFtTj+PcUyAbXhB3DA5R8uBbD52IHg1oMSd+YPQ2EGcSZjkzNOW8NR+m08hIEo0KIiGUU3+wfTuwxD2OytTilphjGQ9UGO+MjXSNfpRxkN0MkWi6I8C6maD7kn0ielzQGWhv6pIsV2Gs7QkR8SwnS9ryx4DQQqjlVNMWhy5bhzmxQ5XcdDGD5S+w7ZbxLjURBIyp7Wc75faMmwaMoWrdjdlbUokPpSdeIp8ghOd6lgIBzVJC31Zn0aI1Nm9xSL2kxTBao3cuKu+GfRWtbjzei3ZjMJrpRp4xbBg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVAIU-0001Aj-4a; Tue, 07 Jan 2025 09:11:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75420] [PATCH python-team 05/11] gnu: python-aiohttp: Update to 3.10.11. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 07 Jan 2025 14:11:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75420 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75420@debbugs.gnu.org Cc: Arjan Adriaanse , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 75420-submit@debbugs.gnu.org id=B75420.17362590204174 (code B ref 75420); Tue, 07 Jan 2025 14:11:06 +0000 Received: (at 75420) by debbugs.gnu.org; 7 Jan 2025 14:10:20 +0000 Received: from localhost ([127.0.0.1]:42204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVAHj-00014g-BL for submit@debbugs.gnu.org; Tue, 07 Jan 2025 09:10:20 -0500 Received: from dane.soverin.net ([185.233.34.31]:56107) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVAHg-00011Y-EG for 75420@debbugs.gnu.org; Tue, 07 Jan 2025 09:10:17 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4YSCcL3j9Dz2xTl; Tue, 7 Jan 2025 14:10:10 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4YSCcK1fSqz2xQn; Tue, 7 Jan 2025 14:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1736259010; bh=m575HUYsosWWPFceicS/GDcajIS/0J1lOZacuuuSPOA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NlBCx5uoUQaM2tSXgvcLauXgIVmGxgptVURGC/e62AcxD0eQQQZm9Q4bx/FVYj1C6 V1Zr9SJeb1In8rkA8fYWCk4FfSOhFKBjK062LUoCl1yv+eh/dm3eAhFuhHI+bYM06R 0EAnjXgF4nLmOnCgiYEETvm10Zwyz7Ie50901x3GwNQd8n756If7VFPZpzeElAaxwN gE0zEEq14KOSEMcN9jEMejKhEPI6C7w3hjuuKXFBkPjDbSMiqHzclkZZKc9nv8KW87 wH1fudPmac3sHoZfH6HfAM9vCoRKSMMfNpedPYiPLtvmvMnZIOC3FQMz+fW0rdtlJJ fBjAIoDeqMZtw== X-CM-Envelope: MS4xfPP+Rjd+dUevgXof8A0xAxRGyHCoiBJ7figw3OoQiWjx2POfjpSVnmXQmZj1Yp34YIrz8txp1jQTgTtw0/IBSMpk7EgSWqDQo88b87TM3Dkqoybl7AN3 Eaf3UTgtzjVHB2TsRJz+f8i/bQSXmU0JkF6FP0K7t4BlzTqDkF3mRvFhAjv/dxHyWyoX3mU/d2O4rB5xxiSp82L4fi1I07t8j3uDgS+JDCKZ+ZyIjEqQYoXi 77a7JsJ0F96LbukeG6Al01JUxSbeamLy1Yu4EaShgLY= X-CM-Analysis: v=2.4 cv=e8f8Sbp/ c=1 sm=1 tr=0 ts=677d35c2 a=fD/rzi2Tphj41Sc3CkWoTA==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=aT1mtRs1AAAA:8 a=Q-1hpRc9NnZnXAwkmqcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=ALGGo9ihC9xXEHhQtaWt:22 From: Arjan Adriaanse Date: Tue, 7 Jan 2025 15:09:16 +0100 Message-ID: <9066b6fb43dd5328d24ac3348262968dcdc714aa.1736256868.git.arjan@adriaan.se> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spampanel-Class: ham X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.93 X-Spam-Score: -6.93 X-Migadu-Queue-Id: A6D8C1B1E3 X-Migadu-Scanner: mx10.migadu.com X-TUID: /rP+9KXsIPJK * gnu/packages/python-web.scm (python-aiohttp): Update to 3.10.11. Change-Id: Icbc68e14192af07f0c5785721e68afb52b61ce33 --- gnu/packages/python-web.scm | 115 +++++++++++------------------------- 1 file changed, 34 insertions(+), 81 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 15c43691d5..a5371ef601 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -669,114 +669,67 @@ (define-public python-aiosignal (define-public python-aiohttp (package (name "python-aiohttp") - (version "3.8.4") + (version "3.10.11") (source (origin (method url-fetch) (uri (pypi-uri "aiohttp" version)) (sha256 - (base32 "0p5bj6g7ca19gvwk8fz00k579ma9w9kd27ssh2zl3r61ca8ilbmz")) - (snippet - #~(begin - (use-modules ((guix build utils))) - ;; TODO: Unbundle the llhttp sources. - ;; (delete-file-recursively "vendor") - (delete-file "aiohttp/_helpers.c") - (delete-file "aiohttp/_http_parser.c") - (delete-file "aiohttp/_http_writer.c") - (delete-file "aiohttp/_websocket.c"))))) - (build-system python-build-system) + (base32 "19rk9n9293r8sdqilpxj9brycm9v1jjqv71hzbh3jbmbvkrvihlx")))) + (build-system pyproject-build-system) (arguments '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'fix-tests - (lambda _ - ;; Disable brotli tests, because we’re not providing that - ;; optional library. - (substitute* "tests/test_http_parser.py" - ((" async def test_feed_eof_no_err_brotli") - " @pytest.mark.xfail\n async def test_feed_eof_no_err_brotli")) - ;; Make sure the timestamp of this file is > 1990, because a few - ;; tests like test_static_file_if_modified_since_past_date depend - ;; on it. - (let ((late-90s (* 60 60 24 365 30))) - (utime "tests/data.unknown_mime_type" late-90s late-90s)) - - ;; Disable test that attempts to access httpbin.org. - (substitute* "tests/test_formdata.py" - (("async def test_mark_formdata_as_processed.*" all) - (string-append "@pytest.mark.xfail\n" all))) - - ;; Don't test the aiohttp pytest plugin to avoid a dependency loop. - (delete-file "tests/test_pytest_plugin.py"))) - (add-before 'build 'cythonize - (lambda _ - ;; Adapted from the Makefile. - (with-directory-excursion "aiohttp" - (for-each - (lambda (file) - (invoke "cython" "-3" - file "-I" ".")) - (find-files "." "_.*\\.pyx$"))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (let ((skipped-tests - (string-append - ;; This test probably requires to be run with the - ;; library loaded from the the build directory. - "not test_c_parser_loaded and " - ;; TODO: These tests fail with recent versions of Pytest - ;; and the fix is difficult to backport: - ;; https://github.com/aio-libs/aiohttp/pull/6872 - ;; Re-enable after 3.9. - "not test_session_close_awaitable and " - "not test_async_with_session and " - "not test_close_run_until_complete_not_deprecated and " - ;; Disable the following tests as they require - ;; networking. - "not TestDeflateBuffer and " - "not test_client_session_timeout_zero and " - "not test_empty_body and " - "not test_mark_formdata_as_processed[pyloop] and " - "not test_receive_runtime_err[pyloop] " - ;; These tests fail for unknown reasons (see: - ;; https://github.com/aio-libs/aiohttp/issues/7130) - "and not test_no_warnings " - "and not test_default_loop " - "and not test_ctor_global_loop " - "and not test_set_loop_default_loop "))) + (string-append + ;; Disable the following tests as they require + ;; networking. + "not test_host_header_ipv6[pyloop-True] and " + "not test_http_response_parser_strict_obs_line_folding[py-parser-pyloop] and " + "not test_http_response_parser_strict_obs_line_folding[c-parser-pyloop] and " + "not test_http_response_parser_strict_headers[c-parser-pyloop] and " + "not test_http_response_parser_bad_chunked_strict_py[pyloop] and " + "not test_http_response_parser_bad_chunked_strict_c[pyloop] and " + "not test_add_static_path_resolution " + ;; These tests fail for unknown reasons (see: + ;; https://github.com/aio-libs/aiohttp/issues/7130) + "and not test_no_warnings " + "and not test_default_loop " + "and not test_ctor_global_loop " + "and not test_set_loop_default_loop " + ;; This test depends on timing which makes it unstable. + "and not test_import_time "))) (when tests? - ;; This tests requires the 'proxy.py' module, not yet - ;; packaged. - (delete-file "tests/test_proxy_functional.py") ;; Sometimes tests fail when run in parallel. (invoke "pytest" "-vv" "-o" "addopts=''" "--ignore=aiohttp" - ;; These tests cause errors (see: - ;; https://github.com/aio-libs/aiohttp/issues/7130). - "--ignore" "tests/test_web_sendfile_functional.py" - "--ignore" "tests/test_web_urldispatcher.py" + ;; These tests require the 'proxy.py' module, not yet + ;; packaged. + "--ignore" "tests/test_proxy_functional.py" + ;; These tests require Docker. + "--ignore" "tests/autobahn/test_autobahn.py" "-k" skipped-tests)))))))) (propagated-inputs (list python-aiodns + python-aiohappyeyeballs python-aiosignal - python-attrs - python-asynctest python-async-timeout - python-charset-normalizer + python-attrs + python-brotli python-frozenlist - python-idna-ssl python-multidict python-yarl)) (native-inputs - (list gunicorn-bootstrap - python-async-generator - python-cython + (list python-filelock python-freezegun python-pytest + python-pytest-codspeed python-pytest-mock - python-pytest-xdist - python-re-assert)) + python-re-assert + python-setuptools + python-wheel)) (home-page "https://github.com/aio-libs/aiohttp/") (synopsis "Async HTTP client/server framework (asyncio)") (description "@code{aiohttp} is an asynchronous HTTP client/server -- 2.46.0