New issue 354: RFE: Use "--ignore-installed" by default when global site 
packages is enabled
https://bitbucket.org/hpk42/tox/issues/354/rfe-use-ignore-installed-by-default-when

Nick Coghlan:

Working on the use case described in 
https://bitbucket.org/hpk42/tox/issues/236/tox-must-create-the-source-distribution#comment-29617000
 I ran into an interestingly cryptic error message related to nosetests: tox 
was attempting to use the system nose installation, even though I'd explicitly 
specified it as a dependency to be installed into the virtual environment.

I eventually figured out the problem, and was able to workaround it by 
overriding `install_command` to add "--ignore-installed" to the default 
settings. That meant everything declared as a dependency would be installed 
into the virtual environment, even if it already existing in the system site 
packages, leaving the latter to be used only for the components not available 
in a venv friendly format.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to