mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-jupyter-core: Use GUIX_PYTHONPATH.
* gnu/packages/python-xyz.scm (python-jupyter-core)[arguments]: Adjust custom 'patch-testsuite phase to use GUIX_PYTHONPATH as the PYTHONPATH.
This commit is contained in:
parent
c37bd286ea
commit
06e258c3c0
1 changed files with 3 additions and 3 deletions
|
@ -7787,12 +7787,12 @@ without using the configuration machinery.")
|
||||||
(add-after 'unpack 'patch-testsuite
|
(add-after 'unpack 'patch-testsuite
|
||||||
(lambda _
|
(lambda _
|
||||||
;; test_not_on_path() and test_path_priority() try to run a test
|
;; test_not_on_path() and test_path_priority() try to run a test
|
||||||
;; that loads jupyter_core, so we need PYTHONPATH
|
;; that loads jupyter_core, so we need GUIX_PYTHONPATH
|
||||||
(substitute* "jupyter_core/tests/test_command.py"
|
(substitute* "jupyter_core/tests/test_command.py"
|
||||||
(("env = \\{'PATH': ''\\}")
|
(("env = \\{'PATH': ''\\}")
|
||||||
"env = {'PATH': '', 'PYTHONPATH': os.environ['PYTHONPATH']}")
|
"env = {'PATH': '', 'PYTHONPATH': os.environ['GUIX_PYTHONPATH']}")
|
||||||
(("env = \\{'PATH': str\\(b\\)\\}")
|
(("env = \\{'PATH': str\\(b\\)\\}")
|
||||||
"env = {'PATH': str(b), 'PYTHONPATH': os.environ['PYTHONPATH']}"))
|
"env = {'PATH': str(b), 'PYTHONPATH': os.environ['GUIX_PYTHONPATH']}"))
|
||||||
#t))
|
#t))
|
||||||
;; Migration is running whenever etc/jupyter exists, but the
|
;; Migration is running whenever etc/jupyter exists, but the
|
||||||
;; Guix-managed directory will never contain any migratable IPython
|
;; Guix-managed directory will never contain any migratable IPython
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue