[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/131: gnu: python-xmlschema: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
30/131: gnu: python-xmlschema: Do not set PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:21:50 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 5135b213a7261d35ec176672ff43f2192400592f
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
- 12/131: gnu: python-websockets: Fix Python package name., (continued)
- 12/131: gnu: python-websockets: Fix Python package name., guix-commits, 2021/01/29
- 14/131: gnu: python-traitlets: Add missing input., guix-commits, 2021/01/29
- 15/131: gnu: python-idna-ssl: Add missing input., guix-commits, 2021/01/29
- 17/131: gnu: python-automat: Remove broken console script., guix-commits, 2021/01/29
- 07/131: gnu: python-pytest-xdist: Add missing input, relax pytest requirement., guix-commits, 2021/01/29
- 16/131: gnu: python-twisted: Remove broken console scripts., guix-commits, 2021/01/29
- 22/131: gnu: solaar: Do not read PYTHONPATH from environment., guix-commits, 2021/01/29
- 21/131: gnu: python2-virtualenv: Fix build., guix-commits, 2021/01/29
- 25/131: gnu: python-pysam: Adjust following Python build system changes., guix-commits, 2021/01/29
- 27/131: gnu: python-screed: Adjust following Python build system changes., guix-commits, 2021/01/29
- 30/131: gnu: python-xmlschema: Do not set PYTHONPATH.,
guix-commits <=
- 13/131: gnu: python-black: Remove blackd., guix-commits, 2021/01/29
- 19/131: gnu: python-traceback2: Add missing dependency., guix-commits, 2021/01/29
- 23/131: gnu: intel-xed: Adjust build phase., guix-commits, 2021/01/29
- 18/131: gnu: python-packaging-bootstrap: Remove dependency., guix-commits, 2021/01/29
- 24/131: gnu: python-pybedtools: Streamline following Python build system changes., guix-commits, 2021/01/29
- 26/131: gnu: bamm: Update following changes to the Python build system., guix-commits, 2021/01/29
- 28/131: gnu: python-scanpy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 29/131: gnu: python-loompy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 20/131: gnu: python2-packaging-bootstrap: Add missing dependency, guix-commits, 2021/01/29
- 31/131: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/01/29