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
VERSION INFO: tox 1.6.1 with python 2.7, virtualenv 0.10.1, setuptools 0.9.8 (or newer)
When you use the new "install_command" with easy_install you get an error when you run the same test environment twice without recreating it. The problem occurs in the sdist installation step because 2 options "-U --no-deps" are appended after the package.
shell> tox -e xxx -r
shell> tox -e xxx
...
cmdargs=[local('.../MY_PROJECT/.tox/xxx/bin/easy_install'), '-i',
'MY_INDEX_SERVER_URL', '.../MYPROJECT/.tox/dist/my_project-X.X.X.zip',
'-U', '--no-deps']
...
error: Could not find suitable distribution for Requirement.parse('-U')
The problem is the last 2 options "-U --no-deps" that are appended to the easy_install command-line. When you place these 2 options before the package, easy_install is happy and will install the package at the second time.
fix issue130: you can now set install_command=easy_install {opts} {packages}
and expect it to run without the need to recreate. Thanks jenisys for
precise reporting.
VERSION INFO: tox 1.6.1 with python 2.7, virtualenv 0.10.1, setuptools 0.9.8 (or newer)
When you use the new "install_command" with easy_install you get an error when you run the same test environment twice without recreating it. The problem occurs in the sdist installation step because 2 options "-U --no-deps" are appended after the package.
The problem is the last 2 options "-U --no-deps" that are appended to the easy_install command-line. When you place these 2 options before the package, easy_install is happy and will install the package at the second time.
EXAMPLE:
The text was updated successfully, but these errors were encountered: