Skip to content
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

__PYVENV_LAUNCHER__ causing issues on OS X with Python 3.3 #148

Closed
pytoxbot opened this issue Sep 17, 2016 · 2 comments
Closed

__PYVENV_LAUNCHER__ causing issues on OS X with Python 3.3 #148

pytoxbot opened this issue Sep 17, 2016 · 2 comments

Comments

@pytoxbot
Copy link

If the environment variable PYVENV_LAUNCHER is set when tox is launched then the pip subprocesses that tox fires off to install dependencies get confused and install everything into the virtualenv that tox comes from, rather than the test envs.

The "fix" is to add PYVENV_LAUNCHER to the list of environment variables deleted from the environment in the _pcall method (along with VIRTUALENV_PYTHON and PYTHONDONTWRITEBYTECODE).

Sorry I can't provide a better report than this but I'm not sure what PYVENV_LAUNCHER does - only that it causes trouble sometimes and is the specific cause of the problem in this case.

I've attached the output/logs of trying to run tox with flake8, with what I hope is a reasonable explanation of what's going on. It's kinda verbose, sorry, but it does show the failure and then success after I make the edit above.

@pytoxbot
Copy link
Author

Original comment by @hpk42

fix issue148: ignore PYVENV_LAUNCHER for subproc

→ <<cset 7693f02ac23f>>

@pytoxbot
Copy link
Author

Original comment by @myint

This is fixed in pull request 118.

@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant