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

tox 1.6.1 uses default pip 1.3.1 -> bad install_command default #139

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

tox 1.6.1 uses default pip 1.3.1 -> bad install_command default #139

pytoxbot opened this issue Sep 17, 2016 · 2 comments

Comments

@pytoxbot
Copy link

Tox 1.6.1 doesn't work out of the box using win32, python33 32bit.

The install_command default is pip install --pre ..., which is unsupported by pip 1.3.1 - the version, which gets installed by tox! I didn't find a possibility to set deps=pip>=1.4.1, which leads to a circular problem, if I want to avoid changing the default install_command! I can't upgrade pip without changing the default. Upgrading itself make the change obsolete.
The default pip version for any environment should therefore be pip>=1.4, if the --pre option is a default!
This was annoying to find for a newbie like me...

This is my working tox.ini, just in case.

#!tox

[tox]
envlist = py33
[testenv]
install_command=pip install {opts} {packages}
deps=
    -rrequirements.txt
commands=
    py.test
[testenv:py33]
basepython=D:/Python33/python.exe

requirements.txt:
pytest

@pytoxbot
Copy link
Author

Original comment by @hpk42

Duplicate of #126.

@pytoxbot
Copy link
Author

Original comment by @hpk42

Sorry for the troubles and thanks for going through the effort. Will see to accomodate by either changing the required pip version or something else (need to investigate a little myself).

@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