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
This commit is contained in:
Ricardo Wurmus 2024-05-02 21:38:31 +02:00
parent 6244177e79
commit 6095e5b436
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -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"