#14600: Update to Python-2.7.5
--------------------------------------+-------------------------------------
       Reporter:  vbraun              |         Owner:  jdemeyer      
           Type:  enhancement         |        Status:  needs_work    
       Priority:  major               |     Milestone:  sage-5.10     
      Component:  packages: standard  |    Resolution:                
       Keywords:                      |   Work issues:                
Report Upstream:  N/A                 |     Reviewers:  Leif Leonhardy
        Authors:  Volker Braun        |     Merged in:                
   Dependencies:                      |      Stopgaps:                
--------------------------------------+-------------------------------------
Changes (by jdemeyer):

  * status:  positive_review => needs_work


Comment:

 On `iras`:
 {{{
 Testing importing of various modules...
 ctypes module imported OK
 math module imported OK
 ERROR:root:code for hash md5 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type md5
 ERROR:root:code for hash sha1 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha1
 ERROR:root:code for hash sha224 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha224
 ERROR:root:code for hash sha256 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha256
 ERROR:root:code for hash sha384 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha384
 ERROR:root:code for hash sha512 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python2.7/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha512
 hashlib module imported OK
 crypt module imported OK
 readline module imported OK
 socket module imported OK
 }}}
 This causes a build failure with various Python packages, for example
 `setuptools`:
 {{{
 setuptools-0.6.16.p0
 ====================================================
 Extracting package
 
/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/standard/setuptools-0.6.16.p0.spkg
 -rw-r--r-- 1 buildbot sage 1126400 May 17 07:00
 
/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/standard/setuptools-0.6.16.p0.spkg
 Finished extraction
 ****************************************************
 Host system:
 Linux iras 2.6.16.46-0.12-default #1 SMP Thu May 17 14:00:09 UTC 2007 ia64
 ia64 ia64 GNU/Linux
 ****************************************************
 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=gcc
 
COLLECT_LTO_WRAPPER=/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/libexec/gcc/ia64
 -unknown-linux-gnu/4.7.3/lto-wrapper
 Target: ia64-unknown-linux-gnu
 Configured with: ../src/configure
 --prefix=/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local
 --with-local-
 prefix=/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local
 --with-
 gmp=/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local
 --with-
 mpfr=/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local
 --with-
 mpc=/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local
 --with-system-zlib --disable-multilib --disable-nls
 Thread model: posix
 gcc version 4.7.3 (GCC)
 ****************************************************
 patching file setup.py
 patching file pkg_resources.py
 patching file setuptools/command/bdist_egg.py
 patching file setuptools/command/build_ext.py
 patching file setuptools/command/easy_install.py
 ERROR:root:code for hash md5 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type md5
 ERROR:root:code for hash sha1 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha1
 ERROR:root:code for hash sha224 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha224
 ERROR:root:code for hash sha256 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha256
 ERROR:root:code for hash sha384 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha384
 ERROR:root:code for hash sha512 was not found.
 Traceback (most recent call last):
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 139, in <module>
     globals()[__func_name] = __get_hash(__func_name)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/hashlib.py",
 line 91, in __get_builtin_constructor
     raise ValueError('unsupported hash type ' + name)
 ValueError: unsupported hash type sha512
 Before install bootstrap.
 Scanning installed packages
 No setuptools distribution found
 running install
 Traceback (most recent call last):
   File "setup.py", line 210, in <module>
     scripts = scripts,
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/distutils/core.py",
 line 152, in setup
     dist.run_commands()
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/distutils/dist.py",
 line 953, in run_commands
     self.run_command(cmd)
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/distutils/dist.py",
 line 972, in run_command
     cmd_obj.run()
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/build/setuptools-0.6.16.p0/src/setuptools/command/install.py",
 line 73, in run
     self.do_egg_install()
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/build/setuptools-0.6.16.p0/src/setuptools/command/install.py",
 line 82, in do_egg_install
     easy_install = self.distribution.get_command_class('easy_install')
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/build/setuptools-0.6.16.p0/src/setuptools/dist.py",
 line 361, in get_command_class
     self.cmdclass[command] = cmdclass = ep.load()
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/build/setuptools-0.6.16.p0/src/pkg_resources.py",
 line 1955, in load
     entry = __import__(self.module_name, globals(),globals(),
 ['__name__'])
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/build/setuptools-0.6.16.p0/src/setuptools/command/easy_install.py",
 line 38, in <module>
     from setuptools.package_index import PackageIndex
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/spkg/build/setuptools-0.6.16.p0/src/setuptools/package_index.py",
 line 10, in <module>
     from md5 import md5
   File
 
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.10.beta4/local/lib/python/md5.py",
 line 10, in <module>
     from hashlib import md5
 ImportError: cannot import name md5
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14600#comment:26>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to