guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/36: gnu: python-natsort: Add en_US.UTF-8 locale for tests.


From: guix-commits
Subject: 36/36: gnu: python-natsort: Add en_US.UTF-8 locale for tests.
Date: Wed, 14 Feb 2024 04:31:16 -0500 (EST)

jpoiret pushed a commit to branch core-updates-glibc-2.39
in repository guix.

commit fabcd3aef99ab7185e72ded1cf7e0d68f75cb816
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Tue Feb 13 22:52:32 2024 +0100

    gnu: python-natsort: Add en_US.UTF-8 locale for tests.
    
    * gnu/packages/python-xyz.scm (python-natsort): Add en_US.UTF-8 locale for 
the
    package's tests.
    
    Change-Id: I5947b6550b9bc71d403685756ead4f1c77c99012
---
 gnu/packages/python-xyz.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a7360369fe..de98906619 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21826,7 +21826,10 @@ implementation of your Python package and its public 
API surface.")
              (when tests?
                (invoke "pytest" "-v")))))))
     (native-inputs
-     (list python-hypothesis python-pytest-cov python-pytest-mock
+     (list glibc-utf8-locales ;; Tests want en_US.UTF-8
+           python-hypothesis
+           python-pytest-cov
+           python-pytest-mock
            python-pytest))
     (propagated-inputs ; TODO: Add python-fastnumbers.
      (list python-pyicu))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]