#11575: Update PolyBoRi to release 0.8.0
-------------------------------+--------------------------------------------
Reporter: AlexanderDreyer | Owner: AlexanderDreyer
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-pending
Component: packages | Keywords:
Work_issues: | Upstream: None of the above - read trac
for reasoning.
Reviewer: Martin Albrecht | Author: Alexander Dreyer
Merged: | Dependencies: #11574, #9138
-------------------------------+--------------------------------------------
Changes (by malb):
* status: needs_review => needs_work
* work_issues: cython-0.15.1 =>
Comment:
Something seems to have gone wrong with the rebased patch:
I
* took a fresh 4.7.2,
* installed polybori-0.8.0.p1.spkg and
* applied [attachment:polybori-0.8.0.p1.patch]
This gave me a few hunks and one conflict in !PolynomialConstruct which I
fixed. While it now compiles I get these failures:
{{{
File
"/opt/sage-4.7.2-polybori-0.8/devel/sage/sage/rings/polynomial/pbori.pyx",
line 3859:
sage: loads(dumps(a)) == a
Exception raised:
Traceback (most recent call last):
...
AttributeError: ('sage.rings.polynomial.pbori.BooleanPolynomialRing'
object has no attribute '_element_constructor_', <built-in function
unpickle_BooleanPolynomial0>, (Boolean PolynomialRing in a, b, ([[2],
[{{a}}]], Boolean PolynomialRing in a, b)))
**********************************************************************
File
"/opt/sage-4.7.2-polybori-0.8/devel/sage/sage/rings/polynomial/pbori.pyx",
line 4487:
sage: PolynomialConstruct()(1)
Exception raised:
Traceback (most recent call last):
...
ValueError: incomplete format
**********************************************************************
File
"/opt/sage-4.7.2-polybori-0.8/devel/sage/sage/rings/polynomial/pbori.pyx",
line 7445:
sage: loads(dumps(a+b)) == a+b # indirect doctest
Exception raised:
Traceback (most recent call last):
...
AttributeError: ('sage.rings.polynomial.pbori.BooleanPolynomialRing'
object has no attribute '_element_constructor_', <built-in function
unpickle_BooleanPolynomial0>, (Boolean PolynomialRing in a, b, c, d,
([[2], [{{a}, {b}}, {{b}}]], Boolean PolynomialRing in a, b, c, d)))
**********************************************************************
File
"/opt/sage-4.7.2-polybori-0.8/devel/sage/sage/rings/polynomial/pbori.pyx",
line 7459:
sage: loads(dumps(a+b)) == a+b # indirect doctest
Exception raised:
Traceback (most recent call last):
...
AttributeError: ('sage.rings.polynomial.pbori.BooleanPolynomialRing'
object has no attribute '_element_constructor_', <built-in function
unpickle_BooleanPolynomial0>, (Boolean PolynomialRing in a, b, c, d,
([[2], [{{a}, {b}}, {{b}}]], Boolean PolynomialRing in a, b, c, d)))
**********************************************************************
}}}
So something went wrong and Alexander's element_constructor fixes didn't
make it into this patch?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11575#comment:138>
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.