Skip to content

Fix one more doctest failure with Python 3.14#41394

Merged
vbraun merged 1 commit intosagemath:developfrom
antonio-rojas:python-3.14-tests
Jan 6, 2026
Merged

Fix one more doctest failure with Python 3.14#41394
vbraun merged 1 commit intosagemath:developfrom
antonio-rojas:python-3.14-tests

Conversation

@antonio-rojas
Copy link
Copy Markdown
Member

Seems to have been missed in #41086

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 4, 2026

Documentation preview for this PR (built with commit 58aa8c4; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@dkwo
Copy link
Copy Markdown
Contributor

dkwo commented Jan 5, 2026

Are you sure you picked the right commit?

@antonio-rojas
Copy link
Copy Markdown
Member Author

Are you sure you picked the right commit?

yes, why?

@dkwo
Copy link
Copy Markdown
Contributor

dkwo commented Jan 5, 2026

Because your commit here only adds some text, it is different from the commit 5de7542 that you referenced in the other pr.

@antonio-rojas
Copy link
Copy Markdown
Member Author

Because your commit here only adds some text, it is different from the commit 5de7542 that you referenced in the other pr.

Yes, this has nothing to do with 5de7542, it deals with a different test failure.

@cxzhong
Copy link
Copy Markdown
Contributor

cxzhong commented Jan 5, 2026

Yes, It deal with a different doctest issue.

@dkwo
Copy link
Copy Markdown
Contributor

dkwo commented Jan 5, 2026

I see, sorry about the noise. Would you mind pointing out which failure this is fixing?

@cxzhong
Copy link
Copy Markdown
Contributor

cxzhong commented Jan 5, 2026

Yes, It deal with a different doctest issue.

The doctest failure only happens in python 3.14

@dkwo
Copy link
Copy Markdown
Contributor

dkwo commented Jan 5, 2026

I understand that, this is also what I am using on Void.

@antonio-rojas
Copy link
Copy Markdown
Member Author

I see, sorry about the noise. Would you mind pointing out which failure this is fixing?

**********************************************************************
File "/usr/lib/python3.14/site-packages/sage/doctest/test.py", line 257, in sage.doctest.test
Failed example:
    subprocess.call(["python3", "-m", "sage.doctest", "--warn-long", "0",    # long time
         "--random-seed=0", "--optional=sage", "interrupt.rst"], **kwds)
Expected:
    Running doctests...
    Doctesting 1 file.
    Killing test interrupt.rst
    ----------------------------------------------------------------------
    Doctests interrupted: 0/1 files tested
    ----------------------------------------------------------------------
    ...
    128
Got:
    Running doctests with ID 2026-01-04-21-20-23-b588b383.
    Running with SAGE_LOCAL='/usr'
    Using --optional=sage
    Features to be detected: 32_bit,4ti2,benzene,bliss,buckygen,conway_polynomials,coxeter3,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_ellcurves,database_graphs,database_jones_numfield,database_knotinfo,dot2tex,dvipng,ecm,flatter,fpylll,fricas,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polenta,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,giac,glucose,graphviz,imagemagick,info,ipython,jmol,jupymake,jupyter_sphinx,kenzo,khoca,kissat,latte_int,lrcalc_python,lrslib,mathics,matroid_database,mcqd,meataxe,meson_editable,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pycosat,pycryptosat,pynormaliz,pyparsing,python_igraph,regina,requests,rpy2,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.giac,sage.libs.homfly,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sirocco,sloane_database,sphinx,symengine_py,sympy,tdlib,threejs,topcom
    Doctesting 1 file.
    ----------------------------------------------------------------------
    Doctests interrupted: 0/1 files tested
    ----------------------------------------------------------------------
    Total time for all tests: 0.0 seconds
        cpu time: 0.0 seconds
        cumulative wall time: 0.0 seconds
    Features detected for doctesting: 
    128
**********************************************************************

@vbraun vbraun merged commit 34ba69b into sagemath:develop Jan 6, 2026
22 of 24 checks passed
@antonio-rojas antonio-rojas deleted the python-3.14-tests branch January 7, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants