View previous topic :: View next topic |
Author |
Message |
meteozwh n00b
Joined: 27 May 2003 Posts: 46
|
Posted: Thu May 27, 2010 1:41 am Post subject: Python 3.1 is stable? |
|
|
As title.
Is it safe to upgrade to python 3.1? |
|
Back to top |
|
|
meteozwh n00b
Joined: 27 May 2003 Posts: 46
|
Posted: Thu May 27, 2010 2:37 am Post subject: |
|
|
OK
I just find there is a piece of news about it. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu May 27, 2010 3:02 am Post subject: |
|
|
Indeed, it's there but, I don't use it on my box. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu May 27, 2010 12:30 pm Post subject: |
|
|
What news are you referring to? Code: | ceres ~ # equery list -p -e python
[ Searching for package 'python' in all categories among: ]
* installed packages
[I--] [ ] dev-lang/python-2.6.4-r1 (2.6)
* Portage tree (/usr/portage)
[-P-] [ ] dev-lang/python-2.4.6 (2.4)
[-P-] [ ] dev-lang/python-2.5.4-r4 (2.5)
[-P-] [M~] dev-lang/python-2.6.5-r2 (2.6)
[-P-] [M~] dev-lang/python-3.1.2-r3 (3.1)
| Still masked as of this AM.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
platojones Veteran
Joined: 23 Oct 2002 Posts: 1602 Location: Just over the horizon
|
Posted: Thu May 27, 2010 12:32 pm Post subject: |
|
|
It was put into stable yesterday. It's slotted though, so as long as you don't make it your system python interpreter, it should be fine.
Code: |
eix dev-lang/python
[I] dev-lang/python
Available versions:
(2.4) 2.4.6
(2.5) 2.5.4-r4
(2.6) 2.6.4-r1 2.6.5-r2
(3.1) 3.1.2-r3
{-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml}
Installed versions: 2.6.5-r2(2.6)(11:07:44 AM 05/22/2010)(berkdb doc gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -build -elibc_uclibc -examples -wininst) 3.1.2-r3(3.1)(05:26:33 AM 05/27/2010)(doc gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml -build -elibc_uclibc -examples -wininst)
Homepage: http://www.python.org/
Description: Python is an interpreted, interactive, object-oriented programming language.
|
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu May 27, 2010 1:47 pm Post subject: |
|
|
Okay. Must not've made it to all the mirrors yet as I sync'd right before I posted.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Thu May 27, 2010 4:17 pm Post subject: |
|
|
It showed up for me on the daily sync, I masked it and decided to check the forum for any problems before installing it. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Thu May 27, 2010 6:43 pm Post subject: |
|
|
I let it go on this morning, seeing that it showed up as "NS" and I remembered seeing something about "eselect python". I figured that like gcc, it would install and be available, but not defaulted. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
meteozwh n00b
Joined: 27 May 2003 Posts: 46
|
Posted: Fri May 28, 2010 12:38 am Post subject: |
|
|
Here is the gentoo news, just do as it says will be ok:
# eselect news read 10
2010-03-25-python-3.1
Title Python 3.1
Author Arfrever Frehtes Taifersar Arahesis <Arfrever@gentoo.org>
Posted 2010-03-25
Revision 1
Python 3 is a new major version of Python and is intentionally incompatible
with Python 2. Many external modules have not been ported yet to Python 3,
so Python 2 still needs to be installed. You can benefit from having Python 3
installed without setting Python 3.1 as main active version of Python.
Currently you should not set Python 3.1 as main active version of Python.
When setting it becomes recommended, a separate news item will be created
to notify users.
Although Python 3.1 should not be set as main active version of Python,
you should run python-updater after installation of Python 3.1. By default,
modules that support both Python 2 and Python 3 are installed for both
the active version of Python 2 and the active version of Python 3 when both
Python 2 and Python 3 are installed.
It is recommended to use a UTF-8 locale to avoid potential problems. Especially
C and POSIX locales are discouraged. If locale has not been explicitly set,
then POSIX locale is used, so you should ensure that locale has been set.
Problems occurring only with non-UTF-8 locales should be reported directly
to upstream developers of given packages.
See http://www.gentoo.org/doc/en/utf-8.xml for more information about UTF-8. |
|
Back to top |
|
|
|