rekado pushed a commit to branch wip-python-team
in repository guix.
commit 6095e5b43649b3ec47c8f2e7a88124041dd59907
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu May 2 21:38:31 2024 +0200
gnu: snakemake-7: Make compatible with tabulate 0.9.0.
* gnu/packages/python-xyz.scm (snakemake-7)[arguments]: Add phase
'tabulate-compatibility.
Change-Id: Ie6b2a7d65bc76e3df7c3946ba4533b301f5a3610
---
gnu/packages/python-xyz.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 10d920b4b6..7f368d1ebc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13370,6 +13370,12 @@ Python style, together with a fast and comfortable
execution environment.")
(string-append
"tibanna_args.command = command.replace('"
#$output "/bin/snakemake', 'python3 -m snakemake')")))))
+ ;; No longer needed with 7.15.2+
+ (add-after 'unpack 'tabulate-compatibility
+ (lambda _
+ (substitute* "snakemake/dag.py"
+ (("\"job\": rule,")
+ "\"job\": rule.name,"))))
(add-after 'unpack 'patch-version
(lambda _
(substitute* "setup.py"