Received: (at 78228-done) by debbugs.gnu.org; 10 May 2025 19:08:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 10 15:08:45 2025 Received: from localhost ([127.0.0.1]:50669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uDpYz-000100-Ap for submit <at> debbugs.gnu.org; Sat, 10 May 2025 15:08:45 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:59897) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <sharlatanus@HIDDEN>) id 1uDpYw-0000zk-HU for 78228-done <at> debbugs.gnu.org; Sat, 10 May 2025 15:08:43 -0400 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3a064a3e143so1715030f8f.3 for <78228-done <at> debbugs.gnu.org>; Sat, 10 May 2025 12:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746904116; x=1747508916; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=AVXFcHuVlCJwhjVu9vOlQuJ0f+3w/NMUfPDVtT29NLI=; b=czYCBE4BDM9uab9+6AbHVoqSwPvKRmQdqEzEdDT8P4Be/F6h+k++Es6ZSGCqWrf8Uc owSRV/1ZquO23ef2mOwpvQJ3QRFPLcGJwuCPVllwCEnTiBytpXbsbSxaWNHhXGzS++OW JVoPZp9AARuku9ou6ubBAnv6CufbK1/WsL+W7l1xG/BWRoXlDTohbEzcmUZwYkP+6cqd khQNyA6VJ1F0VitFyNvIJdP3/6HkWEnMnKH7SpYadMPEKCGHcjOiB4nD1keADeF2UkHS LKvZcX6+7XO3qdV/U1wha2QaaImE9kyzdC1uA8onUNJWbvsD9Daq3g7QiwvCjM5YQvfo W6rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746904116; x=1747508916; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AVXFcHuVlCJwhjVu9vOlQuJ0f+3w/NMUfPDVtT29NLI=; b=eby0lp/wh03O/ZR5KSnt85NTpkUKlhFq0IS0+YbhE1xny8QUte5cgTtMcirdPmc1He AmoRU+nraiTJhHacKpkm6QMtwvRLgC+KSQz8e9Mq/k6Rm543niM1ZllF1NVsWvAAP3jy wCAI9LEzHWMF12N0pCK8Syy5hn3SV22ouBNvNvvigx8q+RtMDDdMsL7nbsCkwIGnjXLS qQEQmsZH2g4r9LrjS/wHdPxc+mACmJ+qatvbzkCawu+VNweNr8iuSE/o4MFCxm55U3/v cow38O9grTKp7+6qSSHw/jJzMa8J0SjlXI0BUvLLQXxyIn1spg3EHSFSk2HURuMvQzwF oX0A== X-Gm-Message-State: AOJu0YzgDpDAICF8rR61xYEimYpZRJXczIKrwesxSNQFkCMlV/+yEX6z et8jt6j4ek/YtEyKY8sHNNwOtcrrrdz+eKFQ4QU384uYRPqdn5UqYdpsdasS X-Gm-Gg: ASbGncvq8rcdDkM2wpKGWmum15Hx3ahxyoIH3829S36aUwc0NmMbLJjtw3E2pDtU5Q2 BszjI1nYf6zYhS9rzWdva17v2NTRJh7hFTdwaTds46+Qsa3cfCevmwlOhjtYlZwcO2brXhGX+EI kGbgSoHmOSIy6+IYRv0Uqst6JM2ofyNKINAtcB1x8N9nImwlCnwCxQpkgRjmf8jeGHoogpAHTbp lLx9eHjAjlpUslgHJQiGg60h8sR7gIVILwxvqIf86M3OWsWqoHiEmTDO1Og3MxM2LIRvayiw10C TikkaXYWlvalAr0XNyIkrXaUY7UR7PWJrAWe9hWTHw4JvJLbRcCjkD7NhMk4N1sOwPbZGecmEp1 CPPCXb+7wUq4xZkqdI0WvY5s99lI= X-Google-Smtp-Source: AGHT+IF+YCE8L7Y2y8oLsh6SHjAgQUDalhp22XrsfQIVF45UWguDQm4d+0K2jc7wa3maZ3MuECwMgg== X-Received: by 2002:a05:6000:2212:b0:3a1:fd72:9152 with SMTP id ffacd0b85a97d-3a1fd7291ffmr3319917f8f.53.1746904115856; Sat, 10 May 2025 12:08:35 -0700 (PDT) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a1f57dde01sm7316391f8f.15.2025.05.10.12.08.34 for <78228-done <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 May 2025 12:08:35 -0700 (PDT) From: Sharlatan Hellseher <sharlatanus@HIDDEN> To: 78228-done <at> debbugs.gnu.org Subject: [PATCH] gnu: Add python-aiohttp-client-cache. Date: Sat, 10 May 2025 20:08:34 +0100 Message-ID: <875xi8p9l9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78228-done X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, I've simplified patch by utilizing "--ignore" option passing to Pytest. Pushed to master as 062e399880f1c4332d3ab80d1d061681dadb7db9. -- Thanks, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmgfpDIWHHNoYXJsYXRh bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStQ6sEAC5G7f/jWcdxZ1BdRWAhAkmDhia dhVFzq2IcZePPjtvYcZUtvpPWcZ+r324AEFBD+vQb24MpPecDDO1LWNFQ8POiAIT PaVXO0/aJy/5x6nw+Xwdme+5SoXpE/VZV5YL/GI9GM40Bf6Va++3GBoH/VTK0GYt K78Imr6pLJsBcX0NnUwCp54XacgDR7zFaViksK0HvotzfKviOdI3qV+IghMa4vNg 1/VXil1gbQivPsZgqVb52pddCLWC8LagkGog+kJDJuKTSPDp2cZk+md1cUfkVk9z 383gRFjPAbHiHHxF+iarqrzpeOZfxNpt3emGr+etR4aQmIGIDG01sgJA0ikQOPTC hdyvwx1BmhQM+n43w+uPJNfH6LLfrEteMaKeHop53ZiCPILZ1qQ8K8vz74p97qKW Vd0n51PlacChDczyJG2ZBEzyNYYUUMv1/fJZc4nPbzol2w67tdL0Sc9n932lGY0C iwp/2559wPyeuSdOCAuUUoaOoezaasbjD92xzW0dmO10sqH4aLZdKzscVBPaDkLa 8YsadXs8duS+sfF5KPGAK45QkLitmAoLYAPdbAyQysVR7hRIx860I4idfRoC9gru OFGpeCIgb4PUdsjc03n8w0FThPfnbVUcbC3PdCoRB1A5U7bnHP2vA6SXjrmikPKt i6wI73kgCzZW/EoW6w== =lo9s -----END PGP SIGNATURE----- --=-=-=--
gemmaro <gemmaro.dev@HIDDEN>
:Sharlatan Hellseher <sharlatanus@HIDDEN>
:Received: (at 78228) by debbugs.gnu.org; 5 May 2025 00:14:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 04 20:14:15 2025 Received: from localhost ([127.0.0.1]:35247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uBjTC-0002W2-HT for submit <at> debbugs.gnu.org; Sun, 04 May 2025 20:14:15 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:55647) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gemmaro.dev@HIDDEN>) id 1uBjT8-0002VL-Ix for 78228 <at> debbugs.gnu.org; Sun, 04 May 2025 20:14:04 -0400 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-224171d6826so56166405ad.3 for <78228 <at> debbugs.gnu.org>; Sun, 04 May 2025 17:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746404036; x=1747008836; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NU8yflFa/CKbmgaV9lw+KLINvAbX+FSyS117huA8dlI=; b=PCrMcbBDGf+/k1aAVZeD83W4lh+RoF113j7FzBUH5x5BsGVu3rTeJ+VAt6AYfKvVHH 822H3bgZXx4dJ0w1i3eTE2vZHjaj2zckw3yVSc/DFwAW0e1ragRt7U+qFZzuzqDkXoAx yT8Dkr2N78zZ7KRM7NKzlDLVqRlZhligF4Kk/sSZax0Ig2FBbAGMn/jlqEutOVgrL67m XKYvnkfq8x1ABfgOaWsVYmHdokd8GPrkLbD0mbYA9BRhEPAP/FHlmTPA+nfAuFo0lu3A qC7jxfEo3rPN1Y5gTrnQzFmx+3kheGYAIebVz2ukXJSkxTo6lDJ9r09Wm7p4ijOTSSuJ HXOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746404036; x=1747008836; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NU8yflFa/CKbmgaV9lw+KLINvAbX+FSyS117huA8dlI=; b=iybNhzlY+yijvBJcKsz3tikNHrAVhE5ZrNW+4/gJcBOK+skd4oSFM1tJHzNKvj02z3 9pYvn1MyBmzUcV/aJS+JD2Vs289I90Rt5R9dVKz2rxaSRgKKCCon7krl21qz83RCkYCq DyZGuPR/IYRMw3I6R+tKP98kh7M9hNC0ZQwIxNE5YoKXTJweSAinedBMmWr/6XFM8n2P iZupyg1lzinuLLwWlAS+sHLqwQDd1uILsBdf17nQwx5OF5RO9Digf1VfSgspemnQLBPg F/vhK4M10peqStXxIC6OMEuEvq7ML3X4x16TWABLYfmqhzzLq+J3IGlhJ+nYFchZBijZ uGcA== X-Gm-Message-State: AOJu0Yy1uX1YqQo+yUt2IMmvkYp7o2Av2cX/+6OjbekRkLu2Fo1dYKCg c8Abdo9aCw8NoinF4HBxPb8wUmE3ZztuVxzVvnFAL1/v+fLJPtli//JawA== X-Gm-Gg: ASbGncttCwof8b8+8MZHVRm1e/JAfnHY90zLWlECuOMKrWVJD8f4T0Q4uWphbzHs7W8 9qbl+sJVJv8cFCKRg6EfGgqo7SIlvX5WdBSDtYTdI6HCW/M7cSTe2rK2uWYd3mGV26tj0SpNMnv 8JdpApfzBiS+Xq3b/iNDoXqUgRt9j25ceAw82edL2vM8YG77tb6rZT4eo5NkDI3ZjxgsR57FMTK 6pvXV89ZNARVqhH5NhPnKzLXzWri8I0DFBOyE/Uk2uEv6+GQkwwpJvbBV3QGgNfU4NsVbTNYKjn /2XIyNdHlb0Ck5BUZln+ozfWE89p68Z10wNRJS3K4lfMQXm4oBcBQUKDITaLeMERU/qmRFG6V2w VATay6Qwk+P4MVQ== X-Google-Smtp-Source: AGHT+IHAw7at38mpjUjHyodExfTnb0wdjsKFEys2XL1CsHbKRz2VMnfWjruQZe79FuiIeoekokBVMQ== X-Received: by 2002:a17:903:1aa8:b0:224:1781:a947 with SMTP id d9443c01a7336-22e1e905660mr84117735ad.21.1746404036304; Sun, 04 May 2025 17:13:56 -0700 (PDT) Received: from localhost.localdomain (ONI-202-70-254-104.oninet.ne.jp. [202.70.254.104]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e15228a1asm42797355ad.173.2025.05.04.17.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 May 2025 17:13:55 -0700 (PDT) From: gemmaro <gemmaro.dev@HIDDEN> To: 78228 <at> debbugs.gnu.org Subject: [PATCH v2] gnu: Add python-aiohttp-client-cache. Date: Mon, 5 May 2025 09:09:55 +0900 Message-ID: <bbda2f784a5bfa4fdda4e354cc31127a086bcdae.1746403795.git.gemmaro.dev@HIDDEN> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun <lars@HIDDEN>, Munyoki Kilyungi <me@HIDDEN>, Sharlatan Hellseher <sharlatanus@HIDDEN>, Tanguy Le Carrour <tanguy@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78228 Cc: gemmaro <gemmaro.dev@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) * gnu/packages/python-web.scm (python-aiohttp-client-cache): New variable. Change-Id: Iea3f8ad33cbb2ee8979cb59071653ddb54e5111b --- I used the for-each to remove failing test files and applied the Guix style to the description section. gnu/packages/python-web.scm | 53 ++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c0c9e244f8..7fa0c8ea9e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -71,6 +71,7 @@ ;;; Copyright © 2024 Spencer King <spencer.king@HIDDEN> ;;; Copyright © 2024 Attila Lendvai <attila@HIDDEN> ;;; Copyright © 2025 Daniel Ziltener <dziltener@HIDDEN> +;;; Copyright © 2025 gemmaro <gemmaro.dev@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1123,6 +1124,56 @@ (define-public python-aiohttp @end itemize") (license license:asl2.0))) +(define-public python-aiohttp-client-cache + (package + (name "python-aiohttp-client-cache") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "aiohttp_client_cache" version)) + (sha256 + (base32 "0lrq8fh94whvfmfr9ncfizq2ssa2fp1v1izd1y7f3gmd80ixcp6w")) + (modules '((guix build utils))) + (snippet '(begin + (with-directory-excursion "test/integration" + (for-each delete-file + '("test_dynamodb.py" "test_mongodb.py" + ;; These tests require running Redis, SQLite, + ;; and HTTP servers. + "test_redis.py" + "test_sqlite.py" + "test_memory.py" + "test_filesystem.py"))))))) + (build-system pyproject-build-system) + (native-inputs (list python-poetry-core + ;; TODO: Missing packages: pytest-clarity, + ;; nox-poetry, types-aiofiles. + python-async-timeout + python-brotli + python-faker + python-pytest + python-pytest-aiohttp + python-pytest-asyncio + python-pytest-cov + python-pytest-xdist)) + (propagated-inputs (list python-aiofiles + python-aiohttp + python-aiosqlite + python-attrs + python-itsdangerous + python-redis + python-url-normalize)) + (home-page "https://github.com/requests-cache/aiohttp-client-cache") + (synopsis "Persistent cache for aiohttp requests") + (description + "This package is an asynchronous persistent caching library specifically +designed for @samp{aiohttp} requests in Python. With support for various +storage backends, it offers flexibility in how and where the cache is stored. +Please note that MongoDB and DynamoDB backends are not currently supported due +to the absence of the @samp{motor} and @samp{aioboto3} package dependencies.") + (license license:expat))) + (define-public python-aiohttp-socks (package (name "python-aiohttp-socks") @@ -1135,7 +1186,7 @@ (define-public python-aiohttp-socks (base32 "0s70jpcr9wc8ld2v1w309cz7r8mm2bipf6zbkdqqaa0z0pwf3wj9")))) (build-system pyproject-build-system) - (arguments (list #:tests? #false)) ;none included + (arguments (list #:tests? #false)) ;none included (propagated-inputs (list python-aiohttp python-socks)) (native-inputs (list python-setuptools python-wheel)) base-commit: 16ee065aa006e4cd8982e26cd0430f9e018874ad prerequisite-patch-id: 59d7206b9e057a16723e7daeec5fbfe6fe4bcda8 prerequisite-patch-id: 8dee9c68dfc367b217b4ff8aae0391477d5e9910 prerequisite-patch-id: a1ddcbb34b1cc5a32ad2679597ec1a8632150d7a prerequisite-patch-id: c390d6eabe5f8727806599bfd13461043d749436 prerequisite-patch-id: 1cb7277769c4e60f07c8435c99c4a6dfc464f005 prerequisite-patch-id: 266082644d86f910711f97a0ed7eb7277b03a937 prerequisite-patch-id: 7139c981c6c1e25b1920d176f6ba9ae4044b2a33 prerequisite-patch-id: 8d4fb61237866e7390e54df79973ffa58ba62746 prerequisite-patch-id: 127e4eec9cc3b232543c77766e2be8a82458744b prerequisite-patch-id: a6c060f97910f31a772bec4ab201282e8082445f prerequisite-patch-id: 2766f951811bd99594fe1d7af2df1c402fd65615 prerequisite-patch-id: 04dcd4b935c917f456cb03242431b7ba57bc8744 prerequisite-patch-id: 3487c506246a50f0ac11b6ae2300260a800aa078 prerequisite-patch-id: 3de566804aaf1ce064096457e745d7371ac5b313 prerequisite-patch-id: 39d0d1ed8407708224f7a7c56cc970dc380f0f8d prerequisite-patch-id: 9a1cbbecfce76172bbb103727695662588d71830 prerequisite-patch-id: 08e7b0f76b582a669f8141647c745edabe64cadf prerequisite-patch-id: f1f9a3aee69d5b5bf1943919be20b97bd2493bba prerequisite-patch-id: a8415a9a6272989aaa39b7f70aeeb16331869d57 prerequisite-patch-id: 02b2a0449164a3b0751bcc4e575d056faa4d7bb3 prerequisite-patch-id: 0de01f0c79fe22f0d4bc479c1b1bb5fafd4063e9 prerequisite-patch-id: e8c71fbd8ecfcf5bd3209253f95ab513c4de1233 prerequisite-patch-id: dbfa908f540926e895914460219fd45a198e9d40 prerequisite-patch-id: 7ef5a2e5357d5dc1a21cbff576f9128bac39d2f7 prerequisite-patch-id: 444e3168704cd182fe741b5fec040532e9a0eb7f prerequisite-patch-id: f2813d580d42ada7b3c67d38f39f0acdac72dd47 prerequisite-patch-id: 6cefa59c6e63efadccc7a6b7315617cd21241c6e prerequisite-patch-id: 8979fb84ad9d0c56da97bb6af7623685b2f1c555 prerequisite-patch-id: b33bcbb6908577c17739add725150d66727608eb prerequisite-patch-id: fa38b4cea65fb35abf46a80192a7cdc0f074ec2d prerequisite-patch-id: 5e6d999cab2251df756c9620c26b0896d57aba51 prerequisite-patch-id: 20174e33e6f290ee94eedf4c1b1b72241d05f2be prerequisite-patch-id: 266be7ae89dfa104b3da4e210da64c696d0b96d4 prerequisite-patch-id: d9ddf3c4b0f366151f97a920d6b39444e1bfb1ca prerequisite-patch-id: 49a720a863fd8d88aea302a5e966adb93cf2fa74 prerequisite-patch-id: 43980432f654ad35c7c0b20ee85f164d65a773b6 prerequisite-patch-id: d3e821bedd6f26b3f2c3a1730c184ea9b63eede2 prerequisite-patch-id: 1cf66cfe4931295ac80bb5bdc3ed4bf055dd5abb prerequisite-patch-id: 1e7b5df0fd2b11050dd4efdf58c8c8396a823203 prerequisite-patch-id: b4265c08389f4f8d7e659684d1d52def71ac156c prerequisite-patch-id: 22bafc40fc456fc2d8172334cac26d47683c2aaf prerequisite-patch-id: a35b19bbb8dde2413fc0d90e124f6f49022a64cd prerequisite-patch-id: e84996913c42a3d145103141eec73ee405300f0c prerequisite-patch-id: 30a25429bba9ff969cf2081a595c6dd80e58fb84 -- 2.49.0
lars@HIDDEN, me@HIDDEN, sharlatanus@HIDDEN, tanguy@HIDDEN, guix-patches@HIDDEN
:bug#78228
; Package guix-patches
.
Full text available.Received: (at 78228) by debbugs.gnu.org; 4 May 2025 09:40:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 04 05:40:19 2025 Received: from localhost ([127.0.0.1]:51827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uBVpX-000647-ET for submit <at> debbugs.gnu.org; Sun, 04 May 2025 05:40:19 -0400 Received: from 3.mo563.mail-out.ovh.net ([46.105.40.8]:44675) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>) id 1uBVpP-00061d-51 for 78228 <at> debbugs.gnu.org; Sun, 04 May 2025 05:40:11 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4Zr04h3C1Hz1Wxk; Sun, 4 May 2025 09:40:04 +0000 (UTC) Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net. [127.0.0.1]) by director1.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <78228 <at> debbugs.gnu.org>; Sun, 4 May 2025 09:40:04 +0000 (UTC) Received: from mta3.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.108.9.115]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4Zr04h12MZz61rw; Sun, 4 May 2025 09:40:04 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.2]) by mta3.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id B477E3A3E95; Sun, 4 May 2025 09:40:03 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R0020a9cbd31-2ea4-4c88-9843-d1638d542d5f, 8CD8A0E5D230CF78A323F194FBE8D47D3072D94D) smtp.auth=ngraves@HIDDEN X-OVh-ClientIp: 90.92.117.144 From: ngraves@HIDDEN To: gemmaro <gemmaro.dev@HIDDEN>, 78228 <at> debbugs.gnu.org Subject: Re: [bug#78228] [PATCH] gnu: Add python-aiohttp-client-cache. In-Reply-To: <ff679d7116c153a0b6c3a39f40d47f3a4db09e6f.1746263031.git.gemmaro.dev@HIDDEN> References: <ff679d7116c153a0b6c3a39f40d47f3a4db09e6f.1746263031.git.gemmaro.dev@HIDDEN> Date: Sun, 04 May 2025 11:40:03 +0200 Message-ID: <87h620g1e4.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 3887732379313496578 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvjeejkeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffujghffffkgggtsehttdertddttddtnecuhfhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhenucggtffrrghtthgvrhhnpeefieeljeehtddvtdeigffggfehueettddtieefueehieevgffgudekgfejvdekhfenucffohhmrghinhepuggvlhgvthgvqdhfihhlvghtvghsthhinhhtvghgrhgrthhiohhnthgvshhtpghrvgguihhsrdhphidpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejkedvvdekseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepghgvmhhmrghrohdruggvvhesghhmrghilhdrtghomhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=EwdxiPf+rl9SKApbhEAz2wJcHHptHyOIGS+idtwHybY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1746351604; v=1; b=z1HXEuV9hsIy7lNsib8dxx1ulvvUXJwhg9TlFuRqno4qHVqHBamZ2J3/15RnNDMxj+ynOaYt B8Rr+8OZxbpIU0uANLVQlu1ZywO7qQmrLE0R3XoDjDJnWfToRJK2Gt8s1wN2/eJj+1+IjyE9lIr dofdaYmZUrWd05oGk3VjDs9OXMC4KmpQRzyCBf+240oG0OFep9zWPRNgmYG7V3fnfWZfFniKFWN Yy4YE3HHi2j2WHLKcAWU3cYP4cfo1bJ+854S5sg/tgNKMR/GCzcerjlypb2aRNhLxqIQgZvtv0Z rEnjJZ2aou4QIrKvFI1RINXcfF2gj4K7/GB9RZopUtzSQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78228 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Mostly LGTM. Built several time, linted, styled. Synopsis and description are OK. On 2025-05-03 18:03, gemmaro wrote: > +(define-public python-aiohttp-client-cache > + (package > + (name "python-aiohttp-client-cache") > + (version "0.13.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "aiohttp_client_cache" version)) > + (sha256 > + (base32 "0lrq8fh94whvfmfr9ncfizq2ssa2fp1v1izd1y7f3gmd80ixcp6w")) > + (modules '((guix build utils))) > + (snippet '(begin > + (delete-file "test/integration/test_dynamodb.py") > + (delete-file "test/integration/test_mongodb.py") > + ;; These tests require running Redis, SQLite, and HTTP > + ;; servers. > + (delete-file "test/integration/test_redis.py") > + (delete-file "test/integration/test_sqlite.py") > + (delete-file "test/integration/test_memory.py") > + (delete-file "test/integration/test_filesystem.py"))))) You might want to use (with-directory-excursion "test/integration" (for-each delete-file '(...))) if you find that easier to read (not mandatory). > + (build-system pyproject-build-system) > + (native-inputs (list python-poetry-core > + ;; TODO: Missing packages: pytest-clarity, > + ;; nox-poetry, types-aiofiles. > + python-async-timeout > + python-brotli > + python-faker > + python-pytest > + python-pytest-aiohttp > + python-pytest-asyncio > + python-pytest-cov > + python-pytest-xdist)) > + (propagated-inputs (list python-aiofiles > + python-aiohttp > + python-aiosqlite > + python-attrs > + python-itsdangerous > + python-redis > + python-url-normalize)) > + (home-page "https://github.com/requests-cache/aiohttp-client-cache") > + (synopsis "Persistent cache for aiohttp requests") > + (description "This package is an asynchronous persistent caching library Here guix style prefers "This package [...] to begin on the next line. > +specifically designed for @samp{aiohttp} requests in Python. With > +support for various storage backends, it offers flexibility in how and > +where the cache is stored. Please note that MongoDB and DynamoDB > +backends are not currently supported due to the absence of the > +@samp{motor} and @samp{aioboto3} package dependencies.") > + (license license:expat))) -- Best regards, Nicolas Graves
guix-patches@HIDDEN
:bug#78228
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 3 May 2025 09:04:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 03 05:04:48 2025 Received: from localhost ([127.0.0.1]:38168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uB8nf-00074N-LO for submit <at> debbugs.gnu.org; Sat, 03 May 2025 05:04:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:36192) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <gemmaro.dev@HIDDEN>) id 1uB8nc-00073z-OW for submit <at> debbugs.gnu.org; Sat, 03 May 2025 05:04:45 -0400 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 <gemmaro.dev@HIDDEN>) id 1uB8nW-0005Rp-AW for guix-patches@HIDDEN; Sat, 03 May 2025 05:04:38 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <gemmaro.dev@HIDDEN>) id 1uB8nU-0005nY-FQ for guix-patches@HIDDEN; Sat, 03 May 2025 05:04:38 -0400 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-73c17c770a7so4204014b3a.2 for <guix-patches@HIDDEN>; Sat, 03 May 2025 02:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746263073; x=1746867873; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kuUtYtQYz0OBSRoaRVUpfqf11goZq1mxl7sOzyiPTMc=; b=cBpyjVMETfkOlzidBC3x2teS/CmkvJ4qCe0Ub0vcI4pvZZeZ66q93tJjqz24DXCdFd TQqMKsXs6Jqd6alZ8UsALmVxriLZeDmNS2VU8JsxnEtzps/I/wEVSj0d3UI9Fnhkaake bErm7ANmSLw+nts/KZwOg/BZy4qnfLnU3z/BGrEtFHXmuwaVpW64oYxN4aL3rwHhaqD9 Cn9YqQied7OufyCjagpUsgxWBtQaddagO2AljgYgfDsC0zqSZEHW6gZi1gzVCUe+W/Sk 6+bvB2Rr+oNdzpRBUra3iygAAGGHUaJRpgl+wYVkD/AkqEFjPFMUEPCPeaeqQTq044+w aqtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746263073; x=1746867873; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kuUtYtQYz0OBSRoaRVUpfqf11goZq1mxl7sOzyiPTMc=; b=qTjieRqJui9y5lRJTLqqkJttwwTzWUZY5CXJ7hsDjwFqopafemBwJARCN/nnw5zPZn MuqwgU854m937NaZkzdw0e/1MJFK+MhohKliRamO34ZPqSvUpTaqyj4m3zAXusNU3DFq JAMYrfgRo5hPGMU5EAWhs8118lvImAXCkVXXpzUPg+QssFCCOyarQJ1ivh8niCZM/HJL WoAZhb5lYhj09D8opi7DvVZg3Wbr6Pjx1NHYM59Y61sSxswFYkKiXPMpc/UWNv2L3sh3 se//vDZOSwUA52PE+zLCeieZEmIwu+v20JdtABv9o3buKOnucar+e4r+yRK73iSOVWcl 9JRA== X-Gm-Message-State: AOJu0Yxbr6a+cezg84ZFVB7I+tMMF555HuJtaZoaSHKcgx/1hxhnNCUg Ong5vjKrVG6lzDnFqp3kg7FE6jAZXyued+FMBrARwpifS699F62RuEbcSQ== X-Gm-Gg: ASbGnctwzJ2f1CEAZ4toJED36nxzhbhUm0GEhgTRUxVbz3zMNfQrgckCDe/mHGK+SPE MjQbN5/qCo5gIqVSzarfBj7XESgurfNfaQILeXhs8hDAK7xrlggW1W9OICmW5+zFd+Q0EXnXbsb T0DYDRokPz9gA2zdTbEh/JS2+xjUvIFUg0mDhV/ClKcrefmffMYPtU2rXw/mxbZsqFUokj/DcJm NssO5cCiLI0CXEK7cHEYplFPevDtXgp/28slj0OH9rXx4Ux6Jjz8TfDTwQUW2UiAXQh3YrwQgj6 HPBuyqCFA8l30x06OzGfsop9LJQk7gnLb6Dq9+PXXtYdeXmF/nxk4fcvZM2ArY7hHcluHynyngL E23Ds24v2UDgz+A== X-Google-Smtp-Source: AGHT+IFG6pLta37vpKyhFblX5KT3/dEAg+QV2AYsF2jkZOAaxuV063glrgryipSUQFp3jMgLQEO6zA== X-Received: by 2002:a05:6a21:3299:b0:1f5:8e54:9f07 with SMTP id adf61e73a8af0-20e96ae6aa5mr590674637.24.1746263073527; Sat, 03 May 2025 02:04:33 -0700 (PDT) Received: from localhost.localdomain (ONI-202-70-254-104.oninet.ne.jp. [202.70.254.104]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-74058d7a473sm3026385b3a.18.2025.05.03.02.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 May 2025 02:04:33 -0700 (PDT) From: gemmaro <gemmaro.dev@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH] gnu: Add python-aiohttp-client-cache. Date: Sat, 3 May 2025 18:03:51 +0900 Message-ID: <ff679d7116c153a0b6c3a39f40d47f3a4db09e6f.1746263031.git.gemmaro.dev@HIDDEN> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun <lars@HIDDEN>, Munyoki Kilyungi <me@HIDDEN>, Sharlatan Hellseher <sharlatanus@HIDDEN>, Tanguy Le Carrour <tanguy@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=gemmaro.dev@HIDDEN; helo=mail-pf1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: gemmaro <gemmaro.dev@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) * gnu/packages/python-web.scm (python-aiohttp-client-cache): New variable. Change-Id: Ic3de76483f2ca955a26fcba27dfbf54387331238 --- gnu/packages/python-web.scm | 52 ++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c0c9e244f8..1e5b601c25 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -71,6 +71,7 @@ ;;; Copyright © 2024 Spencer King <spencer.king@HIDDEN> ;;; Copyright © 2024 Attila Lendvai <attila@HIDDEN> ;;; Copyright © 2025 Daniel Ziltener <dziltener@HIDDEN> +;;; Copyright © 2025 gemmaro <gemmaro.dev@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1123,6 +1124,55 @@ (define-public python-aiohttp @end itemize") (license license:asl2.0))) +(define-public python-aiohttp-client-cache + (package + (name "python-aiohttp-client-cache") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "aiohttp_client_cache" version)) + (sha256 + (base32 "0lrq8fh94whvfmfr9ncfizq2ssa2fp1v1izd1y7f3gmd80ixcp6w")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file "test/integration/test_dynamodb.py") + (delete-file "test/integration/test_mongodb.py") + ;; These tests require running Redis, SQLite, and HTTP + ;; servers. + (delete-file "test/integration/test_redis.py") + (delete-file "test/integration/test_sqlite.py") + (delete-file "test/integration/test_memory.py") + (delete-file "test/integration/test_filesystem.py"))))) + (build-system pyproject-build-system) + (native-inputs (list python-poetry-core + ;; TODO: Missing packages: pytest-clarity, + ;; nox-poetry, types-aiofiles. + python-async-timeout + python-brotli + python-faker + python-pytest + python-pytest-aiohttp + python-pytest-asyncio + python-pytest-cov + python-pytest-xdist)) + (propagated-inputs (list python-aiofiles + python-aiohttp + python-aiosqlite + python-attrs + python-itsdangerous + python-redis + python-url-normalize)) + (home-page "https://github.com/requests-cache/aiohttp-client-cache") + (synopsis "Persistent cache for aiohttp requests") + (description "This package is an asynchronous persistent caching library +specifically designed for @samp{aiohttp} requests in Python. With +support for various storage backends, it offers flexibility in how and +where the cache is stored. Please note that MongoDB and DynamoDB +backends are not currently supported due to the absence of the +@samp{motor} and @samp{aioboto3} package dependencies.") + (license license:expat))) + (define-public python-aiohttp-socks (package (name "python-aiohttp-socks") @@ -1135,7 +1185,7 @@ (define-public python-aiohttp-socks (base32 "0s70jpcr9wc8ld2v1w309cz7r8mm2bipf6zbkdqqaa0z0pwf3wj9")))) (build-system pyproject-build-system) - (arguments (list #:tests? #false)) ;none included + (arguments (list #:tests? #false)) ;none included (propagated-inputs (list python-aiohttp python-socks)) (native-inputs (list python-setuptools python-wheel)) base-commit: 12467f2c91e7f9ec70239229f8186a93193a9185 -- 2.49.0
gemmaro <gemmaro.dev@HIDDEN>
:lars@HIDDEN, me@HIDDEN, sharlatanus@HIDDEN, tanguy@HIDDEN, guix-patches@HIDDEN
.
Full text available.lars@HIDDEN, me@HIDDEN, sharlatanus@HIDDEN, tanguy@HIDDEN, guix-patches@HIDDEN
:bug#78228
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.