From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uDz5JQjWGV8GUAAA0tVLHw (envelope-from ) for ; Thu, 23 Jul 2020 18:25:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uCzqIQjWGV/xQAAA1q6Kng (envelope-from ) for ; Thu, 23 Jul 2020 18:25:12 +0000 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 46A7994013C for ; Thu, 23 Jul 2020 18:25:12 +0000 (UTC) Received: from localhost ([::1]:36408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfu3-0002tM-87 for larch@yhetil.org; Thu, 23 Jul 2020 14:25:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftv-0002t8-FT for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftv-0000ex-5s for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyftv-0008SZ-2k for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 3/6] gnu: Add python-pytest-filter-subpackage. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 18:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42069@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159552865732406 (code B ref -1); Thu, 23 Jul 2020 18:25:03 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:17 +0000 Received: from localhost ([127.0.0.1]:45995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftB-0008Qb-Au for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:51322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyftA-0008QU-3I for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft9-0002YU-U8 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:15 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft8-0000Yg-5z for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:15 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5D93016005F for ; Thu, 23 Jul 2020 20:24:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528652; bh=17z0nx3GkXhHdeV8wuH1iLwrW+6hSvRRh7kEVuGxg9s=; h=From:To:Cc:Subject:Date:From; b=X4lyD6D7cc/edWeCCqXiRtNPUUCKwOpR72LusjXg5kzHdAsDMFQMvX0Y8Vhra4yyv uKCXh5SKxvpGXAOzTJwNwyeoEVuMQoqKe6Gu2ai/Ocu+LywzR7PFxL3LlPc2V3N12d 4UhVtL5S40THKV6Nk8QgXpsgBQa6V08uf6Kg6PrUVXFzh2PGgOB+8eL1nhiwis0ALu unKISpMWqDSkM2oLVY6b5cLz3oaEr6wpfhNzS/iP+KZue26dSnvXzaWNh/ATBMlCcF TdiyIZ16L4HTI1yuF1xRygqRplAcrH1GyxENb/M/WLPsjZa4VJbCGt9pIbWsh6bybo Oa7fdDm/f0kow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLMG6c9wz6tmG; Thu, 23 Jul 2020 20:24:10 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:25 -0300 Message-Id: <20200723182328.49525-3-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723182328.49525-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> <20200723182328.49525-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 11:56:06 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=X4lyD6D7; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: kQa6k8ls8ifS * gnu/packages/python-check.scm (python-pytest-filter-subpackage): New variable. --- gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bdcfce7c82..b21fa995c6 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -180,6 +180,41 @@ are too large to conveniently hard-code them in the tests.") advanced doctest support and enables the testing of reStructuredText files.") (license license:bsd-3))) +(define-public python-pytest-filter-subpackage + (package + (name "python-pytest-filter-subpackage") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-filter-subpackage" version)) + (sha256 + (base32 "1s4s2kd31yc65rfvl4xhy8xx806xhy59kc7668h6b6wq88xgrn5p")))) + (build-system python-build-system) + (arguments + '(;; One test is failing. There's an issue reported upstream. See + ;; https://github.com/astropy/pytest-filter-subpackage/issues/3. + ;; Disable it for now. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "-k" "not test_with_rst")))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-doctestplus" + ,python-pytest-doctestplus))) + (home-page "https://github.com/astropy/pytest-filter-subpackage") + (synopsis "Pytest plugin for filtering based on sub-packages") + (description + "This package contains a simple plugin for the pytest framework that +provides a shortcut to testing all code and documentation for a given +sub-package.") + (license license:bsd-3))) + (define-public python-pytest-vcr (package (name "python-pytest-vcr") -- 2.20.1