rekado pushed a commit to branch wip-python-team
in repository guix.
commit 8d14b1cbb60aaae926daa82849b892f9666e8b4f
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu May 2 21:39:30 2024 +0200
gnu: snakemake-5: Make compatible with tabulate 0.9.0.
* gnu/packages/python-xyz.scm (snakemake-5)[arguments]: Add phase
'tabulate-compatibility.
Change-Id: I0b0ddafe9c2da91dbe10a584eb6fa0a3d5d62e87
---
gnu/packages/python-xyz.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 788148f32b..b3c6d9821e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13222,6 +13222,11 @@ approach.")
"--ignore=tests/test_google_lifesciences.py")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'tabulate-compatibility
+ (lambda _
+ (substitute* "snakemake/dag.py"
+ (("\"job\": rule,")
+ "\"job\": rule.name,"))))
;; For cluster execution Snakemake will call Python. Since there is
;; no suitable PYTHONPATH set, cluster execution will fail. We fix
;; this by calling the snakemake wrapper instead.