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 lxml
  (because the ABI tag changed) and tries to compile, which fails
  • Loading branch information
mgedmin committed Aug 26, 2016
1 parent 3b99bb1 commit 1a22afc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tox.ini
Expand Up @@ -18,10 +18,14 @@ commands =
# Install ZEO because zodbbrowser depends on ZODB3 which depends on ZEO >=
# 4.0.0dev which tells pip that prereleases are fine, which makes it go and
# download ZEO 5.0.0a2, which is broken on windows, somehow.
# Upgrade pip because otherwise we can't find lxml wheels because the ABI tag
# format changed or something.
deps =
zope.testrunner
persistent
ZEO
pip
install_command = python -m pip install -U {opts} {packages}

[testenv:py]
commands =
Expand Down

0 comments on commit 1a22afc

Please sign in to comment.