guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit bfc15b2f6c94fc27dc53791267593a075931037e
Author: Yelninei <[email protected]>
AuthorDate: Sun Mar 15 14:53:50 2026 +0000
gnu: python-elementpath: Use libc-utf-8-locales.
* gnu/packages/xml.scm (python-elementpath):
[phases]{set-locales phase}: Remove phase.
[native-inputs]: Replace glibc-locales with
libc-utf8-locales-for-target.
Merges: https://codeberg.org/guix/guix/pulls/7189
Change-Id: Id89952c65ff644e5fb51dd7c0e0bf6c4791e4e3f
Reviewed-by: Nicolas Graves <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/xml.scm | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 1dab9ea715..6a9f76fd2c 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1940,16 +1940,9 @@ The central program included in this package is
@code{onsgmls}, which replaces
(build-system pyproject-build-system)
(arguments
(list
- #:test-backend #~'unittest
- #:phases
- #~(modify-phases %standard-phases
- ;; 10 tests fail with: locale.Error: unsupported locale setting.
- (add-before 'check 'set-locales
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "GUIX_LOCPATH"
- (search-input-directory inputs "lib/locale")))))))
+ #:test-backend #~'unittest))
(native-inputs
- (list glibc-locales
+ (list (libc-utf8-locales-for-target (%current-system))
python-setuptools
python-lxml
python-xmlschema-bootstrap))