rekado pushed a commit to branch wip-python-team
in repository guix.
commit 6244177e793b0e48090973875b23b65967f28504
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu May 2 21:37:52 2024 +0200
gnu: snakemake-6: Make compatible with tabulate 0.9.0.
* gnu/packages/python-xyz.scm (snakemake-6)[arguments]: Add phase
'tabulate-compatibility.
Change-Id: I0471726e2000af76871e2542ed347cd1727bf0c9
---
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 c70e44270f..10d920b4b6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13274,6 +13274,11 @@ Python style, together with a fast and comfortable
execution environment.")
(substitute* "snakemake/executors/__init__.py"
(("\\{sys.executable\\} -m snakemake")
(string-append #$output "/bin/snakemake")))))
+ (add-after 'unpack 'tabulate-compatibility
+ (lambda _
+ (substitute* "snakemake/dag.py"
+ (("\"job\": rule,")
+ "\"job\": rule.name,"))))
(add-after 'unpack 'patch-version
(lambda _
(substitute* "setup.py"