Merge lp:~sseman/juju-ci-tools/py3-pkg into lp:juju-ci-tools
Status: | Merged |
---|---|
Merged at revision: | 1837 |
Proposed branch: | lp:~sseman/juju-ci-tools/py3-pkg |
Merge into: | lp:juju-ci-tools |
Diff against target: |
240 lines (+120/-9) 4 files modified
Makefile (+1/-1) pipdeps.py (+59/-7) requirements_py3.txt (+2/-1) tests/test_pipdeps.py (+58/-0) |
To merge this branch: | bzr merge lp:~sseman/juju-ci-tools/py3-pkg |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+314370@code.launchpad.net |
Description of the change
This branch updates pipdeps.py so that when installing packages, it also installs packages needed for Python3 from the requirements_
Currently, the main package needed for Python 3 is https:/
Also, if pipdeps.py is running inside virtualenv, the "--user" option for pip causes an issue. I have added a code to detect and remove "--user" option when running within virtualenv.
Finally, I updated Makefile to run pipdeps.py in verbose mode. When I was having issues, I had to manually run the command to see why pip was failing.
Thank you. I wonder how precise will handle this given it does have an old version of py3 installed.