unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 52659@debbugs.gnu.org
Subject: [bug#52659] [PATCH 1/2] gnu: Add python-pytest-faulthandler.
Date: Sun, 19 Dec 2021 12:44:12 -0500	[thread overview]
Message-ID: <4c7b52460f5316ff206efb57aefcb856334dc85f.1639935851.git.leo@famulari.name> (raw)
In-Reply-To: <Yb9urPvB7nSu+EnW@jasmine.lan>

* gnu/packages/check.scm (python-pytest-faulthandler): New variable.
---
 gnu/packages/check.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0a90a3b167..bdd0eae0aa 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015, 2016, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2016, 2017, 2021 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
@@ -1481,6 +1481,27 @@ (define-public python-pytest-forked
 side-effects (such as setting environment variables).")
     (license license:expat)))
 
+;; This package is included in Pytest >=5.0.
+(define-public python-pytest-faulthandler
+  (package
+    (name "python-pytest-faulthandler")
+    (version "2.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pytest-faulthandler" version))
+              (sha256
+               (base32
+                "1r8ssxfdib2d2mblmnm34q84lza5d8cq5n5p3sl4sd5chz7bnwpd"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page "https://github.com/pytest-dev/pytest-faulthandler")
+    (synopsis "Pytest plugin that activates the faulthandler module for tests")
+    (description "This package provides a pytest plugin that automatically
+enables the @code{faulthandler} module during tests.")
+    (license license:expat)))
+
 (define-public python-scripttest
   (package
     (name "python-scripttest")
-- 
2.34.0





  reply	other threads:[~2021-12-19 17:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 17:41 [bug#52659] Vorta GUI for Borg backup Leo Famulari
2021-12-19 17:44 ` Leo Famulari [this message]
2021-12-19 17:44   ` [bug#52659] [PATCH 2/2] gnu: Add Vorta Leo Famulari
2021-12-19 17:52     ` Leo Famulari
2021-12-19 18:56 ` [bug#52659] [WIP v2 1/4] gnu: Add python-pytest-faulthandler Leo Famulari
2021-12-19 18:56   ` [bug#52659] [WIP v2 2/4] gnu: Add Vorta Leo Famulari
2021-12-19 18:56   ` [bug#52659] [WIP v2 3/4] Vorta: patch Borg invocation Leo Famulari
2021-12-19 18:56   ` [bug#52659] [WIP v2 4/4] WIP: Vorta: Use gexps instead of (assoc-ref ...) Leo Famulari
2021-12-19 19:35 ` [bug#52659] [PATCH v3 1/2] gnu: Add python-pytest-faulthandler Leo Famulari
2021-12-19 19:35   ` [bug#52659] [PATCH v3 2/2] gnu: Add Vorta Leo Famulari
     [not found]     ` <87v8zjoed4.fsf@disroot.org>
2021-12-20 17:55       ` Leo Famulari
2021-12-20 19:40         ` Xinglu Chen
2021-12-20 19:51           ` Leo Famulari
2022-01-26 19:18     ` bug#52659: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4c7b52460f5316ff206efb57aefcb856334dc85f.1639935851.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=52659@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).