[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: ghc@8.4: Adjust test suite for Python 3.10.
From: |
guix-commits |
Subject: |
03/08: gnu: ghc@8.4: Adjust test suite for Python 3.10. |
Date: |
Sun, 18 Sep 2022 07:00:07 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 29e4955d0db8d39e1d38c47543766a95f05ebae2
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Sep 17 18:39:45 2022 +0200
gnu: ghc@8.4: Adjust test suite for Python 3.10.
This applies the substitution added in
48718135e74994e671eaf6dc6b74ac90e1e8a939
also for GHC@8.4. Somehow this problem is not fatal there and went
unnoticed.
* gnu/packages/haskell.scm (ghc-8.4)[native-inputs]: Patch the test driver
for
Python 3.10 compatibility.
---
gnu/packages/haskell.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index ed2eaea984..036d63655e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -701,7 +701,13 @@ interactive environment for the functional language
Haskell.")
version "/" name "-" version "-testsuite.tar.xz"))
(sha256
(base32
- "0s8lf9sxj7n89pjagi58b3fahnp34qvmwhnn0j1fbg6955vbrfj6"))))))
+ "0s8lf9sxj7n89pjagi58b3fahnp34qvmwhnn0j1fbg6955vbrfj6"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; collections.Iterable was moved to collections.abc in Python
3.10.
+ '(substitute* "testsuite/driver/testlib.py"
+ (("collections\\.Iterable")
+ "collections.abc.Iterable")))))))
(arguments
(substitute-keyword-arguments (package-arguments ghc-8.0)
((#:phases phases)
- branch core-updates updated (5339cb1161 -> cbe461f2d4), guix-commits, 2022/09/18
- 01/08: gnu: glade: Fix failing test., guix-commits, 2022/09/18
- 03/08: gnu: ghc@8.4: Adjust test suite for Python 3.10.,
guix-commits <=
- 05/08: gnu: gnome-clocks: Add missing input., guix-commits, 2022/09/18
- 07/08: gnu: python-pytest-runner: Update to 6.0.0., guix-commits, 2022/09/18
- 02/08: gnu: fontforge@20190801: Fix build., guix-commits, 2022/09/18
- 04/08: gnu: python-matplotlib: Disable test that fails on Python 3.10., guix-commits, 2022/09/18
- 06/08: gnu: shepherd: Promote 0.9 to the default., guix-commits, 2022/09/18
- 08/08: gnu: xkeyboard-config: Update to 2.36., guix-commits, 2022/09/18