You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be in tests/test_datafiles_install.py which tries to execute a bare pip install .
A somewhat easy workaround would be to set up a temporary directory and export PIP_TARGET=/path/to/tmp/staging before running each test that tries to pip install.
UPDATE: Also seems to affect tests/test_install.py.
The text was updated successfully, but these errors were encountered:
Oh, I misunderstand the issue, sorry. Now I see it. If I run the tests as a regular user, it tries to install packages into /usr/jupyter-packaging-test… which is not possible for obvious reasons. It seems that the tests are using sys.base_prefix as a root directory. Wouldn't it be better to use pytest fixture tmp_path?
The problem seems to be in
tests/test_datafiles_install.py
which tries to execute a barepip install .
A somewhat easy workaround would be to set up a temporary directory and export
PIP_TARGET=/path/to/tmp/staging
before running each test that tries topip install
.UPDATE: Also seems to affect
tests/test_install.py
.The text was updated successfully, but these errors were encountered: