Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558836 - dev-python/pip-7.1.2 ImportError: No module named cachecontrol
Summary: dev-python/pip-7.1.2 ImportError: No module named cachecontrol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 16:08 UTC by William L. Thomson Jr.
Modified: 2015-08-27 22:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,53.07 KB, text/x-log)
2015-08-26 16:08 UTC, William L. Thomson Jr.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William L. Thomson Jr. 2015-08-26 16:08:18 UTC
Created attachment 410356 [details]
build.log

Unable to merge dev-python/pip-7.1.2, due to

ImportError: No module named cachecontrol
 * ERROR: dev-python/pip-7.1.2::gentoo failed (install phase):
 *   (no error message)


I have tried a variety of things, including switching active python, changing USE flags, etc. When I mess with USE flags I get the following.

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/reportlab-3.2.0::gentoo
# required by net-print/hplip-3.15.7::gentoo[scanner,-minimal,fax]
# required by @selected
# required by @world (argument)
>=dev-python/pip-7.1.2 python_targets_python2_7

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/reportlab-3.2.0::gentoo
# required by net-print/hplip-3.15.7::gentoo[-minimal,scanner,fax]
# required by @selected
# required by @world (argument)
>=dev-python/pip-7.1.2 python_targets_python3_4


For to 7.1.2 I had to add python_targets_python2_7, which was not required with 7.1.0. Not sure if that is causing the issue or what. Tried on a couple systems, so does not seem system specific. Though I have the same env, only python 2.7 and 3.4, with 3.4 set as active, with the following in make.conf

PYTHON_TARGETS="python3_4"
PYTHON_SINGLE_TARGET="${PYTHON_TARGETS}"
Comment 1 Mike Gilbert gentoo-dev 2015-08-26 16:34:36 UTC
Please provide emerge --info.

Also, the dependencies in pip-7.1.2 were updated yesterday, so please sync if you have not already.
Comment 2 William L. Thomson Jr. 2015-08-26 17:18:45 UTC
I see cachecontrol in its deps now, that resolved the issue, pip merged. I had synced last night, I guess before the changes hit the tree. I should have known better to resync again before filing bug...