From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OMzjHM+ahWN+KQEAbAwnHQ (envelope-from ) for ; Tue, 29 Nov 2022 06:38:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4LzhHM+ahWOdEQAA9RJhRA (envelope-from ) for ; Tue, 29 Nov 2022 06:38:23 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D3D4E36D7D for ; Tue, 29 Nov 2022 06:38:22 +0100 (CET) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 From: jgart via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669700303; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=p+OdG5C0H2HDDK9udbz23GvMsjH66sFaUu2q1krpGlE=; b=BXpgN2+wz7BOck7OFoiIYdbjTnBvxMyUNp08PwMA71n0v/Qw264d03f4s6HO9CiBOnQEWo cr9RUkr9qoLHiyluFHp+IugEvUvz0SI3hhCUXisAbHLESTKMOVud5Uca0txjJN6YQcntR0 uj0T8oK5Upy6ik5rVuCmDQNXqVDVScgXc23otZz75KSZLINqdOFQOsajUYz8cJEItkd/GT PMWXssab96v2EFt9zzw4OYQezA+5bQVqjl9OXhPPTsma5aq6Rdo/mbdAFlbAmzBwkC5P6u Ym0CwEehV37XJelOzSQqCfPgc8mz+jCACkhvC4mrmLwkVtyJwNJ+AIid2o8Hmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669700303; a=rsa-sha256; cv=none; b=IYiPzB/5xjyVrkikOHq1NtH44m0s2LDkxT3PRIOcLERqUqzT16e8ZHQgSb3JcvhCTWyw7o pPCnf3bvqlDJseZPJ2JRR+BKsArwvExKlyOjIJFUj+HVCtjwa9zvbwMVuWjzngRlXrQvGW ACtf/n6T3jMRg7tE0PfNW3NYLmifEmwGmOo+lNcRohhuQZHGL+sBMq3vIXsX7gqsyUaM0Y 1b0MR4be9I+YHcS4k4TddhIIy7NVdx9jnF2tiXI39EOubZvgZYLQNlL5ttulps6AHltiD3 /mRV0jazkSko3/c6Ij49k9NHJ7FlWHiJ7qHfU53gQ/hCtECcW0B365rXWXUXlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=GwBFtZLg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=GwBFtZLg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D3D4E36D7D X-Spam-Score: -4.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: yV6q0pynDOgL * 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") -- 2.38.1