Re: [sage-release] Re: Sage 9.0.beta8 released

2019-12-02 Thread John H Palmieri


On Monday, December 2, 2019 at 9:15:49 AM UTC-8, John H Palmieri wrote:
>
>
>
> On Monday, December 2, 2019 at 3:12:12 AM UTC-8, E. Madison Bray wrote:
>>
>> On Mon, Dec 2, 2019 at 6:50 AM John H Palmieri  
>> wrote: 
>> > 
>> > Broken with a Python 2 build. Do we care? 
>> > 
>> > In particular, SageNB is not built with Python 2, but the doctester 
>> thinks it should be: 
>>
>> We do care: Support for Python 2 is not being dropped yet.  Please 
>> open a blocker ticket. 
>>
>
> I guess my real question is: do we automatically build SageNB when 
> `./configure --with-python=2` is used, or do we drop the SageNB doctests? I 
> propose dropping the doctests and at some point creating an spkg-check 
> script for sagenb that runs its tests.
>

I opened https://trac.sagemath.org/ticket/28834 



>  
>
>>
>> > ./sage -t -p --all --long --logfile=logs/ptestlong.log 
>> > Running doctests with ID 2019-12-01-19-23-00-d57c8cb5. 
>> > Git branch: develop 
>> > Using --optional=build,dochtml,python2,sage 
>> > Doctesting entire Sage library. 
>> > Traceback (most recent call last): 
>> >   File 
>> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/src/bin/sage-runtests",
>>  
>> line 179, in  
>> > err = DC.run() 
>> >   File 
>> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py",
>>  
>> line 1234, in run 
>> > self.add_files() 
>> >   File 
>> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py",
>>  
>> line 753, in add_files 
>> > sagenb_loc = working_set.find(Requirement.parse('sagenb')).location 
>> > AttributeError: 'NoneType' object has no attribute 'location' 
>> > make: *** [ptestlong] Error 1 
>> > 
>> > 
>> > On Sunday, December 1, 2019 at 3:15:29 PM UTC-8, 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 
>> >> 
>> >> 
>> >> cf9673bc59 (tag: 9.0.beta8) Updated SageMath version to 9.0.beta8 
>> >> 7b3f429848 Trac #28824: make doc-pdf race condition 
>> >> a6d82755a8 Trac #28823: str_to_bytes in math-readline script for 
>> Mathematica console 
>> >> f5003a0f00 Trac #28809: cleanup 
>> src/sage/combinat/partition_shifting_algebras.py 
>> >> 358d62b1a1 Trac #28790: https in README.md 
>> >> b26d466f03 Trac #28779: Error in "primes_of_bad_reduction" for 
>> DynamicalSystem 
>> >> ec856b746f Trac #28758: random output in a giacpy_sage doctest 
>> >> 873e999025 Trac #28744: py3: add bytes_to_str in Octave interface 
>> >> 953e0a1043 Trac #28733: Reference manual SageTeX incorrect link 
>> >> 4da4603146 Trac #28720: Method is_diagonalizable() should not raise an 
>> error for legitimate inputs 
>> >> 3a018490fb Trac #28680: Three.js: Update documentation examples 
>> >> 5a1cacc884 Trac #28583: unicode_art of Matrix_mod2_dense fails 
>> >> 4e0b121eaf Trac #28820: convert guava interface to libgap 
>> >> 60b65cdfef Trac #28811: add hash for hypergeometric motives 
>> >> 69c463e4c9 Trac #28501: MR35: Honour docbuild limits when building 
>> documentation in Dockerfile 
>> >> 4f68ca865e Trac #28489: py3 + OS X: symbolic/expression.pyx 
>> >> 17cabfa736 Trac #28213: Renaming rational_preperiodic_points() to 
>> all_preperiodic_points() 
>> >> c989b65121 Trac #27784: Characteristic Classes on Vector Bundles 
>> >> b030c58f4e Trac #28170: enhance is_postcritically_finite, 
>> critical_point_portrait, and multiplier_spectra to work over number fields 
>> and finite fields 
>> >> a68601e8f9 Trac #26817: GaloisGroup_subgroup.fixed_field() should 
>> always return an embedding 
>> >> 7a740579e3 Trac #26816: Specify subgroups of Galois groups using 
>> generators 
>> >> e95c2c2ef4 Trac #23740: Plotting Julia Sets for General Polynomials 
>> >> c818084a8e Trac #23720: Plotting Mandelbrot Set for General 
>> Polynomials 
>> >> f7906eb4ea Trac #28791: Implement Feature without using 
>> sage.misc.cachefunc, sage.structure.unique_representation 
>> >> 9afb930099 Trac #28784: Adding multiple symmetries and multiple 
>> contractions to tensors 
>> >> 4e5d712ad6 Trac #28783: fix opacity for add_condition in mono-coloured 
>> plot3d 
>> >> 671567e777 Trac #28770: Polyhedra coercion of base rings fails for 
>> number fields 
>> >> 910e84cd31 Trac #28769: Scalar field raise AttributeError on 
>> show_identifiers call 
>> >> 6161a34c8b Trac #28764: 2 internet doctest failed in 
>> hadamard_matrix.py 
>> >> 692073e6d5 Trac #28763: DIMACS solver not workng with Python3 (7 
>> glucose optional doctests failed) 
>> >> 954bc2c88b Trac #28751: enhance some calls to "while len" 
>> >> 1ea8e99d76 Trac #28749: some middle-scale cleanup Returns ==> Return 
>> in the doc 
>> >> d8d68e94c6 Trac #28747: further "space:" cleaning outside of combinat 
>> >> f870f83bce Trac #28741: Lattice Polyt

Re: [sage-release] Re: Sage 9.0.beta8 released

2019-12-02 Thread David Coudert
You may check whether ticket 28818 fixes the failures for 
src/sage/graphs/generators/smallgraphs.py

> Le 2 déc. 2019 à 19:01, Emmanuel Charpentier  
> a écrit :
> 
> On a slightly larger machine (Debian testing running on core i7 + 16 GB RAM, 
> slightly different packages), ptestalllong  gets 9 transient and 3 permanent 
> failures:
> 
> Running doctests with ID 2019-12-02-17-03-31-cf10a30c.
> Git branch: develop
> Using 
> --optional=build,dochtml,dot2tex,external,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
> External software to be detected: 
> cplex,ffmpeg,graphviz,gurobi,imagemagick,internet,latex,macaulay2,magma,maple,mathematica,matlab,octave,pandoc,scilab
> 
> 
> | File | Result| P/T |
> |--+---+-|
> | src/sage/plot/animate.py | 7 doctests failed | T   |
> | src/sage/graphs/generators/smallgraphs.py| 6 doctests failed | T   |
> | src/sage/symbolic/integration/external.py| 1 doctest failed  | T   |
> | src/sage/interfaces/psage.py | 1 doctest failed  | T   |
> | src/sage/tests/gap_packages.py   | 1 doctest failed  | P   |
> | src/sage/modular/ssmod/ssmod.py  | 2 doctests failed | T   |
> | src/sage/misc/latex.py   | 1 doctest failed  | T   |
> | src/sage/numerical/backends/glpk_backend.pyx | 1 doctest failed  | P   |
> | src/sage/libs/glpk/error.pyx | 1 doctest failed  | P   |
> | src/sage/repl/load.py| 1 doctest failed  | T   |
> | src/sage/combinat/designs/ext_rep.py | 1 doctest failed  | T   |
> | src/sage/databases/findstat.py   | 1 doctest failed  | T   |
> 
> External software detected for doctesting: 
> ffmpeg,graphviz,imagemagick,internet,latex,mathematica,pandoc
> 
> Details of permanent failures:
> 
> gap_packages:
> 
> Running doctests with ID 2019-12-02-18-30-19-72a867dd.
> Git branch: develop
> Using 
> --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
> Doctesting 1 file.
> sage -t --long --warn-long 210.2 src/sage/tests/gap_packages.py
> **
> File "src/sage/tests/gap_packages.py", line 8, in sage.tests.gap_packages
> Failed example:
> test_packages(pkgs, only_failures=True)# optional - gap_packages
> Expected:
>   Status   Package   GAP Output
> ++-++
> Got:
> #I  method installed for Matrix matches more than one declaration
>   Status   Package   GAP Output
> ++-++
> **
> 1 item had failures:
>1 of   5 in sage.tests.gap_packages
> [11 tests, 1 failure, 3.38 s]
> --
> sage -t --long --warn-long 210.2 src/sage/tests/gap_packages.py  # 1 doctest 
> failed
> --
> Total time for all tests: 3.4 seconds
> cpu time: 2.9 seconds
> cumulative wall time: 3.4 seconds
> 
> glpk_backend:
> 
> Running doctests with ID 2019-12-02-18-30-36-8dafeec7.
> Git branch: develop
> Using 
> --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
> Doctesting 1 file.
> sage -t --long --warn-long 210.2 src/sage/numerical/backends/glpk_backend.pyx
> **
> File "src/sage/numerical/backends/glpk_backend.pyx", line 2287, in 
> sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges
> Failed example:
> p.print_ranges()
> Expected:
> glp_print_ranges: optimal basic solution required
> 1
> Got:
> 1
> **
> 1 item had failures:
>1 of  13 in sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges
> [554 tests, 1 failure, 3.91 s]
> --
> sage -t --long --warn-long 210.2 src/sage/numerical/backends/glpk_backend.pyx 
>  # 1 doctest failed
> --
> Total time for all tests: 4.0 seconds
> cpu time: 3.8 seconds
> cumulative wall time: 3.9 seconds
> 
> glpk/error:
> 
> Running doctests with ID 2019-12-02-18-30-42-0aefd36e.
> Git branch: develop
> Using 
> --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
> Doctesting 1 file.
> sage -t --long --warn-long 210.2 src/sage/libs/glpk/error.pyx
> **
> File "src/sage/libs/glpk/error.pyx", line 100, in 
> sage.libs.glpk.error.setup_glpk_error_handler
> Failed example:
> res = p.solve()
> E

Re: [sage-release] Re: Sage 9.0.beta8 released

2019-12-02 Thread John H Palmieri


On Monday, December 2, 2019 at 3:12:12 AM UTC-8, E. Madison Bray wrote:
>
> On Mon, Dec 2, 2019 at 6:50 AM John H Palmieri  > wrote: 
> > 
> > Broken with a Python 2 build. Do we care? 
> > 
> > In particular, SageNB is not built with Python 2, but the doctester 
> thinks it should be: 
>
> We do care: Support for Python 2 is not being dropped yet.  Please 
> open a blocker ticket. 
>

I guess my real question is: do we automatically build SageNB when 
`./configure --with-python=2` is used, or do we drop the SageNB doctests? I 
propose dropping the doctests and at some point creating an spkg-check 
script for sagenb that runs its tests.

 

>
> > ./sage -t -p --all --long --logfile=logs/ptestlong.log 
> > Running doctests with ID 2019-12-01-19-23-00-d57c8cb5. 
> > Git branch: develop 
> > Using --optional=build,dochtml,python2,sage 
> > Doctesting entire Sage library. 
> > Traceback (most recent call last): 
> >   File 
> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/src/bin/sage-runtests",
>  
> line 179, in  
> > err = DC.run() 
> >   File 
> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py",
>  
> line 1234, in run 
> > self.add_files() 
> >   File 
> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py",
>  
> line 753, in add_files 
> > sagenb_loc = working_set.find(Requirement.parse('sagenb')).location 
> > AttributeError: 'NoneType' object has no attribute 'location' 
> > make: *** [ptestlong] Error 1 
> > 
> > 
> > On Sunday, December 1, 2019 at 3:15:29 PM UTC-8, 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 
> >> 
> >> 
> >> cf9673bc59 (tag: 9.0.beta8) Updated SageMath version to 9.0.beta8 
> >> 7b3f429848 Trac #28824: make doc-pdf race condition 
> >> a6d82755a8 Trac #28823: str_to_bytes in math-readline script for 
> Mathematica console 
> >> f5003a0f00 Trac #28809: cleanup 
> src/sage/combinat/partition_shifting_algebras.py 
> >> 358d62b1a1 Trac #28790: https in README.md 
> >> b26d466f03 Trac #28779: Error in "primes_of_bad_reduction" for 
> DynamicalSystem 
> >> ec856b746f Trac #28758: random output in a giacpy_sage doctest 
> >> 873e999025 Trac #28744: py3: add bytes_to_str in Octave interface 
> >> 953e0a1043 Trac #28733: Reference manual SageTeX incorrect link 
> >> 4da4603146 Trac #28720: Method is_diagonalizable() should not raise an 
> error for legitimate inputs 
> >> 3a018490fb Trac #28680: Three.js: Update documentation examples 
> >> 5a1cacc884 Trac #28583: unicode_art of Matrix_mod2_dense fails 
> >> 4e0b121eaf Trac #28820: convert guava interface to libgap 
> >> 60b65cdfef Trac #28811: add hash for hypergeometric motives 
> >> 69c463e4c9 Trac #28501: MR35: Honour docbuild limits when building 
> documentation in Dockerfile 
> >> 4f68ca865e Trac #28489: py3 + OS X: symbolic/expression.pyx 
> >> 17cabfa736 Trac #28213: Renaming rational_preperiodic_points() to 
> all_preperiodic_points() 
> >> c989b65121 Trac #27784: Characteristic Classes on Vector Bundles 
> >> b030c58f4e Trac #28170: enhance is_postcritically_finite, 
> critical_point_portrait, and multiplier_spectra to work over number fields 
> and finite fields 
> >> a68601e8f9 Trac #26817: GaloisGroup_subgroup.fixed_field() should 
> always return an embedding 
> >> 7a740579e3 Trac #26816: Specify subgroups of Galois groups using 
> generators 
> >> e95c2c2ef4 Trac #23740: Plotting Julia Sets for General Polynomials 
> >> c818084a8e Trac #23720: Plotting Mandelbrot Set for General Polynomials 
> >> f7906eb4ea Trac #28791: Implement Feature without using 
> sage.misc.cachefunc, sage.structure.unique_representation 
> >> 9afb930099 Trac #28784: Adding multiple symmetries and multiple 
> contractions to tensors 
> >> 4e5d712ad6 Trac #28783: fix opacity for add_condition in mono-coloured 
> plot3d 
> >> 671567e777 Trac #28770: Polyhedra coercion of base rings fails for 
> number fields 
> >> 910e84cd31 Trac #28769: Scalar field raise AttributeError on 
> show_identifiers call 
> >> 6161a34c8b Trac #28764: 2 internet doctest failed in hadamard_matrix.py 
> >> 692073e6d5 Trac #28763: DIMACS solver not workng with Python3 (7 
> glucose optional doctests failed) 
> >> 954bc2c88b Trac #28751: enhance some calls to "while len" 
> >> 1ea8e99d76 Trac #28749: some middle-scale cleanup Returns ==> Return in 
> the doc 
> >> d8d68e94c6 Trac #28747: further "space:" cleaning outside of combinat 
> >> f870f83bce Trac #28741: Lattice Polytopes: `compute_facets` does not 
> check dimension when setting is_reflexive 
> >> 6c319d2242 Trac #28716: Construction of a vector frame from a family of 
> vector fields 
> >> 9ba0c1affb Trac #28627: Lazy OEIS sequences 
> >> 5975bab92e Trac #27408:

Re: [sage-release] Re: Sage 9.0.beta8 released

2019-12-02 Thread E. Madison Bray
On Mon, Dec 2, 2019 at 6:50 AM John H Palmieri  wrote:
>
> Broken with a Python 2 build. Do we care?
>
> In particular, SageNB is not built with Python 2, but the doctester thinks it 
> should be:

We do care: Support for Python 2 is not being dropped yet.  Please
open a blocker ticket.

> ./sage -t -p --all --long --logfile=logs/ptestlong.log
> Running doctests with ID 2019-12-01-19-23-00-d57c8cb5.
> Git branch: develop
> Using --optional=build,dochtml,python2,sage
> Doctesting entire Sage library.
> Traceback (most recent call last):
>   File 
> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/src/bin/sage-runtests",
>  line 179, in 
> err = DC.run()
>   File 
> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py",
>  line 1234, in run
> self.add_files()
>   File 
> "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py",
>  line 753, in add_files
> sagenb_loc = working_set.find(Requirement.parse('sagenb')).location
> AttributeError: 'NoneType' object has no attribute 'location'
> make: *** [ptestlong] Error 1
>
>
> On Sunday, December 1, 2019 at 3:15:29 PM UTC-8, 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
>>
>>
>> cf9673bc59 (tag: 9.0.beta8) Updated SageMath version to 9.0.beta8
>> 7b3f429848 Trac #28824: make doc-pdf race condition
>> a6d82755a8 Trac #28823: str_to_bytes in math-readline script for Mathematica 
>> console
>> f5003a0f00 Trac #28809: cleanup 
>> src/sage/combinat/partition_shifting_algebras.py
>> 358d62b1a1 Trac #28790: https in README.md
>> b26d466f03 Trac #28779: Error in "primes_of_bad_reduction" for 
>> DynamicalSystem
>> ec856b746f Trac #28758: random output in a giacpy_sage doctest
>> 873e999025 Trac #28744: py3: add bytes_to_str in Octave interface
>> 953e0a1043 Trac #28733: Reference manual SageTeX incorrect link
>> 4da4603146 Trac #28720: Method is_diagonalizable() should not raise an error 
>> for legitimate inputs
>> 3a018490fb Trac #28680: Three.js: Update documentation examples
>> 5a1cacc884 Trac #28583: unicode_art of Matrix_mod2_dense fails
>> 4e0b121eaf Trac #28820: convert guava interface to libgap
>> 60b65cdfef Trac #28811: add hash for hypergeometric motives
>> 69c463e4c9 Trac #28501: MR35: Honour docbuild limits when building 
>> documentation in Dockerfile
>> 4f68ca865e Trac #28489: py3 + OS X: symbolic/expression.pyx
>> 17cabfa736 Trac #28213: Renaming rational_preperiodic_points() to 
>> all_preperiodic_points()
>> c989b65121 Trac #27784: Characteristic Classes on Vector Bundles
>> b030c58f4e Trac #28170: enhance is_postcritically_finite, 
>> critical_point_portrait, and multiplier_spectra to work over number fields 
>> and finite fields
>> a68601e8f9 Trac #26817: GaloisGroup_subgroup.fixed_field() should always 
>> return an embedding
>> 7a740579e3 Trac #26816: Specify subgroups of Galois groups using generators
>> e95c2c2ef4 Trac #23740: Plotting Julia Sets for General Polynomials
>> c818084a8e Trac #23720: Plotting Mandelbrot Set for General Polynomials
>> f7906eb4ea Trac #28791: Implement Feature without using sage.misc.cachefunc, 
>> sage.structure.unique_representation
>> 9afb930099 Trac #28784: Adding multiple symmetries and multiple contractions 
>> to tensors
>> 4e5d712ad6 Trac #28783: fix opacity for add_condition in mono-coloured plot3d
>> 671567e777 Trac #28770: Polyhedra coercion of base rings fails for number 
>> fields
>> 910e84cd31 Trac #28769: Scalar field raise AttributeError on 
>> show_identifiers call
>> 6161a34c8b Trac #28764: 2 internet doctest failed in hadamard_matrix.py
>> 692073e6d5 Trac #28763: DIMACS solver not workng with Python3 (7 glucose 
>> optional doctests failed)
>> 954bc2c88b Trac #28751: enhance some calls to "while len"
>> 1ea8e99d76 Trac #28749: some middle-scale cleanup Returns ==> Return in the 
>> doc
>> d8d68e94c6 Trac #28747: further "space:" cleaning outside of combinat
>> f870f83bce Trac #28741: Lattice Polytopes: `compute_facets` does not check 
>> dimension when setting is_reflexive
>> 6c319d2242 Trac #28716: Construction of a vector frame from a family of 
>> vector fields
>> 9ba0c1affb Trac #28627: Lazy OEIS sequences
>> 5975bab92e Trac #27408: Edge view for graphs
>> 307b865431 Trac #28756: py3: fix doctests with gurobi
>> cdda9f70e2 Trac #28759: py3: dot2tex + graphviz doctests failures
>> 1dd55655a1 Trac #28760: py3: internet str vs bytes doctests failures
>> 5dcc2683ed Trac #28761: py3: further fixes for misc
>> 63fb7b0c7d Trac #28805: Remove sagenb from DOC_DEPENDENCIES
>> 9273772c59 Trac #28807: little typo ticket
>> a24bffeeaa Trac #28810: small fix in regular expression for trac warning in 
>> sage/all.py
>> 737eadb5ae Trac #28793: 2 more random doctest failu