Re: [sage-release] Sage 9.7.beta1 released

2022-06-01 Thread Dima Pasechnik
I think there is a ticket to fix this, it's a Python 3.10 syntax that
was used at that place.

On Wed, Jun 1, 2022 at 5:53 AM Clemens Heuberger
 wrote:
>
> With a Python 3.8.10 installed as a system python, I get a persistent doctest
> failure (Linux Mint 20.2 uma):
>
> Running doctests with ID 2022-05-29-17-41-28-c07c4f34.
> Using --optional=ccache,debian,pip,sage,sage_spkg
> Features to be detected:
> 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,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.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 164.1
> --random-seed=286393217015090953698065039142096748400 
> src/sage/doctest/forker.py
> **
> File "src/sage/doctest/forker.py", line 1708, in
> sage.doctest.forker.DocTestDispatcher.parallel_dispatch
> Failed example:
>  with ( NTF(suffix=".py", mode="w+t") as f1,
> NTF(suffix=".py", mode="w+t") as f2 ):
>  _ = f1.write("'''\nsage: import time; time.sleep(60)\n'''")
>  f1.flush()
>  _ = f2.write("'''\nsage: True\nFalse\n'''")
>  f2.flush()
>  DC = DocTestController(DocTestDefaults(exitfirst=True,
> nthreads=2),
> [f1.name, f2.name])
>  DC.expand_files_into_sources()
>  DD = DocTestDispatcher(DC)
>  DR = DocTestReporter(DC)
>  DC.reporter = DR
>  DC.dispatcher = DD
>  DC.timer = Timer().start()
>  DD.parallel_dispatch()
> Exception raised:
>  Traceback (most recent call last):
>File
> "/local/cheuberg/local/sage-9.7.beta1/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/sage/doctest/forker.py",
> line 695, in _run
>  self.compile_and_execute(example, compiler, test.globs)
>File
> "/local/cheuberg/local/sage-9.7.beta1/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/sage/doctest/forker.py",
> line 1091, in compile_and_execute
>  compiled = compiler(example)
>File
> "/local/cheuberg/local/sage-9.7.beta1/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/sage/doctest/forker.py",
> line 662, in compiler
>  code = compile(example.source, filename, "single",
>File " sage.doctest.forker.DocTestDispatcher.parallel_dispatch[17]>", line 1
>  with ( NTF(suffix=".py", mode="w+t") as f1,
>   ^
>  SyntaxError: invalid syntax
> **
> 1 item had failures:
> 1 of  19 in sage.doctest.forker.DocTestDispatcher.parallel_dispatch
>  [441 tests, 1 failure, 7.40 s]
> --
> sage -t --long --warn-long 164.1
> --random-seed=286393217015090953698065039142096748400 
> src/sage/doctest/forker.py
>   # 1 doctest failed
> --
> Total time for all tests: 12.3 seconds
>  cpu time: 1.5 seconds
>  cumulative wall time: 7.4 seconds
> Features detected for doctesting:
> pytest is not installed in the venv, skip checking tests that rely on it
>
>
> Am 27.05.22 um 21:32 schrieb Volker Braun:
> > 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
> >
>
> --
> 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 sage-release+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-release/d0afab93-1cf6-2379-dd47-43f33e75b6b8%40aau.at.

-- 
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq2%3DJnCyUL%3D7SkV_x9rPZxWF94M%3DsBaU7seUGNRm0MLFJw%40mail.gmail.com.


Re: [sage-release] Sage 9.7.beta1 released

2022-06-01 Thread 'Justin C. Walker' via sage-release



> On May 30, 2022, at 19:05 , John H Palmieri  wrote:
> 
> Could this be related to https://trac.sagemath.org/ticket/33877? What version 
> of `giac` are you using?

The giac package claims to be giac-1.6.0.47p3.  I am not familiar with the 
“giac” universe, but this only seems to happen on my macOS 10.14 laptop.

FWIW, this same version of giac on this system has been showing the same 
failure since “sage-9.4”.  Maybe something in the toolchain I have?

Justin

> 
> 
> On Monday, May 30, 2022 at 3:38:54 PM UTC-7 jus...@mac.com wrote:
> 
> 
> > On May 27, 2022, at 12:32 , Volker Braun  wrote: 
> > 
> > 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 
> 
> Built on two systems: 
> 
> 10.14.6 (2017 MBP, 4-core Core i7): Two tests showed failures: 
> sage -t --long --warn-long 112.7 
> --random-seed=172114300282344176032932270358590051664 
> src/sage/schemes/toric/sheaf/klyachko.py # 1 doctest failed 
> sage -t --long --warn-long 112.7 
> --random-seed=172114300282344176032932270358590051664 
> src/sage/symbolic/integration/external.py  # 1 doctest failed 
> 
> The first seemed persistent, when run several times with the same seed. When 
> run with no seed, the test passed. 
> The second seemed persistent (as with 9.7.b0; and in both cases, I ran with 
> the given seed and with no seed). 
> 
> Pieces of the log file attached. 
> 
> 10.15.7 (2019 MBP, 8-core Core i9): All tests passed! 
> 
> Justin 
> 
> 
> -- 
> 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 sage-release+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-release/fd2f4f40-ab2a-48cb-bae3-c1bbcb1622e5n%40googlegroups.com.

--
Justin C. Walker
Director, Institute for the Absorption of Federal Funds
--
Taxes, n.:
   Of life's two certainties, the only one
   for which you can get an extension.
--


-- 
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/7DAF9304-4D17-4227-9C2E-583567076539%40mac.com.


[sage-release] Re: Sage 9.7.beta1 released

2022-06-01 Thread Sébastien Labbé
On Ubuntu 20.04 + few optional packages, I get:

Using 
--optional=4ti2,build,ccache,cryptominisat,debian,dot2tex,e_antic,external,fricas,glucose,latte_int,lidia,lrslib,normaliz,notedown,pandoc_attributes,pip,pycosat,pynormaliz,rst2ipynb,sage,sage_numerical_backends_coin,sage_spkg

...

--
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/doc/en/constructions/linear_algebra.rst  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/doc/en/developer/coding_in_other.rst  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/combinat/designs/incidence_structures.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/doctest/forker.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/graphs/generic_graph.py  # 2 doctests failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/graphs/graph.py  # 3 doctests failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/interfaces/octave.py  # 3 doctests failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/misc/package.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 
src/sage/tests/cmdline.py  # 1 doctest failed
--
Features detected for doctesting: 
dvipng,ffmpeg,gfan,graphviz,imagemagick,internet,latex,latex_package_tkz_graph,lualatex,nauty,octave,palp,pandoc,pdf2svg,pdflatex,pdftocairo,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sagemath_doc_html,sphinx,xelatex


All of the above failures have already been reported. See 
https://trac.sagemath.org/ticket/25536 for follow up.

I copy the most recent failure with oeis below for which I will create a 
ticket in the next moment.


sage -t --long --random-seed=338338694516746243229974035543678418772 
src/sage/databases/oeis.py
**
File "src/sage/databases/oeis.py", line 129, in sage.databases.oeis
Failed example:
[i for i in b.comments() if 'prime' in i][-1] # optional -- internet
Expected:
'Number n is prime if mod(a(n)-2,n) = 0...'
Got:
'Number n is prime if (a(n)-2) mod n = 0. - _Dmitry Kruchinin_, Feb 14 
2012 - Incorrect; see 2007 comment by David W. Wilson above. - _Jeppe Stig 
Nielsen_, Apr 22 2022'
**
1 item had failures:
   1 of  26 in sage.databases.oeis
5 webbrowser tests not run
0 tests not run because we ran out of time
[289 tests, 1 failure, 32.78 s]


-- 
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/b421b4cc-a6b3-4961-b2e9-7be803517afcn%40googlegroups.com.