Fix produce_latex_macro with Python 3.13 #17291
Annotations
8 errors and 5 warnings
Failed example::
src/sage/misc/latex_macros.py#L60
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 716, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1137, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.latex_macros.produce_latex_macro[1]>", line 1, in <module>
produce_latex_macro('ZZ')
File "/sage/src/sage/misc/latex_macros.py", line 94, in produce_latex_macro
exec('from ' + module + ' import ' + real_name, locals = loc)
TypeError: exec() takes no keyword arguments
|
Failed example::
src/sage/misc/latex_macros.py#L69
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 716, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1137, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.latex_macros.produce_latex_macro[2]>", line 1, in <module>
produce_latex_macro('GF', Integer(37))
File "/sage/src/sage/misc/latex_macros.py", line 94, in produce_latex_macro
exec('from ' + module + ' import ' + real_name, locals = loc)
TypeError: exec() takes no keyword arguments
|
Failed example::
src/sage/misc/latex_macros.py#L75
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 716, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1137, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.latex_macros.produce_latex_macro[3]>", line 1, in <module>
produce_latex_macro('sage.rings.finite_rings.finite_field_constructor.FiniteField', Integer(3))
File "/sage/src/sage/misc/latex_macros.py", line 94, in produce_latex_macro
exec('from ' + module + ' import ' + real_name, locals = loc)
TypeError: exec() takes no keyword arguments
|
Failed example::
src/sage/misc/latex_macros.py#L196
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 716, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1137, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.latex_macros.sage_latex_macros[1]>", line 1, in <module>
sage_latex_macros()
File "/sage/src/sage/misc/latex_macros.py", line 199, in sage_latex_macros
return [produce_latex_macro(*x) for x in macros] + latex_macros + sage_configurable_latex_macros
File "/sage/src/sage/misc/latex_macros.py", line 199, in <listcomp>
return [produce_latex_macro(*x) for x in macros] + latex_macros + sage_configurable_latex_macros
File "/sage/src/sage/misc/latex_macros.py", line 94, in produce_latex_macro
exec('from ' + module + ' import ' + real_name, locals = loc)
TypeError: exec() takes no keyword arguments
|
Failed example::
src/sage/misc/latex_macros.py#L212
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 716, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1137, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.latex_macros.sage_mathjax_macros[1]>", line 1, in <module>
sage_mathjax_macros()
File "/sage/src/sage/misc/latex_macros.py", line 215, in sage_mathjax_macros
return dict(convert_latex_macro_to_mathjax(m) for m in sage_latex_macros())
File "/sage/src/sage/misc/latex_macros.py", line 199, in sage_latex_macros
return [produce_latex_macro(*x) for x in macros] + latex_macros + sage_configurable_latex_macros
File "/sage/src/sage/misc/latex_macros.py", line 199, in <listcomp>
return [produce_latex_macro(*x) for x in macros] + latex_macros + sage_configurable_latex_macros
File "/sage/src/sage/misc/latex_macros.py", line 94, in produce_latex_macro
exec('from ' + module + ' import ' + real_name, locals = loc)
TypeError: exec() takes no keyword arguments
|
test-new
Process completed with exit code 1.
|
coverage-report
buildx failed with: ERROR: failed to solve: process "/bin/sh -c make SAGE_SPKG=\"sage-spkg -y -o\" ${USE_MAKEFLAGS} ${TARGETS}" did not complete successfully: exit code: 2
|
coverage-report
Process completed with exit code 125.
|
test-new
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-new
The process '/usr/bin/git' failed with exit code 128
|
test-new
fatal: no submodule mapping found in .gitmodules for path 'subprojects/factory'
|
coverage-report
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
coverage-report
The process '/usr/bin/git' failed with exit code 128
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
sagemath~sage~KGNXGF.dockerbuild
|
115 KB |
|
sagemath~sage~Z34AFN.dockerbuild
|
61.3 KB |
|