Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 287418

Summary: dev-python/setuptools-0.6.3-r3 pulls Python 3 as a dep
Product: Gentoo Linux Reporter: Nikos Chantziaras <realnc>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED WONTFIX    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikos Chantziaras 2009-10-02 20:52:54 UTC
dev-python/setuptools-0.6.3-r3 tries to install dev-lang/python-3*.  The part of the ebuild that does this:

  # Ensure that dev-python/setuptools is installed by default for
  # Python 2 and   Python 3.
  RDEPEND="=dev-lang/python-2*
           =dev-lang/python-3*"

This doesn't make much sense.  I don't want to install Python 3 on this system; nothing needs it here, and I'm not developing anything in Python either.  Therefore, I have "dev-lang/python:3.1" in my package.mask.  This results in being unable to upgrade dev-python/setuptools.

Shouldn't setuptools depend on the python virtual instead of pulling python 3 for no reason?
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-02 20:57:20 UTC
Dependencies are intentional.
Comment 2 Nikos Chantziaras 2009-10-02 21:07:19 UTC
(In reply to comment #1)
> Dependencies are intentional.

The only solution is to mask setuptools then?
Comment 3 Nikos Chantziaras 2009-10-02 21:08:00 UTC
And btw, can you elaborate a bit about why they are intentional so we know what's going on?
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-02 21:45:41 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Dependencies are intentional.
> 
> The only solution is to mask setuptools then?

The only solution is to install Python 3.

(In reply to comment #3)
> And btw, can you elaborate a bit about why they are intentional so we know
> what's going on?

It's now required to have Python 3 installed.
Comment 5 Nikos Chantziaras 2009-10-02 21:53:56 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Dependencies are intentional.
> > 
> > The only solution is to mask setuptools then?
> 
> The only solution is to install Python 3.
> 
> (In reply to comment #3)
> > And btw, can you elaborate a bit about why they are intentional so we know
> > what's going on?
> 
> It's now required to have Python 3 installed.

Yes, but *why*?
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-03 04:24:54 UTC
Having Python 3 installed is one of required steps in transition to Python 3.
Python 2 is still used as default version after installation of Python 3.
Transition to Python 3 is mandatory for all users of Python.