From patchwork Thu Sep 12 17:21:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67891 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 A04F527BBE2; Thu, 12 Sep 2024 18:22:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 D09CF27BBE9 for ; Thu, 12 Sep 2024 18:22:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sonW1-0008Qp-0B; Thu, 12 Sep 2024 13:21:57 -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 ) id 1sonVy-0008Hc-Ji for guix-patches@gnu.org; Thu, 12 Sep 2024 13:21:55 -0400 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 1sonVy-0003Tz-AZ for guix-patches@gnu.org; Thu, 12 Sep 2024 13:21:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=s7C4vbM//2gHSciQsNTa6SAaU3lOUAg2fv9otjWG7tg=; b=fQERvp4clrqLPQNUmh8FdeJNWmqpPKfaeQzADzRugB2zbgAZls3O8V1JtuBfheL9GVEuNRlFFuRSxTuz5ssNEUDxNB64ScTzjJTRKsZ/9eylkzp+lnt4g1Z92eMM7qmNerEkcj7YOmXL2JHG7MGqzlMmJLn3/3QHh1awKTQiNWHyHQ7mTuypfAcMsKlb0Ory+Lxur1dhbk/kKb42cHVKsRfRK443VgwtickO1XEOur/eDNKj/OA0CKe6JRZBOQ6g5UzlCFZivzqfcjCSzXWcT0eo7EiAGVPdmkzY/tFp7MR7iGWik0Hbj/01erxR1G76sVIkq2yg6nv0gUtrbPIlHQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sonW6-0006PZ-2A for guix-patches@gnu.org; Thu, 12 Sep 2024 13:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73203] [PATCH 1/3] gnu: python-azure-core: Update to 1.28.0. References: <20240912170817.27867-1-ngraves@ngraves.fr> In-Reply-To: <20240912170817.27867-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Sep 2024 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73203 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73203@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73203-submit@debbugs.gnu.org id=B73203.172616170924595 (code B ref 73203); Thu, 12 Sep 2024 17:22:02 +0000 Received: (at 73203) by debbugs.gnu.org; 12 Sep 2024 17:21:49 +0000 Received: from localhost ([127.0.0.1]:41837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sonVs-0006OX-NW for submit@debbugs.gnu.org; Thu, 12 Sep 2024 13:21:49 -0400 Received: from 16.mo561.mail-out.ovh.net ([188.165.56.217]:38237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sonVq-0006OL-4g for 73203@debbugs.gnu.org; Thu, 12 Sep 2024 13:21:48 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.25.15]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4X4PPD1Bmwz1nNQ for <73203@debbugs.gnu.org>; Thu, 12 Sep 2024 17:21:36 +0000 (UTC) Received: from ghost-submission-55b549bf7b-67q66 (unknown [10.111.174.14]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D925B1FDD5; Thu, 12 Sep 2024 17:21:35 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-55b549bf7b-67q66 with ESMTPSA id eHDiIR8j42YDXgEAr/9WBA (envelope-from ); Thu, 12 Sep 2024 17:21:35 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-109S00308ab8317-aa85-4544-97a9-82925a024341, 97B129B90AC977BFFD12F69DD341A21BA7D56A53) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Thu, 12 Sep 2024 19:21:22 +0200 Message-ID: <20240912172133.3611-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 2531022994632729314 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudejfedguddufecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefvddtfeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=s7C4vbM//2gHSciQsNTa6SAaU3lOUAg2fv9otjWG7tg=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1726161696; v=1; b=3g8VeYQa9iqQ5n36/hxu7wMtS1N9L96IVAtHHQTb2AT8W+Ry4UhYWyRcPi09SJ4tnnoBZnbD vyVXk98KTV/Fwmu+yHRhBRxiTQqREWOTgn4oEfI8ML65xGWGv0rSQU/GJqLlgDVmWE8c2o/IZG3 xvIphmH0Qdx5b5hbwO7OcUjF89lBpUtIZ6Y4oyU+COX4KWRANhlwxPTbgnNoROjxHLyTB31hx4y 4UPYm1zoRMlN5hNdWrrGZ1Sgiqe5f8LRDT+dtKItKtuoAIyPOITgYT6ZYGLmXCo3HlisaBS3Q7R 81J4WLX7Fwo1PFFDaCE0DWv+dRSxUgaiWIDV4FBHXMs0A== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-azure-core): Update to 1.28.0. [build-system]: Move to pyproject-build-system. [arguments]<#:test-flags>: Use it. <#:phases>: Move from check phase replacement to a lighter 'add-test-pythonpath pre-check phase. [propagated-inputs]: Remove python-trio. [native-inputs]: Remove python-msrest. Change-Id: Ie4656ddaa1919144cc75a81feecb9ec774c9436f --- gnu/packages/python-web.scm | 66 +++++++++++++++---------------------- 1 file changed, 26 insertions(+), 40 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e94d0c44b9..5b75fd06ea 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8069,59 +8069,45 @@ (define-public python-azure-common (define-public python-azure-core (package (name "python-azure-core") - (version "1.24.0") + (version "1.28.0") (source (origin (method url-fetch) (uri (pypi-uri "azure-core" version ".zip")) (sha256 - (base32 "1r8bpn3zz02mj00qbaks5qq49wqd3mznkm90bchd1mxa3w21nnrl")))) - (build-system python-build-system) + (base32 "1g9nv5pcjkskv37vsjgsm7am81y629flwkghnvd5dphzzikgrvp9")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (when tests? - ;; This fails because devtools_testutils doesn't exist. - (delete-file "tests/test_connection_string_parsing.py") - ;; Needs network. - (for-each delete-file - '("tests/async_tests/test_streaming_async.py" - "tests/test_streaming.py")) - (add-installed-pythonpath inputs outputs) - (setenv "PYTHONPATH" - (string-append (getcwd) "/tests/testserver_tests/coretestserver:" - (getenv "GUIX_PYTHONPATH"))) - (invoke "pytest" - ;; Most of these need network access. - "-m" "not asyncio and not live_test_only" - "-k" - ;; These need network access. - (string-append - "not test_example_raw_response_hook" - " and not test_example_headers_policy" - " and not test_example_request_id_policy" - " and not test_example_user_agent_policy" - " and not test_example_requests" - " and not test_example_pipeline" - " and not test_example_pipeline_client" - " and not test_example_redirect_policy" - " and not test_example_no_redirects" - " and not test_example_retry_policy" - " and not test_example_no_retries" - " and not test_decompress_plain_no_header" - " and not test_compress_plain_no_header" - " and not test_decompress_compressed_no_header")))))))) + (list + #:test-flags + `(list ;; This fails because devtools_testutils doesn't exist. + "--ignore=tests/test_connection_string_parsing.py" + ;; These all need network access. + "--ignore=samples" + "--ignore=tests/async_tests/test_streaming_async.py" + "--ignore=tests/test_streaming.py" + "-m" "not asyncio and not live_test_only" + "-k" ,(string-append + "not test_decompress_plain_no_header" + " and not test_compress_plain_no_header" + " and not test_decompress_compressed_no_header" + " and not test_requests_socket_timeout")) + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'add-test-pythonpath + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "PYTHONPATH" + (string-append + (getcwd) "/tests/testserver_tests/coretestserver:" + (getenv "GUIX_PYTHONPATH"))))))))) (propagated-inputs (list python-aiohttp python-requests python-six - python-trio python-typing-extensions)) (native-inputs (list python-flask - python-msrest python-pytest python-pytest-aiohttp python-pytest-asyncio