From patchwork Tue Jan 7 14:09:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arjan Adriaanse X-Patchwork-Id: 36701 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8FF7727BBEA; Tue, 7 Jan 2025 14:10:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0F5BD27BBE2 for ; Tue, 7 Jan 2025 14:10:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVAHj-0003zY-Rk; Tue, 07 Jan 2025 09:10:20 -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 1tVAHi-0003y2-2J for guix-patches@gnu.org; Tue, 07 Jan 2025 09:10:18 -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 1tVAHh-0001UQ-NC; Tue, 07 Jan 2025 09:10:17 -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=EJCCKEZYQjYxSLlZq+2nR19g1CkO/0XWJLyYSbSP34w=; b=N6u9V/5KUxDfebQm8Ax4W9D2W+WIiqaVgxvkS/81jPVY6YF9oWuOVNNEhVhmY4j7Ey3pc3HpvHh0n70dfBNv9IvaC3S5j72U5WNMQh7pjR4mFTqXO6Ezwf+vMiLSVqdOaayFBQJn9VUtBwoPNSEwUN5DbpKZ26waMXsaft/QPsxgFSsevfN8fMscp3jYuqJ9WsNOQ8ksiXF2ayx4e4NA10y4WqbT9hL2ioPZVaiok/hKdrG1cfa7mX69dsZ5tDOm/Y9IS2fOKgcCPP2TeTx+hZwInn49tkI55OGeXYDZR6P0JEO44PbA3fbLyy7XFiWsfaI6tnnbRy3+uVKQU4CNTw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVAHW-000110-4T; Tue, 07 Jan 2025 09:10:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75420] [PATCH python-team 02/11] gnu: python-yarl: Update to 1.12.1. 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:10:05 +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.17362590003862 (code B ref 75420); Tue, 07 Jan 2025 14:10:05 +0000 Received: (at 75420) by debbugs.gnu.org; 7 Jan 2025 14:10:00 +0000 Received: from localhost ([127.0.0.1]:42176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVAHO-00010D-Et for submit@debbugs.gnu.org; Tue, 07 Jan 2025 09:09:59 -0500 Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:2219:0:1]:57135) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVAHJ-0000zd-EC for 75420@debbugs.gnu.org; Tue, 07 Jan 2025 09:09:55 -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 4YSCbv0WVLzyQP; Tue, 7 Jan 2025 14:09:47 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4YSCbs5jz6z2xQn; Tue, 7 Jan 2025 14:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1736258986; bh=jj/8i3XTm/tGIIwWKf8uPQU/+VVvNXhoMTXMjG3cZYc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ByHmFD0M70aYUzShl5oICWNkczgzsg9sGuZQdSW/0HGed5SYPgVBdOJZ1yqRYf7c1 SyVb3Lj11ZpaaAQYDLwcLiF6jOijhYG1ejO/UH3aymT7lVVuAs7kcu9O15Ara/hpVJ 0hsH2ZjgCw4ccgy1Vu1PnQfadEsGlh2S4RqOn87w69HeZovnpSpfSVJxBHf1uAjIKq VWVwWjfzpSnvrmS4JSoMU6dcizI5vJqmOawf5FzSr0te20oltKt24vCPb3vRF0ob+K ZRRjPuDUiAM7ext2hjD/9SVFEP6v4FU4FTruQhY1pyEMFHkWAEBv6Xcv/a8PmR7YOt Q0YbERuwoxGTw== X-CM-Envelope: MS4xfOBAdJjgCxkPR1QxRiF7m2mRUZ4qq5TgWUe80RL2mwUYlvtriCnjgxj0TjRMiHCbGGwHjvf2BoZO03m37iShIzPlCk/dMpiDdJbpbdjNM4jJXiVzcjzp Tp8QyJ2KmCyZnN1rAGyT9zYv7xYz66rsq9PSJXwHpjbUnZq5FXXBNthPYJKv0oeHL9sVzeVHWURRmyNyeCKVT5AwmbsXmXuunvZZd8blNdpIDNcSTNNiajF8 FQD9vfVnBSGUBMQ41vW+a2flIag7iNwRTkBBoPVVPQw= X-CM-Analysis: v=2.4 cv=UsCZN/wB c=1 sm=1 tr=0 ts=677d35aa a=fD/rzi2Tphj41Sc3CkWoTA==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=dZbOZ2KzAAAA:8 a=X4uHZktYAAAA:8 a=c_Z5lH7W1pVTq9HrqgUA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=5a14y6M6PLEF7AoVx3h9:22 From: Arjan Adriaanse Date: Tue, 7 Jan 2025 15:09:13 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-yarl): Update to 1.12.1. Change-Id: Ia35413c952042ce81eaac3ba10e90b4b333e8386 --- gnu/packages/python-web.scm | 43 +++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index de6a2b91ae..56e2d2aa39 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -69,6 +69,7 @@ ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Spencer King ;;; Copyright © 2024 Attila Lendvai +;;; Copyright © 2025 Arjan Adriaanse ;;; ;;; This file is part of GNU Guix. ;;; @@ -6103,35 +6104,35 @@ (define-public python-pycares (define-public python-yarl (package (name "python-yarl") - (version "1.6.3") + (version "1.12.1") (source (origin (method url-fetch) (uri (pypi-uri "yarl" version)) (sha256 - (base32 - "045z4ssg8g5h0qhz8hnx74hswgkndaldqq1xi5l1n5s0j996d44a")) - (modules '((guix build utils))) - (snippet - #~(begin - (delete-file "yarl/_quoting_c.c"))))) - (build-system python-build-system) + (base32 "0a2qh676xlpzb40an2m5k2hnql6fjr8krvnwwipqvv4s35ah11jv")))) + (build-system pyproject-build-system) (arguments - (list #:tests? #f ; test suite can't find yarl._quoting_c - #:phases + (list #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'cythonize-code + (add-after 'unpack 'force-build-inplace (lambda _ - (invoke "cython" "yarl/_quoting_c.pyx"))) - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (substitute* "setup.cfg" - (("--cov=yarl") "")) - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest"))))))) - (native-inputs - (list python-cython python-pytest python-pytest-runner)) + ;; This makes sure the resulting wheel ends up in a + ;; location where it can be found for installing. + (substitute* "packaging/pep517_backend/_backend.py" + (("build_inplace=False") + "build_inplace=True")) + #t))))) + (native-inputs + (list python-covdefaults + python-cython + python-expandvars + python-pytest + python-pytest-cov + python-pytest-xdist + python-setuptools + python-tomli + python-wheel)) (propagated-inputs (list python-idna python-multidict)) (home-page "https://github.com/aio-libs/yarl/")