[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
83/131: gnu: python-msgpack: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
83/131: gnu: python-msgpack: Do not set PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:22:07 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit c977e825178613c8ea331a2c6a01b1e5f5f484a5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:54:15 2021 -0500
gnu: python-msgpack: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-msgpack)
[phases]{check}: Do not set PYTHONPATH.
---
gnu/packages/python-xyz.scm | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 298fc11..e28d865 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8731,14 +8731,7 @@ third-party code.")
(modify-phases %standard-phases
(replace 'check
(lambda _
- (let ((cwd (getcwd)))
- (setenv "PYTHONPATH"
- (string-append cwd "/build/"
- (find (cut string-prefix? "lib" <>)
- (scandir (string-append cwd
"/build")))
- ":"
- (getenv "PYTHONPATH")))
- (invoke "pytest" "-v" "test")))))))
+ (invoke "pytest" "-v" "test"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(synopsis "MessagePack (de)serializer")
- 76/131: gnu: python-markupsafe: Do not set PYTHONPATH., (continued)
- 76/131: gnu: python-markupsafe: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 77/131: gnu: python-jinja2: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 79/131: gnu: python-matplotlib-documentation: Do not read PYTHONPATH., guix-commits, 2021/01/29
- 40/131: gnu: python-django: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 44/131: gnu: python-django-sortedm2m: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 70/131: gnu: python-pymediainfo: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 82/131: gnu: python-flake8-polyfill: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 96/131: gnu: python-apispec: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 73/131: gnu: python-click: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 78/131: gnu: python-pygithub: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 83/131: gnu: python-msgpack: Do not set PYTHONPATH.,
guix-commits <=
- 56/131: gnu: python-fenics-ufl: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 89/131: gnu: python-odfpy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 99/131: gnu: python-aiohttp: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 102/131: gnu: python-cfn-lint: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 103/131: gnu: python-jsonpickle: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 111/131: gnu: redshift: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 129/131: gnu: mpd: Update comment., guix-commits, 2021/01/29
- 58/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 61/131: gnu: python-pure-protobuf: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 85/131: gnu: python-tblib: Do not set PYTHONPATH., guix-commits, 2021/01/29