Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python 3 and portage
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
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Tue Aug 24, 2010 5:10 pm    Post subject: python 3 and portage Reply with quote

Is portage working with python3 now?

I had some problems six months ago and I had masked python3. I am wondering if portage and most of the python packages are now working with python3. What's people's experience with python3?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7059

PostPosted: Tue Aug 24, 2010 6:30 pm    Post subject: Reply with quote

as soon as everything will work with python3 you can bet python2 will be remove, so as soon as this happen you'll fire the "all package that ... are mask" so why care, just wait the error :)
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Wed Aug 25, 2010 12:20 am    Post subject: Reply with quote

The thing is, in my tests, python3 is 35% faster than python2 in math operations (compiled with same compiler and headers and dependent libs and same hardware). So, that's a significant amount of speed up. I want to see if that translates into faster portage.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7059

PostPosted: Wed Aug 25, 2010 12:40 am    Post subject: Reply with quote

oh, unmask it so, python3 is slotted and live well with python2 on gentoo. You could try after any --sync so
Code:
eselect python list
Available Python interpreters:
  [1]   python2.6 *
  [2]   python3.1
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Wed Aug 25, 2010 2:29 am    Post subject: Reply with quote

Code:
 * The following 9 packages have failed to build or install:
 *
 *  (sys-libs/libselinux-2.0.85, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sys-libs/libselinux-2.0.85/temp/build.log'
 *  (sys-libs/tdb-1.2.1-r1, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sys-libs/tdb-1.2.1-r1/temp/build.log'
 *  (dev-python/urlgrabber-3.9.1, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-python/urlgrabber-3.9.1/temp/build.log'
 *  (gnome-base/gnome-menus-2.30.2-r1, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/temp/build.log'
 *  (net-libs/gtk-vnc-0.4.1, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-libs/gtk-vnc-0.4.1/temp/build.log'
 *  (x11-libs/vte-0.24.3, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log'
 *  (app-pda/libplist-1.3, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/app-pda/libplist-1.3/temp/build.log'
 *  (sys-devel/distcc-3.1-r4, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sys-devel/distcc-3.1-r4/temp/build.log'
 *  (dev-libs/libgweather-2.30.2, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-libs/libgweather-2.30.2/temp/build.log'
Lot of breakage with python3...I guess I am staying with python2 for a while.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Wed Aug 25, 2010 7:59 pm    Post subject: Reply with quote

portage has python3 useflag, did you enable it?
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Wed Aug 25, 2010 8:09 pm    Post subject: Reply with quote

unK wrote:
portage has python3 useflag, did you enable it?
yup.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Thu Aug 26, 2010 6:39 pm    Post subject: Reply with quote

these breakages occurred after you enabled this useflag?
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Thu Aug 26, 2010 7:23 pm    Post subject: Reply with quote

unK wrote:
these breakages occurred after you enabled this useflag?
no. After I tried to use python3 as my python and did a python-updater run.
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