From patchwork Tue Nov 29 05:34:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 44904 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 4B4BE27BBEB; Tue, 29 Nov 2022 05:38:24 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 3207527BBE9 for ; Tue, 29 Nov 2022 05:38:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oztJk-0004aW-NB; Tue, 29 Nov 2022 00:38:04 -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 1oztJi-0004a0-K8 for guix-patches@gnu.org; Tue, 29 Nov 2022 00:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oztJi-00070c-9X for guix-patches@gnu.org; Tue, 29 Nov 2022 00:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oztJh-0003eT-Vd for guix-patches@gnu.org; Tue, 29 Nov 2022 00:38:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59190] [PATCH v2] gnu: Add python-pytest-parawtf. References: <20221111063718.24140-1-jgart@dismail.de> In-Reply-To: <20221111063718.24140-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Nov 2022 05:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59190 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59190@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , jgart , Efraim Flashner Received: via spool by 59190-submit@debbugs.gnu.org id=B59190.166970023014005 (code B ref 59190); Tue, 29 Nov 2022 05:38:01 +0000 Received: (at 59190) by debbugs.gnu.org; 29 Nov 2022 05:37:10 +0000 Received: from localhost ([127.0.0.1]:53210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oztIr-0003dp-Gu for submit@debbugs.gnu.org; Tue, 29 Nov 2022 00:37:09 -0500 Received: from mx2.dismail.de ([159.69.191.136]:31539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oztIp-0003dQ-31 for 59190@debbugs.gnu.org; Tue, 29 Nov 2022 00:37:07 -0500 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 1d990027; Tue, 29 Nov 2022 06:36:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=c2d84GuMxDQwsmPCjVjho eDH1SPYZx8uy8Y/GMJD5gc=; b=GwBFtZLgBm4wWQn4YlR17YrSkOA1c3YRvqPPg TbS3gmuw91cedoxqE4Zz3ogaXmsSk3euqDzqZMfUP56TYETjHLxmbayhOXwEGW38 lO+Y1hCgAa3YiNNUsTN7cOu93Qy5+vP+J3CF+lbVRlDFIaWSvntVme3GEk5GwLRP jiATWEdrnw8zV9dP+ZUABXse4ZEheHULz9ksLrs9NQXpBj/EELaa21GuRzz5++wQ YSL7f9/9RWr9nr/O/ZaQnbsL45eAlggZnCAiB9po030+EII9UvpdHx56eAmsOACY TMbF8JAWe0zD6vNRxWqfaXWEKuGfte8dzvVIjsBVdHsZTbkXg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 0ec2c9b7; Tue, 29 Nov 2022 06:36:50 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id d56b0161; Tue, 29 Nov 2022 06:36:49 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id ffe15a65 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 29 Nov 2022 06:36:43 +0100 (CET) Date: Mon, 28 Nov 2022 23:34:25 -0600 Message-Id: <20221129053424.3030-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart 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-check.scm (python-pytest-parawtf): New variable. Hi Ludo and Efraim. Here's v2. I disabled the failing parametrized tests and added a comment to a pending issue I opened with upstream regarding fixing the failing tests. all best, jgart --- gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 749902271b..486abf1c13 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2022 Malte Frank Gerdes ;;; Copyright © 2022 Felix Gruber ;;; Copyright © 2022 Tomasz Jeneralczyk +;;; Copyright © 2022 jgart ;;; ;;; This file is part of GNU Guix. ;;; @@ -2439,6 +2440,34 @@ (define-public python-sybil provided for the main Python test runners.") (license license:expat))) +(define-public python-pytest-parawtf + (package + (name "python-pytest-parawtf") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest-parawtf" version)) + (sha256 + (base32 + "08s86hy58lvrd90cnayzydvac4slaflj0ph9yknakcc42anrm023")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; https://github.com/flub/pytest-parawtf/issues/1 + (invoke "pytest" "-k" "not test_mark"))))))) + (propagated-inputs (list python-pytest)) + (home-page "https://github.com/flub/pytest-parawtf/") + (synopsis "Finally spell paramete?ri[sz]e correctly") + (description +"@code{python-pytest} uses one of four different spellings of +parametrize. This plugin allows you to use all four.") + (license license:expat))) + (define-public python-pytest-httpx (package (name "python-pytest-httpx")