Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565714 - virtual/python-ipaddress breaks previously working python3.5 support for dev-python/cryptography
Summary: virtual/python-ipaddress breaks previously working python3.5 support for dev-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 20:30 UTC by Tom Gillespie
Modified: 2015-12-03 19:33 UTC (History)
0 users

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


Attachments
virtual/python-ipaddress --info (python-ipaddress-info,6.02 KB, text/plain)
2015-12-03 18:48 UTC, Tom Gillespie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Gillespie 2015-11-13 20:30:39 UTC
Trying to run:
emerge -uDN dev-python/cryptography

I get the following error:
emerge: there are no ebuilds to satisfy "virtual/python-ipaddress[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_pypy(-)]".
(dependency required by "dev-python/cryptography-1.0.2::gentoo" [installed])
(dependency required by "dev-python/cryptography" [argument])

In make.conf I have set:
PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5"
PYTHON_SINGLE_TARGET="python2_7"

If I run:
emerge -p virtual/python-ipaddress

I get the following, which suggests that python3_5 is not supported by virtual/python-ipaddress:
[ebuild  N     ] virtual/python-ipaddress-1.0  PYTHON_TARGETS="python2_7 python3_3 python3_4 (-pypy) (-pypy3) (-python3_5)"

This seems to be counter to the settings in the ebuild here:
https://gitweb.gentoo.org/repo/gentoo.git/diff/virtual/python-ipaddress/python-ipaddress-1.0.ebuild?id=156b9e32ecaf93a5205973fb35dc1a4d56863602
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-11-20 08:09:59 UTC
I don't see your problem.

python-ipaddress supportes py3.5

$ gpy-showimpls virtual/python-ipaddress
virtual/python-ipaddress:0
             1.0: S   2.7 3.3 3.4 3.5 pypy pypy3

Installation works here as well. Could you please add your emerge info?
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-12-03 14:19:26 UTC
I cannot reproduce it here.
Comment 3 Tom Gillespie 2015-12-03 18:48:18 UTC
Created attachment 418510 [details]
virtual/python-ipaddress --info
Comment 4 Tom Gillespie 2015-12-03 18:53:35 UTC
dev-python/urllib3 -python_targets_python3_5
dev-python/requests -python_targets_python3_5
dev-python/ndg-httpsclient -python_targets_python3_5
dev-python/pyopenssl -python_targets_python3_5
dev-python/cryptography -python_targets_python3_5

adding these 5 lines to package.use allowed me to proceed but doesn't explain why virtual/python-ipaddress claims it can't install on 3.5.

One thought I had was that it might be because some of its dependencies don't support 3.5 but the only two I see there are dev-python/ipaddress-1.0.15 (which doesn't support python3 anymore) and dev-lang/python-exec, and python-exec has successfully built with 3.5 support. So I'm at a loss.
Comment 5 Tom Gillespie 2015-12-03 19:20:05 UTC
I should probably mention that it seems this is not the only case where packages that claim to support 3.5 are not being installed with 3.5 support. For example portage forces dev-python/simplegeneric to compile with (-python3_5) for some reason.
Comment 6 Tom Gillespie 2015-12-03 19:33:32 UTC
was missing -python_targets_python3_5 in /etc/portage/profile/use.mask