aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-12-07 21:20:35 +0100
committerMarius Bakke <marius@gnu.org>2021-12-08 08:45:11 +0100
commit14bc2ce43aed002809774eb575caf2dbb87c17ae (patch)
tree528236660860ca8028bb752844badc1528bbe92d /gnu
parent5fb1ba880f4a44f3e7a6aa253bf77f88cb7d029e (diff)
downloadguix-14bc2ce43aed002809774eb575caf2dbb87c17ae.tar.gz
guix-14bc2ce43aed002809774eb575caf2dbb87c17ae.zip
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/image-processing.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index e4153e0366..194160315b 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")))