GNU bug report logs - #75660
[PATCH] gnu: Add python-pytest-snapshot.

Previous Next

Package: guix-patches;

Reported by: Evgeny Pisemsky <mail <at> pisemsky.site>

Date: Sat, 18 Jan 2025 22:41:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

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 75660 in the body.
You can then email your comments to 75660 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#75660; Package guix-patches. (Sat, 18 Jan 2025 22:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Evgeny Pisemsky <mail <at> pisemsky.site>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 18 Jan 2025 22:41:02 GMT) Full text and rfc822 format available.

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

From: Evgeny Pisemsky <mail <at> pisemsky.site>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-pytest-snapshot.
Date: Sun, 19 Jan 2025 01:40:08 +0300
[0001-gnu-Add-python-pytest-snapshot.patch (text/x-patch, inline)]
From ee9e9c8cfd57a08a92263da5d6bec877bb8f2887 Mon Sep 17 00:00:00 2001
Message-ID: <ee9e9c8cfd57a08a92263da5d6bec877bb8f2887.1737239654.git.mail <at> pisemsky.site>
From: Evgeny Pisemsky <mail <at> pisemsky.site>
Date: Sun, 19 Jan 2025 01:33:03 +0300
Subject: [PATCH] gnu: Add python-pytest-snapshot.

* gnu/packages/check.scm (python-pytest-snapshot): New variable.

Change-Id: I3cdf14a0da20e7f8e80f82e1b02f822eb5b26ad5
---
 gnu/packages/check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index e28564c0b0..b2e0458c49 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -53,6 +53,7 @@
 ;;; Copyright © 2024 Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
 ;;; Copyright © 2024 gemmaro <gemmaro.dev <at> gmail.com>
 ;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10 <at> gmail.com>
+;;; Copyright © 2025 Evgeny Pisemsky <mail <at> pisemsky.site>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4321,6 +4322,32 @@ (define-public python-pytest-tornado5
 markers to simplify testing of asynchronous tornado applications.")
     (license license:asl2.0)))
 
+(define-public python-pytest-snapshot
+  (package
+    (name "python-pytest-snapshot")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-snapshot" version))
+       (sha256
+        (base32 "1wxp9pv5yqpj3fk450ld1mjhhdxyvssgi6gqxyghz1iyphx3q0f7"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; Skip failing test. Related upstream issue:
+      ;; https://github.com/joseph-roitman/pytest-snapshot/issues/71
+      #:test-flags #~(list "-k" "not test_assert_match_failure_bytes")))
+    (propagated-inputs (list python-pytest))
+    (native-inputs (list python-setuptools python-setuptools-scm python-wheel))
+    (home-page "https://github.com/joseph-roitman/pytest-snapshot")
+    (synopsis "Pytest plugin for snapshot testing")
+    (description
+     "This package provides a plugin for snapshot testing with pytest.  It
+can be used to test that the value of an expression does not change
+unexpectedly.")
+    (license license:expat)))
+
 (define-public guile-proba
   (package
     (name "guile-proba")

base-commit: 42295555ca9648e894569f40e9b28768be3f788a
-- 
2.47.1





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Sat, 08 Feb 2025 18:06:01 GMT) Full text and rfc822 format available.

Notification sent to Evgeny Pisemsky <mail <at> pisemsky.site>:
bug acknowledged by developer. (Sat, 08 Feb 2025 18:06:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75660-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-pytest-snapshot.
Date: Sat, 08 Feb 2025 18:05:25 +0000
[Message part 1 (text/plain, inline)]
Hi,

I've reset it to python-check.

Pushed to master as 8010d73407205a63f2f27e719007ee9975ea8602.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Mar 2025 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 103 days ago.

Previous Next


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