Commit 501a30c6 authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #1147 from benoit-pierre/fix_travis_2.6_job

fix `test_pip_upgrade_from_source` test on Python 2.6
parents 5d163b5b 6cffeac6
import glob
import os
import sys
from pytest import yield_fixture
from pytest_fixture_config import yield_requires_config
......@@ -39,6 +40,9 @@ def test_pip_upgrade_from_source(virtualenv):
Check pip can upgrade setuptools from source.
"""
dist_dir = virtualenv.workspace
if sys.version_info < (2, 7):
# Python 2.6 support was dropped in wheel 0.30.0.
virtualenv.run('pip install -U "wheel<0.30.0"')
# Generate source distribution / wheel.
virtualenv.run(' && '.join((
'cd {source}',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment