aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorArun Isaac2022-01-26 18:45:25 +0530
committerArun Isaac2022-01-26 18:45:25 +0530
commit94f6951f33dd801d30afcd9e547498345a7f1f1d (patch)
treedb9c806d507cb3f5ac02176e2e6bacd24b3950a4 /gn
parentb0afc47bd2be6374b45a9ab69dc22afc90985147 (diff)
downloadguix-bioinformatics-94f6951f33dd801d30afcd9e547498345a7f1f1d.tar.gz
gn: genenetwork: Disable tests on python-seaborn.
* gn/packages/genenetwork.scm (python-seaborn-without-tests, python-pingouin-with-working-python-seaborn): New variables. (genenetwork3)[propagated-inputs]: Replace python-pingouin with python-pingouin-with-working-python-seaborn.
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/genenetwork.scm17
1 files changed, 16 insertions, 1 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index e6633de..69ba99e 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -98,6 +98,21 @@
(description "Reimplementation of genenetwork/QTLReaper in Rust")
(license #f))))
+;; Tests on the upstream python-seaborn package are broken. So, we
+;; create this temporary workaround.
+(define python-seaborn-without-tests
+ (package
+ (inherit python-seaborn)
+ (arguments
+ (substitute-keyword-arguments (package-arguments python-seaborn)
+ ((#:tests? _ #f) #f)))))
+
+(define python-pingouin-with-working-python-seaborn
+ (package
+ (inherit python-pingouin)
+ (propagated-inputs
+ `(("python-seaborn" ,python-seaborn-without-tests)
+ ,@(alist-delete "python-seaborn" (package-propagated-inputs python-pingouin))))))
(define-public genenetwork3
(let ((commit "784447b17d85a618005ac9acfc57f5b7ef8f5169"))
@@ -129,7 +144,7 @@
("python-mysqlclient" ,python-mysqlclient)
("python-numpy" ,python-numpy)
("python-pandas" ,python-pandas)
- ("python-pingouin" ,python-pingouin)
+ ("python-pingouin" ,python-pingouin-with-working-python-seaborn)
("python-plotly" ,python-plotly)
("python-pylint" ,python-pylint)
("python-redis" ,python-redis)