[Debian-science-sagemath] Sage broken with Python 2.7.13~rc1-1

Jerome BENOIT calculus at rezozer.net
Wed Dec 7 19:12:26 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Forum,

On 07/12/16 09:39, Tobias Hansen wrote:
> I started a thread on sage-devel:
> https://groups.google.com/forum/#!topic/sage-devel/IbugChsM26E
> 
> Until now, no solution. If you want to work on something else than
> helping on this one right now, I suggest you downgrade your python2.7
> packages. So that we don't get stalled completely..

I have just deposited python2.7.12-7 (rebuild from source) material in deb-sci-sage.


hth,
Jerome

> 
> Best,
> Tobias
> 
> On 12/06/2016 06:11 PM, Tobias Hansen wrote:
>> Actually forget my last mail. It seems to be Issue #5322. In the commit
>> there is this new comment in Objects/typeobject.c:
>>
>>                     /* Seems to be unsafe, better use
>>                        slot_tp_new which will call
>>                        tp_new_wrapper which will raise an
>>                        exception if it is unsafe. */
>>
>> Something like that seems to happen.
>>
>> On 12/06/2016 05:53 PM, Ximin Luo wrote:
>>> Ouch, nice catch. I actually did notice that a new version of python had been uploaded by running `debian/show-deps.sh by-date` but ignored it because "oh it can't possibly be a python bug". I guess it's worth paying attention to the output of that for the future.
>>>
>>> X
>>>
>>> Tobias Hansen:
>>>> Actually it looks more related to https://bugs.python.org/issue24469
>>>>
>>>> From the changelog:
>>>> Issue #24469: Fixed memory leak caused by int subclasses without
>>>> overridden tp_free (e.g. C-inherited Cython classes).
>>>>
>>>> And our error happens at tp_free in sage/misc/classcall_metaclass.pyx
>>>>
>>>> On 12/06/2016 05:32 PM, Tobias Hansen wrote:
>>>>> Hi all,
>>>>>
>>>>> there was an update to python2.7 on Sunday that unfortunately broke
>>>>> building or even running sage. The error one gets is this:
>>>>>
>>>>> TypeError: sage.misc.fast_methods.WithEqualityById.__new__(UnknownClass)
>>>>> is not safe, use object.__new__()
>>>>>
>>>>> In the changelog it of python2.7 there is this entry:
>>>>> Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
>>>>>
>>>>> leading to this bug report:
>>>>> https://bugs.python.org/issue5322
>>>>>
>>>>> I just found this, just wanted to let you know why nothing works.
>>>>>
>>>
>>
>>
>> _______________________________________________
>> Debian-science-sagemath mailing list
>> Debian-science-sagemath at lists.alioth.debian.org
>> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
>>
> 
> 
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
> 

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----

iQQcBAEBCgAGBQJYSF8aAAoJED+SGaZ/NsaLclYf/R+QqKlA/M1huR8j3UYlptbv
CHgqEmgjq6VAWeEtch+o7N4XByezRmlOyN+MZknsrlPqyD6Dakxpcz1We9qeOGMH
QafAJ8YAE/mdHKn0rI3wWeeCq8emINqRQtWF1IMAxXxHKDS0CkrWbg2fQoqC7/Jy
S1L65yrpu7meF3RZc+j8RP8mSokT5FUPYzgYJOiNC7pBapreYgBMwvwQ4VXGI3uS
d+NrG4SdEwN555y4isx0M0dab9StUaVnCY9NjHtQAlYzrSb76kJqw7sD4S+9IyhJ
Cv0r5oqEBT4unH/1V98cP3BnXka5UZLwL+R194TcHNfQxXLPE3EJ/rGLrOEKS1p6
ZKurziLXDQxKQHwjUpqMZmCWtBB37RQbPOQIGxQUzBKe29WeXvUYxuBVGPJ9V52I
UsdlxHLpyAoCv3PDLnDULKvXr9gUMks1Qa7AzvI1n/uFi9hUGRE2fk9ZylCQ1Okw
HN6aJYBrp+uWuIVkyCStDvbhQcM/hf7JD0nXmlDNLntNIs4RBd6no4V8/Es2lzeY
ojoyAUtMlhWYgRt1OyajpYExeeKPy51ktL7cok23QU5fKHoWwx+c2li8aKEAYElm
ONv+i8gQHQ+p0VE+b8rQFLweBcEB1z3Edg37Bi6EDsJHvyO4mrNyK3n+kGtpnp4L
RKw33EXNTw5wshTK5xnEp7MbgEX0B1uFXigve5AHCWJIBpzt9bnbNdt4f/5eO1SL
uYxv4O4LTVLsomLeEX2lyETTwspbqmBgYwPEQfGWL4conqw6WTnNuNJ6PKMBY8FZ
nHX5J8KZzwe7/fvOTQmtVtgd7LDqWwAJH7Oj3MHDC5ebrJRO+F3zwgILG56I+mZ8
Qd5VaUZ+QYG2MAa1hdi1cbBAFfwPh3SphWODHg4TrFFoxmT6M8v8KPb6Qou6RSDG
jv7EPCVOGtIpm2jsXx6spDk+6UastyT06cA15zG+IdP9sgTEbqlq+AGQI5fG1jTw
DzFvLfITeRqTYLIYa0MOcMpUQi+WgkZxRV1gC1zucuCZKMoxz9zoetDlthJvUdhC
l3heQ/976lDXKrtyfgFIMkuFSEiXIR+GpfuHgPVPVzLOm0ipEAOADBtWOlHl1PeF
VrHvsP3vyVGBxfEVbZa1l+f4suF16ZkpMvWrf+rBpjEQ3Rq9H84einpVq3ezp/j/
uS/wPVVYUQ8vaUXMISCcyr5ZvsfgiqG0UDuBMVPhBa9DgHhu6LDeq7Rt5lHd3wH2
K54N4C3NdSnp1zJ3zLipfhevn88EIhQxTLO39TAK329nvsWrxTg3cfvOqOXd8MVD
UJh2WBJyekP/4bFdrpCgYBFyJTWwxU4SX54p3vYibTItcizmzwenjHnRXTLaNaM=
=8cYV
-----END PGP SIGNATURE-----



More information about the Debian-science-sagemath mailing list