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: fix environment setup #5843

Merged
merged 1 commit into from
Oct 10, 2018

Conversation

benoit-pierre
Copy link
Member

@benoit-pierre benoit-pierre commented Oct 2, 2018

Use the virtualenv's pip for installing dependencies, not the code that is about to be tested. Another stab at #4657 and a simpler (IMHO) alternative to and closes #5770.

Ensure a stable version of pip is used for installing
dependencies, and not the version about to be tested.
@benoit-pierre
Copy link
Member Author

Updated to use a recent stable version of pip instead of the version available in the virtualenv: the later can be pretty old (no support for freeze --all) when using something like Python 3.4 in combination with tox-venv.

@pradyunsg pradyunsg added C: automation Automated checks, CI etc skip news Does not need a NEWS file entry (eg: trivial changes) labels Oct 10, 2018
@pradyunsg
Copy link
Member

pradyunsg commented Oct 10, 2018

It's definitely simpler. :)

I'm gonna go ahead and merge this, since this is a process improvement that I'd really prefer to not hold off on any longer.

@pradyunsg pradyunsg merged commit 541ec23 into pypa:master Oct 10, 2018
@benoit-pierre benoit-pierre deleted the fix_tox.ini_install_command branch February 4, 2019 00:37
@lock
Copy link

lock bot commented May 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label May 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: automation Automated checks, CI etc skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants