-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running pytest fails if pip doesn't have permissions to install packages #63
Comments
Also, it would be nice to make it possible to easily skip those tests in environments without internet access. |
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 |
Taking note of two things we need for this:
|
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: