On Wed, Jan 25, 2023 at 3:22 PM Emmanuel Charpentier <[email protected]> wrote: > > After re-building 9.8.beta7 + #34935, running ptestlong gets me one more > permanent failure : > > ``` > charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 225.1 > --random-seed=121252713509435388240223103279859468631 > src/sage/schemes/elliptic_curves/hom_frobenius.py # 1 doctest failed > Running doctests with ID 2023-01-25-16-07-54-8bb572eb. > Git branch: t/34935/interfaces-emacs > Git ref: 9.8.beta7-1-g49d4ff78cc2 > Running with SAGE_LOCAL='/usr/local/sage-9/local' and > SAGE_VENV='/usr/local/sage-9/local/var/lib/sage/venv-python3.10' > Using > --optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,mathics,mathics_scanner,msolve,palettable,pari_jupyter,pint,pip,pysingular,sage,sage_spkg,singular_jupyter > Features to be detected: > 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,msolve,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib > Doctesting 1 file. > sage -t --long --warn-long 225.1 > --random-seed=121252713509435388240223103279859468631 > src/sage/schemes/elliptic_curves/hom_frobenius.py > ********************************************************************** > File "src/sage/schemes/elliptic_curves/hom_frobenius.py", line 461, in > sage.schemes.elliptic_curves.hom_frobenius.EllipticCurveHom_frobenius.dual > Failed example: > p in (2,3) or f.dual().dual() == f > Exception raised: > Traceback (most recent call last): > File "/usr/local/sage-9/src/sage/doctest/forker.py", line 695, in _run > self.compile_and_execute(example, compiler, test.globs) > File "/usr/local/sage-9/src/sage/doctest/forker.py", line 1093, in > compile_and_execute > exec(compiled, globs) > File "<doctest > sage.schemes.elliptic_curves.hom_frobenius.EllipticCurveHom_frobenius.dual[17]>", > line 1, in <module> > p in (Integer(2),Integer(3)) or f.dual().dual() == f > File "sage/misc/cachefunc.pyx", line 2297, in > sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ > self.cache = f(self._instance) > File > "/usr/local/sage-9/src/sage/schemes/elliptic_curves/hom_composite.py", line > 689, in dual > return EllipticCurveHom_composite.from_factors(phis) > File > "/usr/local/sage-9/src/sage/schemes/elliptic_curves/hom_composite.py", line > 364, in from_factors > maps = tuple(maps) > File > "/usr/local/sage-9/src/sage/schemes/elliptic_curves/hom_composite.py", line > 688, in <genexpr> > phis = (phi.dual() for phi in self._phis[::-1]) > File > "/usr/local/sage-9/src/sage/schemes/elliptic_curves/ell_curve_isogeny.py", > line 3076, in dual > corr = find_post_isomorphism(mult, rhs) > File "/usr/local/sage-9/src/sage/schemes/elliptic_curves/hom.py", line > 856, in find_post_isomorphism > isos = [iso for iso in isos if iso._eval(im_phi) == im_psi] > File "/usr/local/sage-9/src/sage/schemes/elliptic_curves/hom.py", line > 856, in <listcomp> > isos = [iso for iso in isos if iso._eval(im_phi) == im_psi] > File > "/usr/local/sage-9/src/sage/schemes/elliptic_curves/weierstrass_morphism.py", > line 586, in _eval > return self._codomain.base_extend(k).point(Q) > File > "/usr/local/sage-9/src/sage/schemes/elliptic_curves/ell_generic.py", line > 1352, in base_extend > E = constructor.EllipticCurve([R(a) for a in self.a_invariants()]) > File > "/usr/local/sage-9/src/sage/schemes/elliptic_curves/ell_generic.py", line > 1352, in <listcomp> > E = constructor.EllipticCurve([R(a) for a in self.a_invariants()]) > File "sage/rings/finite_rings/element_givaro.pyx", line 1355, in > sage.rings.finite_rings.element_givaro.FiniteField_givaroElement.__int__ > raise TypeError("Cannot coerce element to an integer.") > TypeError: Cannot coerce element to an integer.
Is it givaro from the system? If so, can you try if building Sage's givaro helps? > ********************************************************************** > 1 item had failures: > 1 of 19 in > sage.schemes.elliptic_curves.hom_frobenius.EllipticCurveHom_frobenius.dual > [117 tests, 1 failure, 0.91 s] > ---------------------------------------------------------------------- > sage -t --long --warn-long 225.1 > --random-seed=121252713509435388240223103279859468631 > src/sage/schemes/elliptic_curves/hom_frobenius.py # 1 doctest failed > ---------------------------------------------------------------------- > Total time for all tests: 1.0 seconds > cpu time: 0.9 seconds > cumulative wall time: 0.9 seconds > Features detected for doctesting: > pytest is not installed in the venv, skip checking tests that rely on it > ``` > > HTH, > Le dimanche 22 janvier 2023 à 14:41:04 UTC+1, Emmanuel Charpentier a écrit : >> >> This patches fix my Fricas issue indeed. But losing the Emacs interface is a >> big hit for me, so I revert to 9.6.beta6 for now. >> >> Thank you nevertheless ! >> >> Le vendredi 20 janvier 2023 à 22:58:53 UTC+1, John H Palmieri a écrit : >>> >>> In the hopes that this will fix it, I opened >>> https://trac.sagemath.org/ticket/34927. >>> >>> >>> >>> On Friday, January 20, 2023 at 1:46:02 PM UTC-8 John H Palmieri wrote: >>>> >>>> Does this change fix the fricas.py failure? >>>> >>>> diff --git a/src/sage/interfaces/fricas.py b/src/sage/interfaces/fricas.py >>>> index dc2ce71f26..ceba6f90dc 100644 >>>> --- a/src/sage/interfaces/fricas.py >>>> +++ b/src/sage/interfaces/fricas.py >>>> @@ -891,7 +891,7 @@ http://fricas.sourceforge.net. >>>> """ >>>> EXAMPLES:: >>>> >>>> - sage: fricas.__reduce__() >>>> # optional - fricas >>>> + sage: FriCAS().__reduce__() >>>> # optional - fricas >>>> (<function reduce_load_fricas at 0x...>, ()) >>>> sage: f, args = _ >>>> # optional - fricas >>>> sage: f(*args) >>>> >>>> >>>> >>>> On Friday, January 20, 2023 at 12:34:21 PM UTC-8 [email protected] >>>> wrote: >>>>> >>>>> Apart from the Emacs issye alteady reported, I get the three permanent >>>>> failures I reported for the previous betas, as well as a new one, which >>>>> gives three errors : >>>>> >>>>> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long >>>>> 259.6 --random-seed=41414648133166628206443904124754495105 >>>>> src/sage/interfaces/fricas.py # 3 doctests failed >>>>> Running doctests with ID 2023-01-20-20-50-00-ee865d6d. >>>>> Git branch: develop >>>>> Git ref: 9.8.beta7 >>>>> Running with SAGE_LOCAL='/usr/local/sage-9/local' and >>>>> SAGE_VENV='/usr/local/sage-9/local/var/lib/sage/venv-python3.10' >>>>> Using >>>>> --optional=debian,dot2tex,fricas,gap_packages,libsemigroups,mathics,mathics_scanner,msolve,palettable,pint,pip,saclib,sage,sage_spkg >>>>> Features to be detected: >>>>> 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,msolve,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib >>>>> Doctesting 1 file. >>>>> sage -t --long --warn-long 259.6 >>>>> --random-seed=41414648133166628206443904124754495105 >>>>> src/sage/interfaces/fricas.py >>>>> ********************************************************************** >>>>> File "src/sage/interfaces/fricas.py", line 894, in >>>>> sage.interfaces.fricas.FriCAS.__reduce__ >>>>> Failed example: >>>>> fricas.__reduce__() # >>>>> optional - fricas >>>>> Exception raised: >>>>> >>>>> Traceback (most recent call last): >>>>> File "/usr/local/sage-9/src/sage/doctest/forker.py", line 695, in >>>>> _run >>>>> self.compile_and_execute(example, compiler, test.globs) >>>>> File "/usr/local/sage-9/src/sage/doctest/forker.py", line 1093, in >>>>> compile_and_execute >>>>> exec(compiled, globs) >>>>> File "<doctest sage.interfaces.fricas.FriCAS.__reduce__[0]>", line >>>>> 1, in <module> >>>>> fricas.__reduce__() # >>>>> optional - fricas >>>>> File "/usr/lib/python3.10/copyreg.py", line 76, in _reduce_ex >>>>> raise TypeError(f"cannot pickle {cls.__name__!r} object") >>>>> TypeError: cannot pickle 'LazyImport' object >>>>> ********************************************************************** >>>>> File "src/sage/interfaces/fricas.py", line 896, in >>>>> sage.interfaces.fricas.FriCAS.__reduce__ >>>>> Failed example: >>>>> f, args = _ # >>>>> optional - fricas >>>>> Exception raised: >>>>> >>>>> Traceback (most recent call last): >>>>> File "/usr/local/sage-9/src/sage/doctest/forker.py", line 695, in >>>>> _run >>>>> self.compile_and_execute(example, compiler, test.globs) >>>>> File "/usr/local/sage-9/src/sage/doctest/forker.py", line 1093, in >>>>> compile_and_execute >>>>> exec(compiled, globs) >>>>> File "<doctest sage.interfaces.fricas.FriCAS.__reduce__[1]>", line >>>>> 1, in <module> >>>>> f, args = _ # >>>>> optional - fricas >>>>> TypeError: cannot unpack non-iterable int object >>>>> ********************************************************************** >>>>> File "src/sage/interfaces/fricas.py", line 897, in >>>>> sage.interfaces.fricas.FriCAS.__reduce__ >>>>> Failed example: >>>>> f(*args) # >>>>> optional - fricas >>>>> Exception raised: >>>>> >>>>> Traceback (most recent call last): >>>>> File "/usr/local/sage-9/src/sage/doctest/forker.py", line 695, in >>>>> _run >>>>> self.compile_and_execute(example, compiler, test.globs) >>>>> File "/usr/local/sage-9/src/sage/doctest/forker.py", line 1093, in >>>>> compile_and_execute >>>>> exec(compiled, globs) >>>>> File "<doctest sage.interfaces.fricas.FriCAS.__reduce__[2]>", line >>>>> 1, in <module> >>>>> f(*args) # >>>>> optional - fricas >>>>> NameError: name 'f' is not defined >>>>> ********************************************************************** >>>>> 1 item had failures: >>>>> 3 of 4 in sage.interfaces.fricas.FriCAS.__reduce__ >>>>> [277 tests, 3 failures, 42.89 s] >>>>> ---------------------------------------------------------------------- >>>>> sage -t --long --warn-long 259.6 >>>>> --random-seed=41414648133166628206443904124754495105 >>>>> src/sage/interfaces/fricas.py # 3 doctests failed >>>>> ---------------------------------------------------------------------- >>>>> Total time for all tests: 48.0 seconds >>>>> cpu time: 4.2 seconds >>>>> cumulative wall time: 42.9 seconds >>>>> Features detected for doctesting: >>>>> >>>>> HTH, >>>>> Le jeudi 19 janvier 2023 à 00:48:25 UTC+1, 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 >>>>>> >>>>>> We should probably gear up for a 9.8 release soon, so get your tickets >>>>>> ready ;) >>>>>> >>>>>> 047281e0287 (trac/develop, tag: 9.8.beta7) Updated SageMath version to >>>>>> 9.8.beta7 >>>>>> 272c557d1f3 Trac #31668: Run TestSuite on polynomial rings >>>>>> 6f8fb9ba3ef Trac #22067: generating function of integral points of >>>>>> polyhedra >>>>>> 5544a33b815 Trac #21003: Add package pyscipopt, add MIP backend >>>>>> b0422b2536b Trac #34838: setuptools_scm, contourpy, >>>>>> sphinxcontrib_websupport, typing_extensions: Add missing dependencies >>>>>> 30d58156a46 Trac #34717: Check the presence of lrsnash for obtain_nash() >>>>>> c7299453922 Trac #34891: fixing some E502 in tensor, dynamics, modules, >>>>>> plot, numerical >>>>>> bc832cb3578 Trac #34889: Installation guide: On WSL, clear /mnt/c stuff >>>>>> from PATH >>>>>> 3570a9a63bd Trac #34881: allow to remove no constraints >>>>>> 0ceb1032430 Trac #34878: MixedIntegerLinearProgram.add_constraint: >>>>>> Option to return row indices, fix handling of empty constraints >>>>>> df74efb66d2 Trac #34859: sagelib: Remove unnecessary import of >>>>>> typing_extensions >>>>>> b6a76d7a848 Trac #34857: bump giac's GIAC_MIN_VERSION to 1.9 >>>>>> 6a8155e6e5d Trac #34854: molien_series() should not use GAP's >>>>>> VirtualCharacter >>>>>> dddf3ca0b08 Trac #34853: sage-env: Fix misconfiguration of pip >>>>>> 6f631021ac4 Trac #34847: modernize some for loops in cython files >>>>>> 9ffabc7f3e1 Trac #34844: removal of some unused imports about string >>>>>> conversion >>>>>> 4b50bc2af27 Trac #34843: pep8 cleanup in ore_polynomial_element.pyx >>>>>> bdd14cec19b Trac #34837: fix E502 in some pyx files >>>>>> 172ad73ae38 Trac #34836: fix E271 and E272 in rings/ and schemes/ >>>>>> 3d861266040 Trac #34749: Packages dsdp, scip_sdp >>>>>> 64d232b5bfd Trac #31329: Update scipoptsuite to 8.0.2 (now open >>>>>> source!), rename to scip >>>>>> 2dcafb3ac57 Trac #34839: Support tox 4 >>>>>> ad68f15d97f Trac #34648: Developer's guide: warn the transition to >>>>>> GitHub and add links to the transition guide >>>>>> acebbc1a9e8 Trac #34824: do not include parent in hash of parking >>>>>> functions >>>>>> 9a7b6310dde Trac #34818: Error when defining differentials over GCA's >>>>>> with relations. >>>>>> bb63c582122 Trac #34807: Add Construction of Hadamard matrices up to >>>>>> order 664 >>>>>> 8a0b16d93be Trac #34804: Deprecate sage.interfaces is_...Element >>>>>> functions >>>>>> 80f8f950e95 Trac #34793: clean 3 files inside modular >>>>>> b0cc282500e Trac #34547: Interfaces: use more lazy imports, restore >>>>>> top-level functions maxima_console etc. >>>>>> 5905da7ebfc Trac #33915: inseparable elliptic-curve isogenies >>>>>> 98b22ebdcf7 Trac #32826: scalar-multiplication endomorphisms of elliptic >>>>>> curves >>>>>> 4f11a750df9 Trac #8744: Improve add_edge in BipartiteGraph to make it >>>>>> independent from the current coloring >>>>>> 08aa2f8edaa Trac #33842: Upgrade python to 3.11 >>>>>> 75bedf95960 Trac #34783: various details in combinat/ >>>>>> 33fa8715bd5 Trac #34742: Optional package soplex (dependency of scip) >>>>>> f84915f69d8 Trac #34726: Optional package papilo (dependency of scip) >>>>>> e5cf1c0d9f2 Trac #34694: Bug in ExteriorAlgebra interior product >>>>>> ebb9b611d02 Trac #34416: Manage pexpect logs created during doctesting >>>>>> 962177a2da1 Trac #33907: interfaces/expect.py random test failure >>>>>> 66409243991 Trac #16522: lazy_import doesn't resolve properly when >>>>>> indirectly imported >>>>>> 2114066f877 (tag: 9.8.beta6) Updated SageMath version to 9.8.beta6 >>>>>> > -- > 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/6827802b-b306-4fc9-a1b9-87fe7190ef78n%40googlegroups.com. -- 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/CAAWYfq3zpZL2kCejDoQkg%2BAW3v0arR%2B-fXPuDD-LgvXC7uz20w%40mail.gmail.com.
