[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: labelme: Loosen Python requirements.
From: |
guix-commits |
Subject: |
01/03: gnu: labelme: Loosen Python requirements. |
Date: |
Wed, 8 Dec 2021 02:46:20 -0500 (EST) |
mbakke pushed a commit to branch core-updates-frozen
in repository guix.
commit 14bc2ce43aed002809774eb575caf2dbb87c17ae
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Dec 7 21:20:35 2021 +0100
gnu: labelme: Loosen Python requirements.
* gnu/packages/image-processing.scm (labelme)[arguments]: Patch setup.py so
it
does not require a specific version of Matplotlib.
---
gnu/packages/image-processing.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index e4153e0..1941603 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1271,6 +1271,12 @@ segmentation.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'loosen-requirements
+ (lambda _
+ ;; Don't require an outdated version of matplotlib.
+ (substitute* "setup.py"
+ (("matplotlib<3\\.3")
+ "matplotlib"))))
(add-before 'check 'start-xserver
(lambda* (#:key inputs #:allow-other-keys)
(let ((xorg-server (assoc-ref inputs "xorg-server")))