#9958: Upgrade python to 2.7.x
---------------------------+------------------------------------------------
   Reporter:  mhampton     |          Owner:  tbd            
       Type:  enhancement  |         Status:  needs_work     
   Priority:  major        |      Milestone:  sage-5.0       
  Component:  packages     |       Keywords:                 
Work_issues:               |       Upstream:  N/A            
   Reviewer:               |         Author:  François Bissey
     Merged:               |   Dependencies:  #11986         
---------------------------+------------------------------------------------

Old description:

> From the release notes:
>
> Python 2.7.2 was released on June 11th, 2011.
>
> The Python 2.7 series is scheduled to be the last major version in the
> 2.x series before 2.x moves into an extended maintenance period. The 2.7
> series 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) (until #9906 gets merged)
>  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]
>
> Fixes #1159
>
> New spkg: [http://spkg-upload.googlecode.com/files/python-2.7.1.spkg]
>
> Apply:
>  * [attachment:trac_9958-fixing_numericalnoise-part1_p1.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-fix_transcendental.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_p1.patch]
>  * [attachment:trac_9958-fix-misc_cythonpy.patch]
>  * [attachment:trac_9958-e_one_star.patch]
>  * [attachment:trac_9958-symbolic_callable.patch]
>  * [attachment:trac_9958-finite_crystals.patch]
>  * [attachment:trac_9958-fix-real_mpfr.patch]
>  * [attachment:trac_9958-32_64bit_messages.patch]
>  * [attachment:trac_9958_junk_valueerror.patch]
>  * [attachment:trac_9958_enumerate64bit.patch]

New description:

 From the release notes:

 Python 2.7.2 was released on June 11th, 2011.

 The Python 2.7 series is scheduled to be the last major version in the 2.x
 series before 2.x moves into an extended maintenance period. The 2.7
 series 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) (until #9906 gets merged)
  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]

 Fixes #1159

 New spkg: [http://spkg-upload.googlecode.com/files/python-2.7.1.spkg]

 Apply:
  * [attachment:trac_9958-fixing_numericalnoise-part1_p1.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-fix_transcendental.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_p1.patch]
  * [attachment:trac_9958-fix-misc_cythonpy.patch]
  * [attachment:trac_9958-e_one_star.patch]
  * [attachment:trac_9958-symbolic_callable.patch]
  * [attachment:trac_9958-finite_crystals.patch]
  * [attachment:trac_9958-fix-real_mpfr.patch]
  * [attachment:trac_9958-32_64bit_messages.patch]
  * [attachment:trac_9958_junk_valueerror.patch]

--

Comment(by fbissey):

 All right. Very busy week so far. I am removing the last patch and will
 spin it in a separate ticket because Steve did more testing and it appears
 that the test is somewhat random and was only working everywhere the same
 with python 2.6 by sheer luck.

 Steve had a few interesting suggestions for replacing the test but that's
 clearly another ticket on which we'll forward people who touched that file
 for comments.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:147>
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.

Reply via email to