From patchwork Tue Apr 22 14:00:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41928 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 6E95E27BC4A; Tue, 22 Apr 2025 15:02:46 +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_DNSWL_BLOCKED, 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 7374D27BC49 for ; Tue, 22 Apr 2025 15:02:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7ECb-0008IQ-AI; Tue, 22 Apr 2025 10:02:21 -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 1u7ECN-0007x2-ID for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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 1u7ECL-0006hV-Vy for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02: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=69nFcjHAdrCGdT0BydkmRS7CHdrZryEITyUpqBJVy8M=; b=cO263pbV0noRN5qMy21FKLeF/sFJquxRqRhkadJ0BXluhwfnhGn8SPMbuEn7S7Aufg4Sg0PiBx6NToNTBfFPGaaNpC173Yxf+gSIksqDipsUQXnAuVCH9qUve9tAjUnscCm9ceLJdrLxssEpcY0Rk6DXivg8jdS0LIaZqtOaio7/WpDdVP/Xp60+sqh0Sh0ld4UMvdxBZfsQW2EsNJOnSHXEcDqEgmI9ccfgBG7jhvN2yFJLIfvkx98dvCxsqBpBehdv+qbbDVQvAkYHrge5Ids7LcWPe0Q7t8UMNopKdL+DJ5NJ/gEzZ2wrhas850AhMEibrNSxkBBmi2jE2s9ykA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u7ECL-0005Fu-Ps for guix-patches@gnu.org; Tue, 22 Apr 2025 10:02:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77895] [PATCH v2 09/10] gnu: python-hypothesmith: Update to 0.2.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Apr 2025 14:02:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77895@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77895-submit@debbugs.gnu.org id=B77895.174533048120063 (code B ref 77895); Tue, 22 Apr 2025 14:02:05 +0000 Received: (at 77895) by debbugs.gnu.org; 22 Apr 2025 14:01:21 +0000 Received: from localhost ([127.0.0.1]:49108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7EBd-0005DU-Db for submit@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:21 -0400 Received: from 7.mo562.mail-out.ovh.net ([46.105.55.234]:57721) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7EBT-0005CI-V8 for 77895@debbugs.gnu.org; Tue, 22 Apr 2025 10:01:12 -0400 Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRV2Xm0z1Yt0; Tue, 22 Apr 2025 14:01:10 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77895@debbugs.gnu.org>; Tue, 22 Apr 2025 14:01:10 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.148.134]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZhkRV1kHwzyPS; Tue, 22 Apr 2025 14:01:10 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.7]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id DB117263A2E; Tue, 22 Apr 2025 14:01:09 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-97G00282bc48e7-4358-4210-8384-e39168c36679, 0A1BC1951B487096A19EF2AF6351B65704E5605C) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 22 Apr 2025 16:00:36 +0200 Message-ID: <20250422140051.2273-9-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422140051.2273-1-ngraves@ngraves.fr> References: <20250422140051.2273-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11611968689651835618 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeefleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdelvddruddujedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejkeelheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=69nFcjHAdrCGdT0BydkmRS7CHdrZryEITyUpqBJVy8M=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1745330470; v=1; b=KbejG14IS0fs+ivJTBFI2tPl7VQYaRQejf9UQjBjre6x7YtaJfsWcpJNcap8/+/nGJZl5WR+ RAlFooUB8ZUyY0LpwL8l0ZW/UPoJrT+tFitHTqnDJLP+lF1i6CiwDDmtyo9OEn4LxMiB9UgyJJH 0pMaR8OmmbhCd3J7IxppsxUw2ng49tzq+5W87bt9al/e7bzMOGuF+PbTjQqSIUGOJZwYjnwEJ85 yNkFiu/2fioxmuV7Ejl88ZsQtTwg3hG2sGPk7s+AiN0DKMzxBlG4F03CYyfdVGgnVonU14RoneS WuJUq0DI5IzrZL2Jf0ZjGEkzF/J1U8vZxHrwYPGfu/Czg== 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/check.scm (python-hypothesmith): Update to 0.2.0. [build-system]: Switch to pyproject-build-system. [arguments]: Ignore failing tests. : Add 'patch-lark-dependency test. [propagated-inputs]: Replace python-lark-parser by python-lark. [native-inputs]: Add python-black, python-parso, python-pytest, python-pytest-cov, python-setuptools, python-wheel. --- gnu/packages/check.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 3580841047..30dc256a84 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2898,17 +2898,38 @@ (define-deprecated python-hypothesis-next python-hypothesis) (define-public python-hypothesmith (package (name "python-hypothesmith") - (version "0.1.8") + (version "0.2.0") (source (origin (method url-fetch) (uri (pypi-uri "hypothesmith" version)) (sha256 - (base32 - "02j101m5grjrbvrgjap17jsxd1hgawkylmyswcn33vf42mxh9zzr")))) - (build-system python-build-system) + (base32 "08kr9p6hjm3ys87k1k3l79cmf936qbhn21ab8zadsvnp0gyv7dqg")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" + (string-append + ;; XXX: hypothesis.errors.Unsatisfiable + "not test_source_code_from_libcst_node_type[MatchSingleton]" + ;; XXX: Python/Black versions not as expected. + " and not test_black_autoformatter_from_grammar")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-lark-dependency + (lambda _ + (substitute* "setup.py" + (("lark-parser>=[0-9.]*") "lark"))))))) (propagated-inputs - (list python-hypothesis python-lark-parser python-libcst-minimal)) + (list python-hypothesis python-lark python-libcst-minimal)) + (native-inputs + (list python-black + python-parso + python-pytest + python-pytest-cov + python-setuptools + python-wheel)) (home-page "https://github.com/Zac-HD/hypothesmith") (synopsis "Strategies for generating Python programs") (description