1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-24 11:54:06 +02:00

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>
This commit is contained in:
Nicolas Graves
2026-05-10 23:02:19 +02:00
committed by Sharlatan Hellseher
parent 28a90e846b
commit d935ece3bd
+4
View File
@@ -21919,6 +21919,10 @@ pycisTarget and SCENIC.")
#:test-backend #~'unittest
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'python-3.12-compatibility
(lambda _
(substitute* (find-files "tests" "\\.py")
(("assertEquals") "assertEqual"))))
(add-after 'unpack 'disable-failing-tests
(lambda _
(substitute* "tests/test_algo.py"