#9958: Upgrade python to 2.7
---------------------------+------------------------------------------------
Reporter: mhampton | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone:
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Old description:
> From the release notes:
>
> Python 2.7 was released on July 3rd, 2010.
>
> Python 2.7 is scheduled to be the last major version in the 2.x series
> before it moves into an extended maintenance period. This release
> contains many of the features that were first released in Python 3.1.
> Improvements in this release include:
>
> * An ordered dictionary type
> * New unittest features including test skipping, new assert methods,
> and test discovery
> * A much faster io module
> * Automatic numbering of fields in the str.format() method
> * Float repr improvements backported from 3.x
> * Tile support for Tkinter
> * A backport of the memoryview object from 3.x
> * Set literals
> * Set and dictionary comprehensions
> * Dictionary views
> * New syntax for nested with statements
> * The sysconfig module
>
> List of spkg that will need an artificial bump (or a real one) for
> upgrade to go smoothly (feel free to amend if I forgot something):
> 1. cvxopt
> 1. cython
> 1. docutils
> 1. gdmodule
> 1. ipython
> 1. jinja2
> 1. matplotlib
> 1. mercurial
> 1. moin
> 1. mpmath
> 1. networkx
> 1. numpy
> 1. pexpect
> 1. pil
> 1. polybori?
> 1. pycrypto
> 1. pygments
> 1. pynac
> 1. python_gnutls
> 1. r (because rpy is contained inside)
> 1. sagenb
> 1. sagetex
> 1. scipy
> 1. scons
> 1. setuptools
> 1. sphinx
> 1. sqlalchemy
> 1. sympy
> 1. twisted
> 1. zodb3
>
> Depends on #11156 #11236 #11244 #11264 #11339 #11363
>
> New spkg: [http://spkg-upload.googlecode.com/files/python-2.7.1.spkg]
>
> Apply:
> * [attachment:trac_9958-fixing_numericalnoise-part1.patch]
> * [attachment:trac_9958-fixing_numericalnoise-part2.patch]
> * [attachment:trac_9958-fixing_numericalnoise-part3.patch]
> * [attachment:trac_9958-fixing_numericalnoise-part4.patch]
> * [attachment:trac_9958-fixing_colorspy.patch]
> * [attachment:trac_9958-fix-list_index.patch]
> * [attachment:trac_9958-fix-pureAssertError.patch]
> * [attachment:trac_9958-sage_unittest.patch]
> * [attachment:trac_9958-mixedfix.patch]
> * [attachment:trac_9958-build_setuppy.patch]
> * [attachment:trac_9958-build-sage_clib.patch]
> * [attachment:trac_9958-build_misc_cythonpy.patch]
> * [attachment:trac_9958-build_module_listpy.patch]
New description:
From the release notes:
Python 2.7 was released on July 3rd, 2010.
Python 2.7 is scheduled to be the last major version in the 2.x series
before it moves into an extended maintenance period. This release contains
many of the features that were first released in Python 3.1. Improvements
in this release include:
* An ordered dictionary type
* New unittest features including test skipping, new assert methods,
and test discovery
* A much faster io module
* Automatic numbering of fields in the str.format() method
* Float repr improvements backported from 3.x
* Tile support for Tkinter
* A backport of the memoryview object from 3.x
* Set literals
* Set and dictionary comprehensions
* Dictionary views
* New syntax for nested with statements
* The sysconfig module
List of spkg that will need an artificial bump (or a real one) for upgrade
to go smoothly (feel free to amend if I forgot something):
1. cvxopt
1. cython
1. docutils
1. gdmodule
1. ipython
1. jinja2
1. matplotlib
1. mercurial
1. moin
1. mpmath
1. networkx
1. numpy
1. pexpect
1. pil
1. polybori?
1. pycrypto
1. pygments
1. pynac
1. python_gnutls
1. r (because rpy is contained inside)
1. sagenb
1. sagetex
1. scipy
1. setuptools
1. sphinx
1. sqlalchemy
1. sympy
1. twisted
1. zodb3
[scons will work with either python-2.6 or 2.7 without needing a rebuild]
Depends on #11156 #11236 #11244 #11264 #11339 #11363 #11376
Optional #11377
New spkg: [http://spkg-upload.googlecode.com/files/python-2.7.1.spkg]
Apply:
* [attachment:trac_9958-fixing_numericalnoise-part1.patch]
* [attachment:trac_9958-fixing_numericalnoise-part2.patch]
* [attachment:trac_9958-fixing_numericalnoise-part3.patch]
* [attachment:trac_9958-fixing_numericalnoise-part4.patch]
* [attachment:trac_9958-fixing_colorspy.patch]
* [attachment:trac_9958-fix-list_index.patch]
* [attachment:trac_9958-fix-pureAssertError.patch]
* [attachment:trac_9958-sage_unittest.patch]
* [attachment:trac_9958-mixedfix.patch]
* [attachment:trac_9958-build_misc_cythonpy.patch]
--
Comment(by fbissey):
I am splitting the ticket again: in #11376 we make sage building system
smart and work out the python version by itself. If we get this in the
next alpha that will make testing easier as you won't need a patched sage
spkg to build against python-2.7.1. One will still need to patch the
doctests afterwards and any other issues but it will build.
In #11377 I put the clean up of module_list.py this is not necessary for
python-2.7.1 per see but it would be a huge favour to me if it was going
in (it makes work on sage-on-gentoo and sage-prefix much easier).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:60>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.