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
tox executes 'pip install' with changing cwd to envlogdir (.tox/py27/log)
If tox.ini takes deps from requirements.txt file and it contains relative paths installation will failed.
requirements.txt
-e lib/python-package
tox.ini
[testenv]
deps = -r{toxinidir}/requirements.txt
/tmp/prj/$ tox -e py27 -v
....
/tmp/prj/.tox/py27/log$ /tmp/prj/.tox/py27/bin/pip install --download-cache=/tmp/.pip/cache -r/tmp/prj/requirements.txt >/tmp/prj/.tox/py27/log/py27-1.log
ERROR: invocation failed, logfile: /tmp/prj/.tox/py27/log/py27-1.log
ERROR: actionid=py27
..
lib/python-package should either by a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+
When I run same command from console installation success:
tox executes 'pip install' with changing cwd to envlogdir (.tox/py27/log)
If tox.ini takes deps from requirements.txt file and it contains relative paths installation will failed.
requirements.txt
tox.ini
/tmp/prj/$ tox -e py27 -v
When I run same command from console installation success:
/tmp/prj/$ /tmp/prj/.tox/py27/bin/pip install --download-cache=/tmp/.pip/cache django==1.4 -r/tmp/prj/requirements.txt
I suggest tox should not change cwd when runs
pip install
The text was updated successfully, but these errors were encountered: