[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: |
Mon, 1 Feb 2021 11:56:49 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit d142c15b4f4cf14e0313d7e3a8291fa3f84bae3d
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 b03fcf0..07edee7 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)
- 68/131: gnu: python-typed-ast: Do not set PYTHONPATH., (continued)
- 68/131: gnu: python-typed-ast: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 69/131: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 70/131: gnu: python-pymediainfo: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 71/131: gnu: python-hdf4: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 45/131: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 57/131: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 46/131: gnu: python-django-statici18n: Do not read PYTHONPATH., guix-commits, 2021/02/01
- 48/131: gnu: graphite2: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 63/131: gnu: python-pytest-isort: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 64/131: gnu: python-pynacl: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 65/131: gnu: python-attrs: Do not set PYTHONPATH.,
guix-commits <=
- 67/131: gnu: python-stone: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 80/131: gnu: python-multidict: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 82/131: gnu: python-flake8-polyfill: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 87/131: gnu: python-libcst: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 89/131: gnu: python-odfpy: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 34/131: gnu: behave: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 74/131: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 75/131: gnu: python-text-unidecode: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 77/131: gnu: python-jinja2: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 81/131: gnu: python2-backports-shutil-get-terminal-size: Do not set PYTHONPATH., guix-commits, 2021/02/01