GNU bug report logs -
#72471
[PATCH 00/24] Update PyTorch and dependencies
Previous Next
Reported by: David Elsing <david.elsing <at> posteo.net>
Date: Sun, 4 Aug 2024 22:14:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 72471 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/check.scm (python-parameterized-next): New variable.
---
gnu/packages/check.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 21a975f340..9d8772fd4d 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1222,6 +1222,28 @@ (define-public python-parameterized
for every Python test framework. It supports nose, py.test, and unittest.")
(license license:bsd-2)))
+(define-public python-parameterized-next
+ (package
+ (inherit python-parameterized)
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "parameterized" version))
+ (sha256
+ (base32 "1c89vc40zj5aj2zvbvw875wqpyf0x6xrqhm3q5jg797g5hkhbjbz"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (substitute* "parameterized/test.py"
+ (("import mock") "from unittest import mock"))
+ (invoke "python3" "-m" "unittest")))))))
+ (native-inputs (list python-jinja2))))
+
(define-public python-minimock
(package
(name "python-minimock")
--
2.45.1
This bug report was last modified 260 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.