public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Python 2.7 support
@ 2009-12-07  9:28 Xavier Parizet
  2009-12-07 10:46 ` Alan McKinnon
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Xavier Parizet @ 2009-12-07  9:28 UTC (permalink / raw
  To: ML Gentoo User

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

Hi list,

I eard some (long) time ago that portage is not compatible with python 2.7, so i
masked it (python) in /etc/portage/package.mask. What i would like to know now
is is portage now compatible with this version of python ? Or if not, where can
i follow the status of this compatibility ? I looked on b.g.o but didn't find
anything related to this.

Many thanks in advance.

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07  9:28 [gentoo-user] Python 2.7 support Xavier Parizet
@ 2009-12-07 10:46 ` Alan McKinnon
  2009-12-07 11:11 ` [gentoo-user] Python 3 support [was: Python 2.7 support] Xavier Parizet
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 14+ messages in thread
From: Alan McKinnon @ 2009-12-07 10:46 UTC (permalink / raw
  To: gentoo-user

On Monday 07 December 2009 11:28:07 Xavier Parizet wrote:
> Hi list,
> 
> I eard some (long) time ago that portage is not compatible with python 2.7,
>  so i masked it (python) in /etc/portage/package.mask. What i would like to
>  know now is is portage now compatible with this version of python ? Or if
>  not, where can i follow the status of this compatibility ? I looked on
>  b.g.o but didn't find anything related to this.
> 
> Many thanks in advance.
> 


There is no python-2.7

I think you mean python-3.0

Once you make this change, google will tell you what you need to know

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 3 support [was: Python 2.7 support]
  2009-12-07  9:28 [gentoo-user] Python 2.7 support Xavier Parizet
  2009-12-07 10:46 ` Alan McKinnon
@ 2009-12-07 11:11 ` Xavier Parizet
  2009-12-07 12:17   ` Dale
                     ` (2 more replies)
  2009-12-07 12:07 ` [gentoo-user] Re: Python 2.7 support Thorsten Kampe
  2009-12-07 12:34 ` [gentoo-user] " Albert Hopkins
  3 siblings, 3 replies; 14+ messages in thread
From: Xavier Parizet @ 2009-12-07 11:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Xavier Parizet a écrit :
> Hi list,
> 
> I eard some (long) time ago that portage is not compatible with python 2.7, so i
> masked it (python) in /etc/portage/package.mask. What i would like to know now
> is is portage now compatible with this version of python ? Or if not, where can
> i follow the status of this compatibility ? I looked on b.g.o but didn't find
> anything related to this.
> 
> Many thanks in advance.
> 

Sorry but instead of python 2.7 (which does not exists), i was talking about
python 3 support in portage. Is it safe to remove earlier version of python to
only keep version 3 ?

Thanks and sorry for the mistake.

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user]  Re: Python 2.7 support
  2009-12-07  9:28 [gentoo-user] Python 2.7 support Xavier Parizet
  2009-12-07 10:46 ` Alan McKinnon
  2009-12-07 11:11 ` [gentoo-user] Python 3 support [was: Python 2.7 support] Xavier Parizet
@ 2009-12-07 12:07 ` Thorsten Kampe
  2009-12-07 12:34 ` [gentoo-user] " Albert Hopkins
  3 siblings, 0 replies; 14+ messages in thread
From: Thorsten Kampe @ 2009-12-07 12:07 UTC (permalink / raw
  To: gentoo-user

* Xavier Parizet (Mon, 07 Dec 2009 10:28:07 +0100)
> 
> I eard some (long) time ago that portage is not compatible with python 2.7, so i
> masked it (python) in /etc/portage/package.mask. What i would like to know now
> is is portage now compatible with this version of python ? Or if not, where can
> i follow the status of this compatibility ? I looked on b.g.o but didn't find
> anything related to this.

Don't waste your or our time by trying to install alpha packages.

Thorsten




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 3 support [was: Python 2.7 support]
  2009-12-07 11:11 ` [gentoo-user] Python 3 support [was: Python 2.7 support] Xavier Parizet
@ 2009-12-07 12:17   ` Dale
  2009-12-07 12:18   ` Alan McKinnon
  2009-12-07 12:38   ` Albert Hopkins
  2 siblings, 0 replies; 14+ messages in thread
From: Dale @ 2009-12-07 12:17 UTC (permalink / raw
  To: gentoo-user

Xavier Parizet wrote:
> Xavier Parizet a écrit :
>   
>> Hi list,
>>
>> I eard some (long) time ago that portage is not compatible with python 2.7, so i
>> masked it (python) in /etc/portage/package.mask. What i would like to know now
>> is is portage now compatible with this version of python ? Or if not, where can
>> i follow the status of this compatibility ? I looked on b.g.o but didn't find
>> anything related to this.
>>
>> Many thanks in advance.
>>
>>     
>
> Sorry but instead of python 2.7 (which does not exists), i was talking about
> python 3 support in portage. Is it safe to remove earlier version of python to
> only keep version 3 ?
>
> Thanks and sorry for the mistake.
>
>   

Out of curiosity I tried this a while back.  Portage had been updated a 
couple time since then but at the time, portage was not happy at all.  I 
seem to recall some other programs not being happy either but I can't 
recall which ones.

Since it is keyworded and masked. I would leave it alone. 

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 3 support [was: Python 2.7 support]
  2009-12-07 11:11 ` [gentoo-user] Python 3 support [was: Python 2.7 support] Xavier Parizet
  2009-12-07 12:17   ` Dale
@ 2009-12-07 12:18   ` Alan McKinnon
  2009-12-07 12:38   ` Albert Hopkins
  2 siblings, 0 replies; 14+ messages in thread
From: Alan McKinnon @ 2009-12-07 12:18 UTC (permalink / raw
  To: gentoo-user

On Monday 07 December 2009 13:11:52 Xavier Parizet wrote:
> Xavier Parizet a écrit :
> > Hi list,
> >
> > I eard some (long) time ago that portage is not compatible with python
> > 2.7, so i masked it (python) in /etc/portage/package.mask. What i would
> > like to know now is is portage now compatible with this version of python
> > ? Or if not, where can i follow the status of this compatibility ? I
> > looked on b.g.o but didn't find anything related to this.
> >
> > Many thanks in advance.
> 
> Sorry but instead of python 2.7 (which does not exists), i was talking
>  about python 3 support in portage. Is it safe to remove earlier version of
>  python to only keep version 3 ?

No.

Google will tell you why.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07  9:28 [gentoo-user] Python 2.7 support Xavier Parizet
                   ` (2 preceding siblings ...)
  2009-12-07 12:07 ` [gentoo-user] Re: Python 2.7 support Thorsten Kampe
@ 2009-12-07 12:34 ` Albert Hopkins
  2009-12-07 12:41   ` Dale
  3 siblings, 1 reply; 14+ messages in thread
From: Albert Hopkins @ 2009-12-07 12:34 UTC (permalink / raw
  To: gentoo-user

On Mon, 2009-12-07 at 10:28 +0100, Xavier Parizet wrote:
> Hi list,
> 
> I eard [sic] some (long) time ago that portage is not compatible with python 2.7, so i
> masked it (python) in /etc/portage/package.mask. What i would like to know now
> is is portage now compatible with this version of python ? Or if not, where can
> i follow the status of this compatibility ? I looked on b.g.o but didn't find
> anything related to this.

There is no python 2.7 (well, 2.7 alpha 1 was released a few days ago).

What you "heard", actually what portage tells you is this.

      * Most programs do not work with Python 3.x yet
      * You should not "eselect python set 3.x" (i.e. set your system
        python to 3.x)
      * You should definitely *not* unmerge python 2.x
      * It's perfectly fine to have 2.x and 3.x installed at the same
        time (they are in different slots) so long as your system python
        remains 2.x

In addition, portage (at least the 2.2-rc series) has a python3 USE
flag, which means portage *is* designed to work with Python 3.x.  It's
still in development, but I've been using it for a while.  Once in a
while I've run into a bug, reported it and it got fixed.  I haven't had
any issues with it in a while though.

You probably didn't find anything at b.g.o because it's not a bug. It's
a feature ;-) (and also because you got your information wrong).  So
there's no reason to mask python3 (unless you want to).  If it were
buggy the Gentoo devs would have masked it for you ;-)


-a





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 3 support [was: Python 2.7 support]
  2009-12-07 11:11 ` [gentoo-user] Python 3 support [was: Python 2.7 support] Xavier Parizet
  2009-12-07 12:17   ` Dale
  2009-12-07 12:18   ` Alan McKinnon
@ 2009-12-07 12:38   ` Albert Hopkins
  2 siblings, 0 replies; 14+ messages in thread
From: Albert Hopkins @ 2009-12-07 12:38 UTC (permalink / raw
  To: gentoo-user

On Mon, 2009-12-07 at 12:11 +0100, Xavier Parizet wrote:
> Sorry but instead of python 2.7 (which does not exists), i was talking
> about
> python 3 support in portage. Is it safe to remove earlier version of
> python to
> only keep version 3 ? 

No. When you installed python3 it pretty much tells you *not* to do
this.  You get a big fat WARNING:

        WARNING!
        Many Python modules haven't been ported yet to Python 3.*.
        Python 3 hasn't been activated and Python wrapper is still
        configured to use Python 2. You can manually activate Python 3.1
        using `eselect python set python3.1`. It is recommended to
        currently have Python wrapper configured to use Python 2. Having
        Python wrapper configured to use Python 3 is unsupported.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07 12:34 ` [gentoo-user] " Albert Hopkins
@ 2009-12-07 12:41   ` Dale
  2009-12-07 14:13     ` Xavier Parizet
  2009-12-07 14:16     ` Neil Bothwick
  0 siblings, 2 replies; 14+ messages in thread
From: Dale @ 2009-12-07 12:41 UTC (permalink / raw
  To: gentoo-user

Albert Hopkins wrote:
>
> If it were
> buggy the Gentoo devs would have masked it for you ;-)
>
>
> -a
>   

And they devs have done so.  Python 3 is masked and even keyworded.  It 
is a hint at least.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07 12:41   ` Dale
@ 2009-12-07 14:13     ` Xavier Parizet
  2009-12-07 14:16     ` Neil Bothwick
  1 sibling, 0 replies; 14+ messages in thread
From: Xavier Parizet @ 2009-12-07 14:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

Dale a écrit :
> Albert Hopkins wrote:
>>
>> If it were
>> buggy the Gentoo devs would have masked it for you ;-)
>>
>>
>> -a
>>   
> 
> And they devs have done so.  Python 3 is masked and even keyworded.  It
> is a hint at least.
> 
> Dale
> 
> :-)  :-)

Thanks all for your answers. Anyway, is there a mean to be kept informed about
the status of the "migration" ? (any "bugs" on b.g.o where i can CC myself)

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07 12:41   ` Dale
  2009-12-07 14:13     ` Xavier Parizet
@ 2009-12-07 14:16     ` Neil Bothwick
  2009-12-07 14:47       ` Dale
  1 sibling, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2009-12-07 14:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

On Mon, 07 Dec 2009 06:41:02 -0600, Dale wrote:

> And they devs have done so.  Python 3 is masked and even keyworded.  It 
> is a hint at least.

It's keyworded, but not masked. The recommendation, for ~arch users, is
that you have it installed but leave 2.6 as the default.


-- 
Neil Bothwick

Age and treachery will always overcome youth and skill.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07 14:16     ` Neil Bothwick
@ 2009-12-07 14:47       ` Dale
  2009-12-07 21:21         ` Neil Bothwick
  0 siblings, 1 reply; 14+ messages in thread
From: Dale @ 2009-12-07 14:47 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Mon, 07 Dec 2009 06:41:02 -0600, Dale wrote:
>
>   
>> And they devs have done so.  Python 3 is masked and even keyworded.  It 
>> is a hint at least.
>>     
>
> It's keyworded, but not masked. The recommendation, for ~arch users, is
> that you have it installed but leave 2.6 as the default.
>
>   

It shows this here:

[M~] dev-lang/python-3.1.1-r1 (3.1)

Isn't that masked and keyworded?  I'm x86 here and synced yesterday.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07 14:47       ` Dale
@ 2009-12-07 21:21         ` Neil Bothwick
  2009-12-08  0:08           ` Dale
  0 siblings, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2009-12-07 21:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

On Mon, 07 Dec 2009 08:47:41 -0600, Dale wrote:

> > It's keyworded, but not masked. The recommendation, for ~arch users,
> > is that you have it installed but leave 2.6 as the default.

> It shows this here:
> 
> [M~] dev-lang/python-3.1.1-r1 (3.1)
> 
> Isn't that masked and keyworded?  I'm x86 here and synced yesterday.

Have you masked it in /etc/portage? It's not masked here, no sign of
it in /usr/portage/profile/package.mask, and I have it installed on ~amd64
and ~x86 systems.


-- 
Neil Bothwick

Top Oxymorons Number 44: Advanced BASIC

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] Python 2.7 support
  2009-12-07 21:21         ` Neil Bothwick
@ 2009-12-08  0:08           ` Dale
  0 siblings, 0 replies; 14+ messages in thread
From: Dale @ 2009-12-08  0:08 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Mon, 07 Dec 2009 08:47:41 -0600, Dale wrote:
>
>   
>>> It's keyworded, but not masked. The recommendation, for ~arch users,
>>> is that you have it installed but leave 2.6 as the default.
>>>       
>
>   
>> It shows this here:
>>
>> [M~] dev-lang/python-3.1.1-r1 (3.1)
>>
>> Isn't that masked and keyworded?  I'm x86 here and synced yesterday.
>>     
>
> Have you masked it in /etc/portage? It's not masked here, no sign of
> it in /usr/portage/profile/package.mask, and I have it installed on ~amd64
> and ~x86 systems.
>
>   

Actually, it is installed here.  It's not in use but after my little 
testing, I left it on here. 

root@smoker / # equery list dev-lang/python
[ Searching for package 'python' in 'dev-lang' among: ]
 * installed packages
[I--] [  ] dev-lang/python-2.6.4 (2.6)
[I--] [M~] dev-lang/python-3.1.1-r1 (3.1)
root@smoker / #

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-12-08  0:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07  9:28 [gentoo-user] Python 2.7 support Xavier Parizet
2009-12-07 10:46 ` Alan McKinnon
2009-12-07 11:11 ` [gentoo-user] Python 3 support [was: Python 2.7 support] Xavier Parizet
2009-12-07 12:17   ` Dale
2009-12-07 12:18   ` Alan McKinnon
2009-12-07 12:38   ` Albert Hopkins
2009-12-07 12:07 ` [gentoo-user] Re: Python 2.7 support Thorsten Kampe
2009-12-07 12:34 ` [gentoo-user] " Albert Hopkins
2009-12-07 12:41   ` Dale
2009-12-07 14:13     ` Xavier Parizet
2009-12-07 14:16     ` Neil Bothwick
2009-12-07 14:47       ` Dale
2009-12-07 21:21         ` Neil Bothwick
2009-12-08  0:08           ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox