simphony / simphony-framework

A meta-repository to simplify setup of the SimPhoNy toolset.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

update pip 8.0.0 and its complication on Travis #64

Closed kitchoi closed 8 years ago

kitchoi commented 8 years ago

pip is upgraded to 8.0.0 and the link to get-pip.py needs to be updated.

The site packages argparse and pyyaml on Travis are installed by distutils and the new pip refuses to upgrade them. So I uninstall and reinstall them using sudo pip, which would load the site's 7.1.2 pip instead of the installed 8.0.0 one.

If you wonder why not just use pip 7.1.2 for everything at the very beginning, I tried, but it won't concede: https://travis-ci.org/simphony/simphony-framework/jobs/103801474

kitchoi commented 8 years ago

Aha! Look at this:

PIP Release Note 8.0.1 (2016-01-21) Installing argparse or wsgiref will no longer warn or error - pip will allow the installation even though it may be useless (since the installed thing will be shadowed by the standard library). Upgrading a distutils installed item that is installed outside of a virtual environment, while inside of a virtual environment will no longer warn or error.

kitchoi commented 8 years ago

@itziakos PIP rolled back on their decision to remove the ability to uninstall distutils installed items until a future date. Now the PR is trivial.

itziakos commented 8 years ago

@kitchoi, since it looks that test-framework tests everithing and there is no time out we can probably remove the second build setup. Other than that :+1:

kitchoi commented 8 years ago

Yeah. Merging.