#9958: Upgrade python to 2.7
---------------------------+------------------------------------------------
Reporter: mhampton | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone:
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by fbissey):
Build sage-4.6.2 (and dependency) against python-2.7.1 on OS X. I get a
lot of the following
{{{
Expected nothing
Got:
Failure in _test_pickling:
Traceback (most recent call last):
File "/Users/frb15/Desktop/Gentoo/usr/lib/python2.7/site-
packages/sage/misc/sage_unittest.py", line 275, in run
test_method(tester = tester)
File "/Users/frb15/Desktop/Gentoo/usr/lib/python2.7/site-
packages/sage/misc/sage_unittest.py", line 498, in _test_pickling
tester.assertEqual(loads(dumps(self._instance)), self._instance)
File
"/Users/frb15/Desktop/Gentoo/usr/lib/python2.7/unittest/case.py", line
493, in assertEqual
assertion_func = self._getAssertEqualityFunc(first, second)
File
"/Users/frb15/Desktop/Gentoo/usr/lib/python2.7/unittest/case.py", line
476, in _getAssertEqualityFunc
asserter = self._type_equality_funcs.get(type(first))
AttributeError: 'InstanceTester' object has no attribute
'_type_equality_funcs'
------------------------------------------------------------
}}}
I patched python with the cpickle patch. Any ideas?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9958#comment:10>
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.