From patchwork Fri Apr 4 19:17:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41307 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 1EBC227BBEA; Fri, 4 Apr 2025 20:20:11 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 A3AF527BBE9 for ; Fri, 4 Apr 2025 20:20:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0mZP-0007Mb-SY; Fri, 04 Apr 2025 15:19:15 -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 1u0mZJ-0007Em-78 for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:09 -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 1u0mZH-0007xS-7E for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:07 -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:References:In-Reply-To:Date:From:To:Subject; bh=06JTOoaGWltD35Oh6/FyI/1N+vmpe0xMJNBo2zsOBQc=; b=anHrPlV3BfCE+hzjo2V5PgLMk+gUg6tZdRLSRcNi8X42B7ckLvCInfds4W3i6+zCciYxMjWudbw9HqgGF0LjlULOfpaXuh0ZhCymoVpYmw5i7dGc/WHs052qpCCyXkB6ZDCE26j/EiMwf2hrzQN5XqgP6e+Vt4iusl6hXGNYFULSYZ7zyriy0hiLMVcZtOHbMkcPLIkPxqivMTGp4NZewEVuDDErGYEM+zqLC1ohbaHfgsQCoDzg3QgtSdr4shrR/Rtazk6+Vq7P2xbrfwgKaBKsjNyBmzE2yAPGIjrMkLujt7o/X2kWRs0xg2Y9lHsBHFejxdXq5SALDOkv0TasNw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u0mZH-0007Rq-1T for guix-patches@gnu.org; Fri, 04 Apr 2025 15:19:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77541] [PATCH 31/38] gnu: python-stone: Update to 3.3.9. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Apr 2025 19:19:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77541@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77541-submit@debbugs.gnu.org id=B77541.174379431728446 (code B ref 77541); Fri, 04 Apr 2025 19:19:07 +0000 Received: (at 77541) by debbugs.gnu.org; 4 Apr 2025 19:18:37 +0000 Received: from localhost ([127.0.0.1]:40128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0mYm-0007Oh-PV for submit@debbugs.gnu.org; Fri, 04 Apr 2025 15:18:37 -0400 Received: from 3.mo562.mail-out.ovh.net ([46.105.33.63]:51081) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0mY2-0007Ht-Qy for 77541@debbugs.gnu.org; Fri, 04 Apr 2025 15:17:51 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK91vtLz1ddd; Fri, 4 Apr 2025 19:17:49 +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 <77541@debbugs.gnu.org>; Fri, 4 Apr 2025 19:17:49 +0000 (UTC) Received: from mta6.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.178.229]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZTpK902DDzHcF1; Fri, 4 Apr 2025 19:17:48 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.4]) by mta6.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 4EBACD43D56; Fri, 4 Apr 2025 19:17:48 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-114S008c852034a-335c-4591-932a-d8a9cd880476, 5C763BAE2B049B0552D0CEA89988AE409CD35AAA) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Fri, 4 Apr 2025 21:17:03 +0200 Message-ID: <20250404191717.32747-31-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250404191717.32747-1-ngraves@ngraves.fr> References: <20250404191717.32747-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 3484941690418029282 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejheegudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=06JTOoaGWltD35Oh6/FyI/1N+vmpe0xMJNBo2zsOBQc=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1743794269; v=1; b=3DxuxrgQiOm/8Bvg52EbildObrwcheRbyLuC6/KMahYOLDpn3onH5NeVU2W0WSUtuYWIwKzc I+WGhp+lDM89qyk5JFU2eOKICOlap8MWnCnoIp//Es1CFMeUv3W6xHQvXR1To9NE1YNoxo978Wj 7JOP5AzzCEfG9kanVomf+awJaVkC4AZp4og3QYHafFhnKkxCsByeigJDRsG9CGpPCUr+TjNf/MR Tg6Kr3sjRABw4fA2ML0XavHmL30FUU1AHTECDPDXa9zmkOJo5q6UCtq8I2KSlnLEzs2ec5NKip8 GXta6uYnCPAlzy6d/qLQx7oYaGzsTv0028yVzZG/fVlkg== 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-xyz.scm (python-stone): Update to 3.3.9. [source]: Switch to git-fetch. [build-system]: Switch to pyproject. [arguments]: Remove field. [propagated-inputs]: Add python-jinja2, python-packaging. [native-inputs]: Add python-setuptools, python-wheel. Remove python-coverage, python-mock. --- gnu/packages/python-xyz.scm | 41 +++++++++++-------------------------- 1 file changed, 12 insertions(+), 29 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e63e41ba18..d18e4cfebd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29754,38 +29754,21 @@ (define-public python-userspacefs (define-public python-stone (package (name "python-stone") - (version "3.2.1") + (version "3.3.9") (source - (origin - (method url-fetch) - (uri (pypi-uri "stone" version)) - (sha256 - (base32 - "0xby5mpsms7b2rv8j6mvxzmzz5i9ii01brb9ylxz6kiv2i08piwv")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'change-version-requirements - (lambda _ - ;; Match the requirement in test/requirements.txt - (substitute* "setup.py" - (("pytest < 5") "pytest < 7")) - ;; We don't care about a coverage report. - (substitute* "test/requirements.txt" - (("coverage.*") "coverage\n")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; These tests don't import correctly. - (delete-file "test/test_js_client.py") - (delete-file "test/test_tsd_types.py") - (delete-file "test/test_python_gen.py") - (invoke "pytest"))))))) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dropbox/stone") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1x0kj4jygssjn66lbkln95chhf85vzy1wnpziy9jvpf4kbc1bmfy")))) + (build-system pyproject-build-system) (propagated-inputs - (list python-ply python-six)) + (list python-jinja2 python-packaging python-ply python-six)) (native-inputs - (list python-coverage python-mock python-pytest python-pytest-runner)) + (list python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/dropbox/stone") (synopsis "Official Api Spec Language for Dropbox") (description