Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287496 - dev-python/sip-4.8.2-r1 mandates Python 3
Summary: dev-python/sip-4.8.2-r1 mandates Python 3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-03 13:59 UTC by Brendan Jurd
Modified: 2009-10-03 17:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Jurd 2009-10-03 13:59:30 UTC
I've just starting using the kde-4.3 keywords file [1] to upgrade from KDE 4.2.  The file keywords =dev-python/sip-4.8*.

This pulls in the new sip-4.8.2-r1 ebuild, which has added RDEPEND="=dev-lang/python-2* =dev-lang/python-3*".

This prevents my build of KDE 4.3 from going forward, as Python 3 is still unstable and I have no desire to keyword it in just yet.

The changelog for sip 4.8.2-r1 says:

  "Add new revision to ensure that dev-python/sip is installed by default for Python 2 and Python 3. Fix compatibility with Python 3."

I'm not sure how making sip pull in Python 3 achieves the described goal -- shouldn't it be the other way around (Python 2 and 3 both pull in sip)?

I got around this by removing the sip entry from the kde-4.3 keywords file so that it uses sip-4.8.2, which doesn't have this bizarre dependency arrangement and installs quite happily.

I don't understand why sip should require both Python 2 AND Python 3.  It's very strange.  Version 4.8.2 works just fine with just Python 2 installed.

Perhaps the RDEPEND was meant to have (=dev-lang/python-2* || =dev-lang/python-3*) ?

[1] http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=blob_plain;f=Documentation/package.keywords/kde-4.3.keywords;hb=master

Reproducible: Always

Steps to Reproduce:
1. Install the kde4.3 keywords file
2. emerge -avuND world

Actual Results:  
No ebuilds available to satisfy dependency =dev-lang/python-3*, pulled in by dev-python/sip.

Expected Results:  
sip installed against Python 2, without requiring me to install Python 3.
Comment 1 Chris Larson 2009-10-03 15:11:07 UTC
Take a look at bug 287445
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-03 17:34:20 UTC
QA thoughtlessly decided to break dependencies and cause more problems for users.