[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: python-munkres: Conditionally disable failing test.
From: |
guix-commits |
Subject: |
02/11: gnu: python-munkres: Conditionally disable failing test. |
Date: |
Wed, 23 Nov 2022 07:59:18 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 3ab9adba57c529f524e63ffbc663f5ddf8770752
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 23 00:22:52 2022 +0100
gnu: python-munkres: Conditionally disable failing test.
* gnu/packages/python-xyz.scm (python-munkres)[arguments]: Add phase
"disable-test" to patch test suite.
---
gnu/packages/python-xyz.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a88075cefa..7fefbc5bff 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16045,6 +16045,20 @@ way.")
(sha256
(base32
"00yvj8bxmhhhhd74v7j0x673is7vizmxwgb3dd5xmnkr74ybyi7w"))))
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'disable-test
+ (lambda _
+ ;; See https://github.com/bmc/munkres/issues/40
+ (substitute* "test/test_munkres.py"
+ (("^def test_profit_float" m)
+ (string-append "\
+import platform
+@pytest.mark.skipif(platform.architecture()[0] == \"32bit\",
+ reason=\"Fails on 32 bit architectures\")
+" m))))))))
(build-system python-build-system)
(native-inputs (list python-pytest-6))
(home-page "https://software.clapper.org/munkres/")
- branch master updated (7fa8c05753 -> 4b23e2d868), guix-commits, 2022/11/23
- 08/11: gnu: python-multivolumefile: Update to 0.2.3., guix-commits, 2022/11/23
- 10/11: gnu: Add python-pybcj., guix-commits, 2022/11/23
- 05/11: gnu: python-zstandard: Update to 0.19.0., guix-commits, 2022/11/23
- 04/11: gnu: python-pyzstd: Update to 0.15.3., guix-commits, 2022/11/23
- 06/11: gnu: Add python-pyppmd., guix-commits, 2022/11/23
- 09/11: gnu: Add python-inflate64., guix-commits, 2022/11/23
- 03/11: gnu: python-ppmd-cffi: Update to 0.5.0., guix-commits, 2022/11/23
- 01/11: gnu: Add r-alpine., guix-commits, 2022/11/23
- 02/11: gnu: python-munkres: Conditionally disable failing test.,
guix-commits <=
- 07/11: gnu: Add python-brotlicffi., guix-commits, 2022/11/23
- 11/11: gnu: python-py7zr: Update to 0.20.2., guix-commits, 2022/11/23