GNU bug report logs - #70050
[PATCH] gnu: Add python-pytest-testmon.

Previous Next

Package: guix-patches;

Reported by: nafkhamdc <navid.afkhami <at> mdc-berlin.de>

Date: Thu, 28 Mar 2024 11:06:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70050 in the body.
You can then email your comments to 70050 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70050; Package guix-patches. (Thu, 28 Mar 2024 11:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to nafkhamdc <navid.afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 28 Mar 2024 11:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: nafkhamdc <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add python-pytest-testmon.
Date: Thu, 28 Mar 2024 11:04:42 +0000
* gnu/packages/python-check.scm (python-pytest-testmon): New variable.

Change-Id: Ia2e6034781898c04bd766145e0352060a975d479
---
 gnu/packages/python-check.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 51a38bbcbe..4f710f13c5 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1093,6 +1093,26 @@ (define-public python-re-assert
 simpler.")
     (license license:expat)))
 
+(define-public python-pytest-testmon
+  (package
+    (name "python-pytest-testmon")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-testmon" version))
+       (sha256
+        (base32 "166snmcqv3mi0jlhshjlm5387i0gxmpm7m2cwmp3169dwhyjrglf"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:tests? #f)) ;No tests in PyPi tarball.
+    (native-inputs (list python-coverage python-pytest))
+    (home-page "https://github.com/tarpas/pytest-testmon")
+    (synopsis "Selects tests affected by changed files and methods")
+    (description
+     "This plug-in auto-selects and reruns tests impacted by recent changes.")
+    (license license:expat)))
+
 (define-public python-pytest-trio
   (package
     (name "python-pytest-trio")

base-commit: 0e8f7ee3a95011dd9ebdc99e0f3b754160524b5d
prerequisite-patch-id: d26b189d1487d0d6a234a8197c5892f1e179e5f5
prerequisite-patch-id: 3cb34404c868aab6f273aa4342ac7266fc82457f
-- 
2.34.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 28 Mar 2024 12:34:02 GMT) Full text and rfc822 format available.

Notification sent to nafkhamdc <navid.afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Thu, 28 Mar 2024 12:34:02 GMT) Full text and rfc822 format available.

Message #10 received at 70050-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 70050-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-pytest-testmon.
Date: Thu, 28 Mar 2024 13:31:57 +0100
I applied the patch; since your comment said that the Pypi archive
doesn't contain tests I switched to the git repository --- only to find
that the repository also doesn't include any tests.

So I updated the comment and kept the changes to fetch the code from the
git repository.

Thanks!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 26 Apr 2024 11:25:53 GMT) Full text and rfc822 format available.

This bug report was last modified 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.