[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72471] [PATCH 13/24] gnu: Add python-parameterized-next.
From: |
David Elsing |
Subject: |
[bug#72471] [PATCH 13/24] gnu: Add python-parameterized-next. |
Date: |
Sun, 4 Aug 2024 22:15:51 +0000 |
* 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
- [bug#72471] [PATCH 11/24] gnu: Add xnnpack-for-r-torch., (continued)
- [bug#72471] [PATCH 11/24] gnu: Add xnnpack-for-r-torch., David Elsing, 2024/08/04
- [bug#72471] [PATCH 12/24] gnu: python-nbval: Update to 0.11.0., David Elsing, 2024/08/04
- [bug#72471] [PATCH 15/24] gnu: Remove onnx-for-torch2., David Elsing, 2024/08/04
- [bug#72471] [PATCH 09/24] gnu: fbgemm: Update to 0.7.0., David Elsing, 2024/08/04
- [bug#72471] [PATCH 14/24] gnu: Remove onnx-optimizer-for-torch2., David Elsing, 2024/08/04
- [bug#72471] [PATCH 19/24] gnu: cpp-httplib: Update to 0.16.0., David Elsing, 2024/08/04
- [bug#72471] [PATCH 23/24] gnu: python-torchmetrics: Update to 1.4.1., David Elsing, 2024/08/04
- [bug#72471] [PATCH 22/24] gnu: python-lightning-utilities: Update to 0.11.6., David Elsing, 2024/08/04
- [bug#72471] [PATCH 18/24] gnu: gloo: Update to commit 81925d1., David Elsing, 2024/08/04
- [bug#72471] [PATCH 07/24] gnu: nnpack: Depend on python-peachpy only for x86_64., David Elsing, 2024/08/04
- [bug#72471] [PATCH 13/24] gnu: Add python-parameterized-next.,
David Elsing <=
- [bug#72471] [PATCH 08/24] gnu: oneapi-dnnl: Update to 3.5.3., David Elsing, 2024/08/04
- [bug#72471] [PATCH 20/24] gnu: python-pytorch: Update to 2.4.0., David Elsing, 2024/08/04
- [bug#72471] [PATCH 21/24] gnu: python-torchvision: Update to 0.19.0., David Elsing, 2024/08/04
- [bug#72471] [PATCH 24/24] gnu: python-pytorch-lightning: Update to commit 2064887., David Elsing, 2024/08/04
- [bug#72471] [PATCH 17/24] gnu: onnx-optimizer: Update to 0.3.19., David Elsing, 2024/08/04
- [bug#72471] [PATCH 16/24] gnu: onnx: Update to 1.16.2., David Elsing, 2024/08/04