On Debian testing running on core i7 + 16 GB RAM, upgrading from 10.4.beta2
to 10.4.beta4 and running ptestlong gives one permanent failure :
```
----------------------------------------------------------------------
sage -t --long --warn-long 218.4
--random-seed=175611976196568072542094994134200106405
src/sage/misc/cython.py # 3 doctests failed
----------------------------------------------------------------------
```
Standalone re-execution :
```
charpent@zen-book-flip:/usr/local/sage-10$ sage -t --long --warn-long 218.4
--random-seed=175611976196568072542094994134200106405
src/sage/misc/cython.py # 3 doctests failed
Running doctests with ID 2024-05-03-06-40-10-b5c6c314.
Git branch: develop
Git ref: 10.1.beta0-10072-gc4363fc97e
Running with SAGE_LOCAL='/usr/local/sage-10/local' and
SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.11'
Using
--optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,msolve,pip,pysingular,qepcad,saclib,sage,sage_spkg,singular_jupyter,symengine
Features to be detected:
4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_ellcurves,database_graphs,database_jones_numfield,database_knotinfo,dvipng,ecm,fpylll,fricas,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,graphviz,imagemagick,ipython,jmol,jupymake,kenzo,latte_int,lrcalc_python,lrslib,matroid_database,mcqd,meataxe,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pynormaliz,pyparsing,python_igraph,requests,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,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,sphinx,symengine_py,sympy,tdlib,threejs
Doctesting 1 file.
sage -t --long --warn-long 218.4
--random-seed=175611976196568072542094994134200106405
src/sage/misc/cython.py
**********************************************************************
File "src/sage/misc/cython.py", line 137, in sage.misc.cython.?
Failed example:
cython(os.linesep.join(code))
Expected nothing
Got:
cc1plus: warning: ‘-Werror=’ argument
‘-Werror=implicit-function-declaration’ is not valid for C++
**********************************************************************
File "src/sage/misc/cython.py", line 149, in sage.misc.cython.?
Failed example:
cython("# distutils: language = c++\n"+
"from libcpp.vector cimport vector\n"
"cdef vector[int] * v = new vector[int](4)\n")
Expected nothing
Got:
cc1plus: warning: ‘-Werror=’ argument
‘-Werror=implicit-function-declaration’ is not valid for C++
**********************************************************************
File "src/sage/misc/cython.py", line 159, in sage.misc.cython.?
Failed example:
with tempfile.TemporaryDirectory() as d:
os.chdir(d)
with open("test.pyx", 'w') as f:
_ = f.write("# distutils: language = c++\n"
"from libcpp.vector cimport vector\n"
"cdef vector[int] * v = new vector[int](4)\n")
output = sage.misc.cython.cython("test.pyx",
create_local_c_file=True)
os.chdir(orig_cwd)
Expected nothing
Got:
cc1plus: warning: ‘-Werror=’ argument
‘-Werror=implicit-function-declaration’ is not valid for C++
**********************************************************************
1 item had failures:
3 of 22 in sage.misc.cython.?
[44 tests, 3 failures, 12.19 s]
----------------------------------------------------------------------
sage -t --long --warn-long 218.4
--random-seed=175611976196568072542094994134200106405
src/sage/misc/cython.py # 3 doctests failed
----------------------------------------------------------------------
Total time for all tests: 13.2 seconds
cpu time: 2.0 seconds
cumulative wall time: 12.2 seconds
Features detected for doctesting: sage.misc.cython
```
HTH,
Le samedi 27 avril 2024 à 18:31:01 UTC+2, Volker Braun a écrit :
> As always, you can get the latest beta version from the "develop" git
> branch. Alternatively, the self-contained source tarball is at
> http://www.sagemath.org/download-latest.html
>
>
> c4363fc97eb (HEAD -> develop, tag: 10.4.beta4, github/develop) Updated
> SageMath version to 10.4.beta4
> 0a7b2513287 gh-37790: Improve docstrings in `groups`
> a86a7101560 gh-37789: various ruff fixes in groups (PERF, etc)
> e74a5f35321 gh-37788: Add is_graphic/regular
> e7cf26955cc gh-37785: `sage-logger`: Suppress "No such file or directory"
> messages
> fbb9919c42d gh-37784: Speed up symmetric group simple_module_rank()
> 39fd0cfb08d gh-37783: various changes about is_field and is_ring
> eb630943c87 gh-37781: `SetPartition` return empty iterator instead of
> erroring out in degenerate cases
> 22741398fc3 gh-37778: Make univariate Laurent polynomials over a field
> pass the TestSuite
> 73ca0d15dae gh-37775: Add matroid `relabel`
> c63a57a80d9 gh-37773: Allow construction of classical Lie algebras over
> finite fields
> 32910ecee35 gh-37766: modules with basis/map coefficients
> 8b78f12cc72 gh-37757: dft for symmetric group algebra when p|n!
> bea03c7cdc7 gh-37747: be more specific when raising "not a constant
> polynomial"
> 847689b0b0b gh-37733: Bell polynomials univariate variable fix, complete
> and ordinary variants
> 9aca7a3d679 gh-37731: `MatrixMorphism_abstract`: Move endomorphism
> invariants to category
> 930e6e64672 gh-37714: `sage.modular`: Docstring/doctest cosmetics
> bdba1ddb39e gh-37684: fix ascii_art of empty chain complex
> a8207189559 gh-37676: pep8 and ruff fixes in the plot folder
> 1cd71c6364a gh-37675: Allow `.maximal_order()` of `quaternion_algebra.py`
> to extend a given order
> 564a6965d9d gh-37582: build/pkgs/{gdb,gmp,libgd,python3,symmetrica}:
> Reduce xz to order-only dep
> bf82b8e8ec7 gh-37514: `MatrixSpace`: Support constructing
> `Hom(CombinatorialFreeModule)`
> 6ae79380255 gh-37513: Define the zero polynomial to have degree
> `-Infinity` for `LaurentPolynomialRing`
> 04ecb277f8a gh-37512: FiniteRankFreeModule.isomorphism_with_fixed_basis:
> Make it an actual isomorphism
> ca59b3ed8ba gh-37510: src/doc/*/tutorial/programming.rst: Update
> 'standalone script'
> 0124bab526e gh-37503: GH Actions: Build macOS arm64 wheels
> 5749dd317ec gh-37494: `build/pkgs`: Update scip to 9, scip_sdp to 4.4,
> soplex to 7, papilo to 2.2, pyscipopt to 5, onetbb to 2021.11
> 2d371872f7e gh-37486: sagemath-{objects,categories} `pyproject.toml`: Add
> 'external' section according to draft PEP 725
> 6056928c8d8 gh-37474: ⬆️ Bump actions/cache from 3 to 4
> b704d41cede gh-37441: Bind to FLINT/NTL API for polynomial modular
> exponentiation (new version)
> 6b9b03a2d89 gh-37300: `build/pkgs/python_build`: Make it a standard wheel
> package
> 44455292e8a gh-37287: sagemath-standard: include sage_setup in sdist
> c31512811ff gh-37262: Added automatic size labeler
> 0db471fc5a5 gh-36869: `m4/pyproject_toml_metadata.m4`: Allow Python 3.12
> fa7cb94ff6d gh-35467: Attach Jacobians to function fields and curves
> 54cd43c7865 gh-37796: Revert PR with disputed dependencies
> 15fcf52fbd6 (tag: 10.4.beta3) Updated SageMath version to 10.4.beta3
>
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-release/a4e91295-f442-4298-9bb3-ecf74b611a2an%40googlegroups.com.