[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/163: gnu: python-xmlschema: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
26/163: gnu: python-xmlschema: Do not set PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:21 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 73fab7866457c9e55bfd4644a0810527644c7030
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 16:46:23 2021 -0500
gnu: python-xmlschema: Do not set PYTHONPATH.
* gnu/packages/xml.scm (python-xmlschema): Remove trailing #t.
[phases]{check}: Do not set PYTHONPATH.
---
gnu/packages/xml.scm | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 159fbd5..239b0e7 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2465,19 +2465,14 @@ libxml2 and libxslt.")
'(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key (tests? #t) #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(if tests?
- (begin
- (setenv "PYTHONPATH"
- (string-append "./build/lib:"
- (getenv "PYTHONPATH")))
- ;; Disable test_export_remote__issue_187, which is known to
- ;; fail (see:
- ;; https://github.com/sissaschool/xmlschema/issues/206).
- (invoke "python" "-m" "unittest" "-v"
- "-k" "not test_export_remote__issue_187"))
- (format #t "test suite not run~%"))
- #t)))))
+ ;; Disable test_export_remote__issue_187, which is known to
+ ;; fail (see:
+ ;; https://github.com/sissaschool/xmlschema/issues/206).
+ (invoke "python" "-m" "unittest" "-v"
+ "-k" "not test_export_remote__issue_187")
+ (format #t "test suite not run~%")))))))
(native-inputs
`(("python-lxml" ,python-lxml))) ;for tests
(propagated-inputs
- 70/163: gnu: solfege: Wrap with the new Guix PYTHONPATH., (continued)
- 70/163: gnu: solfege: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 101/163: gnu: presentty: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 87/163: gnu: python-fenics-dijitso: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 96/163: gnu: entangle: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 85/163: gnu: units: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 84/163: gnu: glimpse: Use the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 103/163: gnu: python-pytest-isort: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 107/163: gnu: rhythmbox: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 127/163: gnu: python-aenum: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 133/163: gnu: python-pygithub: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 26/163: gnu: python-xmlschema: Do not set PYTHONPATH.,
guix-commits <=
- 57/163: gnu: python-pytest-django: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 55/163: gnu: ibus-libhangul: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 42/163: gnu: tensorflow: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 45/163: gnu: liferea: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 68/163: gnu: graphite2: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 63/163: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 73/163: gnu: itstool: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 86/163: gnu: mpdris2: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 94/163: gnu: python-pure-protobuf: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 113/163: gnu: authenticator: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25