diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-10 23:02:19 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:19:36 +0100 |
| commit | d935ece3bdc8fc97329df48636faa855656e2c3e (patch) | |
| tree | db259db54aecd829c16536c16fc619aa13102028 /gnu/packages/bioinformatics.scm | |
| parent | 28a90e846bb80811936a3b471b8d3f7c1330d90b (diff) | |
gnu: python-arboreto: Fix tests with Python@3.12.
* gnu/packages/bioinformatics.scm (python-arboreto)
[arguments]<#:phases>: Add phase 'python-3.12-compatibility.
Change-Id: I2f766ea064a9a5dc38543318dd5107d35a0db240
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 120acdc046e..9b3e4145519 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -21919,6 +21919,10 @@ pycisTarget and SCENIC.") | |||
| 21919 | #:test-backend #~'unittest | 21919 | #:test-backend #~'unittest |
| 21920 | #:phases | 21920 | #:phases |
| 21921 | #~(modify-phases %standard-phases | 21921 | #~(modify-phases %standard-phases |
| 21922 | (add-after 'unpack 'python-3.12-compatibility | ||
| 21923 | (lambda _ | ||
| 21924 | (substitute* (find-files "tests" "\\.py") | ||
| 21925 | (("assertEquals") "assertEqual")))) | ||
| 21922 | (add-after 'unpack 'disable-failing-tests | 21926 | (add-after 'unpack 'disable-failing-tests |
| 21923 | (lambda _ | 21927 | (lambda _ |
| 21924 | (substitute* "tests/test_algo.py" | 21928 | (substitute* "tests/test_algo.py" |
