[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
65/131: gnu: python-attrs: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
65/131: gnu: python-attrs: Do not set PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:22:00 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 9763123378c675fb2b38f5922f4d8b71ea2bca59
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:21:58 2021 -0500
gnu: python-attrs: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-attrs)
[arguments]: Remove the '#:modules' argument.
[phases]{check}: Do not set PYTHONPATH.
---
gnu/packages/python-xyz.scm | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3c256f5..b495be2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15137,23 +15137,10 @@ and bit flag values.")
"0wky4h28n7xnr6xv69p9z6kv8bzn50d10c3drmd9ds8gawbcxdzp"))))
(build-system python-build-system)
(arguments
- `(#:modules ((guix build utils)
- (guix build python-build-system)
- (ice-9 ftw)
- (srfi srfi-1)
- (srfi srfi-26))
- #:phases (modify-phases %standard-phases
+ `(#:phases (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 "python" "-m" "pytest")))))))
+ (invoke "pytest"))))))
(native-inputs
`(("python-coverage" ,python-coverage)
("python-hypothesis" ,python-hypothesis)
- 39/131: gnu: python-rpy2: Do not set PYTHONPATH., (continued)
- 39/131: gnu: python-rpy2: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 35/131: gnu: python-pyhamcrest: Update to 2.0.2., guix-commits, 2021/01/29
- 42/131: gnu: python-django-contact-form: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 45/131: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 46/131: gnu: python-django-statici18n: Do not read PYTHONPATH., guix-commits, 2021/01/29
- 49/131: gnu: python-hyperkitty: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 43/131: gnu: python-django-pipeline: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 57/131: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 50/131: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/01/29
- 59/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 65/131: gnu: python-attrs: Do not set PYTHONPATH.,
guix-commits <=
- 60/131: gnu: fenics: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 74/131: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 36/131: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 51/131: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 52/131: gnu: meson: Update to 0.56.2., guix-commits, 2021/01/29
- 53/131: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/01/29
- 69/131: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 72/131: gnu: python-aenum: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 41/131: gnu: python-pytest-django: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/01/29