Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is it safe to let depclean remove python 2.6 at this point?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
andrewthomas
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2010
Posts: 93

PostPosted: Thu Dec 16, 2010 3:16 am    Post subject: Is it safe to let depclean remove python 2.6 at this point? Reply with quote

I have 3.1, 2.7 & 2.6 installed. Is it now safe to select python 2.7 as my main version and unmerge 2.6?
Back to top
View user's profile Send private message
jbouzan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2007
Posts: 138

PostPosted: Thu Dec 16, 2010 5:40 am    Post subject: Reply with quote

I did so, no problems so far.
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Thu Dec 16, 2010 7:31 am    Post subject: Re: Is it safe to let depclean remove python 2.6 at this poi Reply with quote

andrewthomas wrote:
I have 3.1, 2.7 & 2.6 installed. Is it now safe to select python 2.7 as my main version and unmerge 2.6?


Yes, first change the active version, run python-updater, and finally unmerge the old version.
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
andrewthomas
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2010
Posts: 93

PostPosted: Thu Dec 16, 2010 11:41 pm    Post subject: Reply with quote

Thanks all. Just wanted to make sure.
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Fri Dec 17, 2010 5:22 pm    Post subject: Reply with quote

"sure" and "safe" are words that should not be used in the same breath with "gentoo". ;)

I've updated python several days ago. After starting
Code:
python-updater
I get

Code:
 * Starting Python Updater...
 * Main active version of Python:  2.7
 * Active version of Python 2:     2.7
 * Active version of Python 3:     3.1
 *   Adding to list: app-emulation/emul-linux-x86-medialibs:0
 *   Adding to list: dev-libs/boost:1.42


Great! :)

Unfortunetly over and over again. :(
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Fri Dec 17, 2010 5:44 pm    Post subject: Reply with quote

Uli Sing wrote:

Code:
 * Main active version of Python:  2.7



What does
Code:
eselect python list

say?
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Fri Dec 17, 2010 6:47 pm    Post subject: Reply with quote

Exactly that, what it's supposed to do.

Code:
brain@ulising ~ $ eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.1


Da muss ein Hund drin sein, as we say in German. ;)

Edit:
btw: what does this thread do in "Unsupported Software"?
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat Dec 18, 2010 12:33 am    Post subject: Reply with quote

Uli Sing wrote:
Exactly that, what it's supposed to do.

Code:
brain@ulising ~ $ eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.1


Da muss ein Hund drin sein, as we say in German. ;)

Edit:
btw: what does this thread do in "Unsupported Software"?

But, if you want to delete python-2.x, shouldn't you select python-3.1 as main active version, so that the python updater rebuilds your packages against it? And probably this is in Unsupported Software because removing 2.x is not officially supported (yet).
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Sat Dec 18, 2010 7:40 am    Post subject: Re: Is it safe to let depclean remove python 2.6 at this poi Reply with quote

I'm afraid, we're talking at cross-purposes.

andrewthomas wrote:
I have 3.1, 2.7 & 2.6 installed. Is it now safe to select python 2.7 as my main version and unmerge 2.6?


AFAIK choosing 3.1 as the main active version would be no good idea. ;)
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Sat Dec 18, 2010 11:29 am    Post subject: Re: Is it safe to let depclean remove python 2.6 at this poi Reply with quote

Uli Sing wrote:
AFAIK choosing 3.1 as the main active version would be no good idea. ;)

Ah, I see. Sorry.
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Sat Dec 18, 2010 4:14 pm    Post subject: Reply with quote

No problem.

Is there something like
Code:
python-cleaner all

or
Code:
pythonfixer


? ;)
Back to top
View user's profile Send private message
Uli Sing
Apprentice
Apprentice


Joined: 03 May 2010
Posts: 197
Location: MUC

PostPosted: Sat Dec 18, 2010 5:07 pm    Post subject: Reply with quote

Of course there isn't...

Looks like I'm not the only one who's affected:

https://bugs.gentoo.org/show_bug.cgi?id=239262
https://bugs.gentoo.org/show_bug.cgi?id=347861

I feel much better now. :D
Back to top
View user's profile Send private message
andrewthomas
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2010
Posts: 93

PostPosted: Sun Dec 19, 2010 4:40 pm    Post subject: Reply with quote

Everything went well for me, except that I had to remove the python use flag for dev-lang/yasm.

https://bugs.gentoo.org/show_bug.cgi?id=348587

and I had to create a symlink for dev-python/sexy-python

Code:
ln -s /usr/include/gdk-pixbuf-2.0/gdk-pixbuf /usr/include/gdk-pixbuf


https://bugs.gentoo.org/show_bug.cgi?id=347183
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum