Skip to content

Commit

Permalink
Ask tox to upgrade pip
Browse files Browse the repository at this point in the history
Works around the terrible mess that is the state of Python packaging:

- latest virtualenv doesn't work with Python 3.5 on Windows
  (pypa/virtualenv#796)

- virtualenv-rewrite that I use instead works with Python 3.5 but
  bundles an outdated version of pip

- old version of pip doesn't find the right binary wheels for Pillow
  (because the ABI tag changed) and tries to compile, which fails
  • Loading branch information
mgedmin committed Aug 4, 2016
1 parent 8eef632 commit 17832a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Expand Up @@ -2,7 +2,9 @@
envlist = py27, py33, py34, py35

[testenv]
install_command = python -m pip install -U {opts} {packages}
deps =
pip
nose
mock
WebTest
Expand Down

1 comment on commit 17832a5

@mgedmin
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work at all because of course tox runs pip install pip ... Pillow as one command, so it's the old pip that tries to find Pillow.

Please sign in to comment.