#16583: Clean up FLINT declarations
-------------------------------------+-------------------------------------
Reporter: malb | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: basic arithmetic | Resolution:
Keywords: sd59 | Merged in:
Authors: Martin Albrecht | Reviewers: Jeroen Demeyer
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/16583 | b3d6aa2c24defa7cd22675f5540659b07a25401c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
Some doctests still import `fmpq_poly.pxd`:
{{{
sage -t --long src/sage/misc/cython.py
**********************************************************************
File "src/sage/misc/cython.py", line 254, in sage.misc.cython.pyx_preparse
Failed example:
module = sage.misc.cython.import_test("trac11680") # long time (7s on
sage.math, 2012)
Exception raised:
Traceback (most recent call last):
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 480, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 843, in compile_and_execute
exec compiled in globs
File "<doctest sage.misc.cython.pyx_preparse[9]>", line 1, in
<module>
module = sage.misc.cython.import_test("trac11680") # long time
(7s on sage.math, 2012)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/misc/cython.py", line 805, in import_test
return compile_and_load(TESTS[name])
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/misc/cython.py", line 757, in compile_and_load
return cython_import(file, create_local_c_file=False)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/server/support.py", line 447, in cython_import
**kwds)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/misc/cython.py", line 493, in cython
raise RuntimeError("Error converting {} to
C:\n{}\n{}".format(filename, log, err))
RuntimeError: Error converting /home/buildslave-
sage/slave/sage_git/dot_sage/temp/desktop/29631/tmp_i0rQYs.pyx to C:
Error compiling Cython file:
------------------------------------------------------------
...
#cinclude $SAGE_SRC/sage/libs/flint $SAGE_LOCAL/include/FLINT
#clib flint
from sage.rings.rational cimport Rational
from sage.rings.polynomial.polynomial_rational_flint cimport
Polynomial_rational_flint
from sage.libs.flint.fmpq_poly cimport (fmpq_poly_get_coeff_mpq,
fmpq_poly_set_coeff_mpq,
^
------------------------------------------------------------
_home_buildslave_sage_slave_sage_git_dot_sage_temp_desktop_29631_tmp_i0rQYs_pyx_0.pyx:13:0:
'sage.libs.flint.fmpq_poly.pxd' not found
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16583#comment:21>
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.
For more options, visit https://groups.google.com/d/optout.