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

2020-06-27 Thread 'tsc...@ucdavis.edu' via sage-release
This might help for some of the failing internet tests: 
https://trac.sagemath.org/ticket/29787

On Thursday, June 25, 2020 at 6:29:42 AM UTC+10 Sébastien Labbé wrote:

> Testing various optional and external packages (on June 15, but I am 
> reporting only now sorry for the delay), I get
>
> Using 
> --optional=4ti2,cbc,ccache,cryptominisat,dot2tex,e_antic,external,fricas,glucose,latte_int,lidia,lrslib,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,rst2ipynb,sage,sage_numerical_backends_coin,sage_numerical_backends_cplex,sage_numerical_backends_gurobi
>
> --
> sage -t --long src/sage/combinat/matrices/hadamard_matrix.py  # 1 doctest 
> failed
> sage -t --long src/sage/combinat/quickref.py  # 1 doctest failed
> sage -t --long src/sage/combinat/species/library.py  # 1 doctest failed
> sage -t --long src/sage/combinat/tutorial.py  # 1 doctest failed
> sage -t --long src/sage/databases/findstat.py  # 17 doctests failed
> sage -t --long src/sage/databases/oeis.py  # 1 doctest failed
> sage -t --long src/sage/geometry/polyhedron/base.py  # Bad exit: 1
> sage -t --long src/sage/graphs/generators/smallgraphs.py  # 2 doctests 
> failed
> sage -t --long src/sage/sat/boolean_polynomials.py  # 1 doctest failed
> --
> External software detected for doctesting: 
> cplex,ffmpeg,graphviz,imagemagick,internet,latex,pandoc
>
> Rerunning failed tests, I get
>
> --
> sage -t --long src/sage/combinat/quickref.py  # 1 doctest failed
> sage -t --long src/sage/combinat/species/library.py  # 1 doctest failed
> sage -t --long src/sage/combinat/tutorial.py  # 1 doctest failed
> sage -t --long src/sage/databases/findstat.py  # 17 doctests failed
> sage -t --long src/sage/databases/oeis.py  # 1 doctest failed
> sage -t --long src/sage/geometry/polyhedron/base.py  # Bad exit: 1
> sage -t --long src/sage/graphs/generators/smallgraphs.py  # 2 doctests 
> failed
> --
> External software detected for doctesting: internet
>
>
> Many of them are related to recent changes in oeis, see below.
>
>
> sage -t --long src/sage/combinat/quickref.py
> **
> File "src/sage/combinat/quickref.py", line 9, in sage.combinat.quickref
> Failed example:
> s[0].programs() # optional - internet
> Expected:
> 0: (PARI) {a(n) = if( n<0, 0, n!^2 * 4^n * polcoeff( 1 / besselj(0, x 
> + x * O(x^(2*n))), 2*n))}; /* _Michael Somos_, May 17 2004 */
> Got:
> [('maple', 0: A000275 := proc(n) sum(z^k/k!^2, k = 0..infinity);
>   1: series(%^x, z=0, n+1): n!^2*coeff(%,z,n); add(abs(coeff(%,x,k)), 
> k=0..n) end:
>   2: seq(A000275(n), n=0..17); # _Peter Luschny_, May 27 2017),
>  ('mathematica',
>   0: a[0] = 1; a[n_] := a[n] = Sum[(-1)^(r+n+1)*Binomial[n, r]^2 a[r], 
> {r, 0, n-1}]; Table[a[n], {n, 0, 17}] (* _Jean-François Alcover_, Aug 05 
> 2013 *)
>   1: CoefficientList[Series[1/BesselJ[0,Sqrt[4*x]], {x, 0, 20}], x]* 
> Range[0, 20]!^2 (* _Vaclav Kotesovec_, Mar 02 2014 *)
>   2: a[ n_] := If[ n < 0, 0, (n! 2^n)^2 SeriesCoefficient[ 1 / 
> BesselJ[ 0, x], {x, 0, 2 n}]]; (* _Michael Somos_, Aug 20 2015 *)),
>  ('pari',
>   0: {a(n) = if( n<0, 0, n!^2 * 4^n * polcoeff( 1 / besselj(0, x + x * 
> O(x^(2*n))), 2*n))}; /* _Michael Somos_, May 17 2004 */)]
> **
> 1 item had failures:
>1 of  22 in sage.combinat.quickref
> 5 not tested tests not run
> 0 tests not run because we ran out of time
> [21 tests, 1 failure, 3.06 s]
>
>
> sage -t --long src/sage/combinat/species/library.py
> **
> File "src/sage/combinat/species/library.py", line 104, in 
> sage.combinat.species.library.BinaryTreeSpecies
> Failed example:
> oeis(seq)[0]  # optional -- internet
> Expected:
> A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = 
> (2n)!/(n!(n+1)!). Also called Segner numbers.
> Got:
> A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = 
> (2n)!/(n!(n+1)!).
> **
> 1 item had failures:
>1 of  10 in sage.combinat.species.library.BinaryTreeSpecies
> 0 tests not run because we ran out of time
> [23 tests, 1 failure, 4.48 s]
>
>
>
> sage -t --long src/sage/combinat/tutorial.py
> **
> File "src/sage/combinat/tutorial.py", line 224, in sage.combinat.tutorial
> Failed example:
> oeis([1,1,2,5,14])# optional -- internet
> Expected:
> 0: A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = 
> (2n)!/(n!(n+1)!). Also cal

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

2020-06-24 Thread Sébastien Labbé
Testing various optional and external packages (on June 15, but I am 
reporting only now sorry for the delay), I get

Using 
--optional=4ti2,cbc,ccache,cryptominisat,dot2tex,e_antic,external,fricas,glucose,latte_int,lidia,lrslib,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,rst2ipynb,sage,sage_numerical_backends_coin,sage_numerical_backends_cplex,sage_numerical_backends_gurobi

--
sage -t --long src/sage/combinat/matrices/hadamard_matrix.py  # 1 doctest 
failed
sage -t --long src/sage/combinat/quickref.py  # 1 doctest failed
sage -t --long src/sage/combinat/species/library.py  # 1 doctest failed
sage -t --long src/sage/combinat/tutorial.py  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # 17 doctests failed
sage -t --long src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long src/sage/geometry/polyhedron/base.py  # Bad exit: 1
sage -t --long src/sage/graphs/generators/smallgraphs.py  # 2 doctests 
failed
sage -t --long src/sage/sat/boolean_polynomials.py  # 1 doctest failed
--
External software detected for doctesting: 
cplex,ffmpeg,graphviz,imagemagick,internet,latex,pandoc

Rerunning failed tests, I get

--
sage -t --long src/sage/combinat/quickref.py  # 1 doctest failed
sage -t --long src/sage/combinat/species/library.py  # 1 doctest failed
sage -t --long src/sage/combinat/tutorial.py  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # 17 doctests failed
sage -t --long src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long src/sage/geometry/polyhedron/base.py  # Bad exit: 1
sage -t --long src/sage/graphs/generators/smallgraphs.py  # 2 doctests 
failed
--
External software detected for doctesting: internet


Many of them are related to recent changes in oeis, see below.


sage -t --long src/sage/combinat/quickref.py
**
File "src/sage/combinat/quickref.py", line 9, in sage.combinat.quickref
Failed example:
s[0].programs() # optional - internet
Expected:
0: (PARI) {a(n) = if( n<0, 0, n!^2 * 4^n * polcoeff( 1 / besselj(0, x + 
x * O(x^(2*n))), 2*n))}; /* _Michael Somos_, May 17 2004 */
Got:
[('maple', 0: A000275 := proc(n) sum(z^k/k!^2, k = 0..infinity);
  1: series(%^x, z=0, n+1): n!^2*coeff(%,z,n); add(abs(coeff(%,x,k)), 
k=0..n) end:
  2: seq(A000275(n), n=0..17); # _Peter Luschny_, May 27 2017),
 ('mathematica',
  0: a[0] = 1; a[n_] := a[n] = Sum[(-1)^(r+n+1)*Binomial[n, r]^2 a[r], 
{r, 0, n-1}]; Table[a[n], {n, 0, 17}] (* _Jean-François Alcover_, Aug 05 
2013 *)
  1: CoefficientList[Series[1/BesselJ[0,Sqrt[4*x]], {x, 0, 20}], x]* 
Range[0, 20]!^2 (* _Vaclav Kotesovec_, Mar 02 2014 *)
  2: a[ n_] := If[ n < 0, 0, (n! 2^n)^2 SeriesCoefficient[ 1 / BesselJ[ 
0, x], {x, 0, 2 n}]]; (* _Michael Somos_, Aug 20 2015 *)),
 ('pari',
  0: {a(n) = if( n<0, 0, n!^2 * 4^n * polcoeff( 1 / besselj(0, x + x * 
O(x^(2*n))), 2*n))}; /* _Michael Somos_, May 17 2004 */)]
**
1 item had failures:
   1 of  22 in sage.combinat.quickref
5 not tested tests not run
0 tests not run because we ran out of time
[21 tests, 1 failure, 3.06 s]


sage -t --long src/sage/combinat/species/library.py
**
File "src/sage/combinat/species/library.py", line 104, in 
sage.combinat.species.library.BinaryTreeSpecies
Failed example:
oeis(seq)[0]  # optional -- internet
Expected:
A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = 
(2n)!/(n!(n+1)!). Also called Segner numbers.
Got:
A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = 
(2n)!/(n!(n+1)!).
**
1 item had failures:
   1 of  10 in sage.combinat.species.library.BinaryTreeSpecies
0 tests not run because we ran out of time
[23 tests, 1 failure, 4.48 s]



sage -t --long src/sage/combinat/tutorial.py
**
File "src/sage/combinat/tutorial.py", line 224, in sage.combinat.tutorial
Failed example:
oeis([1,1,2,5,14])# optional -- internet
Expected:
0: A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = 
(2n)!/(n!(n+1)!). Also called Segner numbers.
1: ...
2: ...
Got:
0: A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = 
(2n)!/(n!(n+1)!).
1: A022562: Number of connected claw-free unlabeled graphs on n nodes.
2: A124302: Number of set partitions with at most 3 blocks; number of 
Dyck paths of height at most 4; dimension of space of symmetric polynomials 

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

2020-06-17 Thread Matthias Köppe
A possibly related ticket: https://trac.sagemath.org/ticket/28008

On Wednesday, June 17, 2020 at 9:41:43 AM UTC-7, kcrisman wrote:
>
> On Mac OS X 10.11.  Upgrading via git pull trac develop and make from 
> somewhere in the 9.0 betas, I get a lot of good things, until:
>
> mkdir ../../../../library/tools/libs
>
> installing 'sysdata.rda'
>
> dyld: Library not loaded: 
> /Users/.../sage/local/lib/libopenblas_haswellp-r0.3.6.dylib
>
>   Referenced from: /Users/.../sage/local/lib/R/lib/libR.dylib
>
>   Reason: image not found
>
> /bin/bash: line 1: 24759 Doneecho 
> "tools:::sysdata2LazyLoadDB(\"./R/sysdata.rda\",\"../../../library/tools/R\")"
>
>  24760 Trace/BPT trap: 5   | R_DEFAULT_PACKAGES=NULL LC_ALL=C 
> R_ENABLE_JIT=0 TZ=UTC ../../../bin/R --vanilla --slave
>
> make[8]: *** [sysdata] Error 133
>
> make[7]: *** [all] Error 2
>
> make[6]: *** [R] Error 1
>
> make[5]: *** [R] Error 1
>
> make[4]: *** [R] Error 1
>
>
> 
>
> Error building r-3.6.2.p0
>
>
> 
>
>
> real2m5.131s
>
> user0m47.882s
>
> sys 0m46.001s
>
> 
>
> Error installing package r-3.6.2.p0
>
> 
>
>
> $ ls local/lib/libopenblas[tab]
>
> libopenblas.0.dyliblibopenblas.dylib  
> libopenblas_haswellp-r0.3.9.dylib  
>
>
> So I'm not sure why it's asking for an older version of libopenblas.  Full 
> R log at http://www.math.gordon.edu/~kcrisman/r-3.6.2.p0.log
>

-- 
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/e41416e6-3a4e-46c4-b8eb-93a6ae3e9a91o%40googlegroups.com.


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

2020-06-17 Thread Dima Pasechnik
On Wed, Jun 17, 2020 at 6:38 PM kcrisman  wrote:
>
>
>
>
>>
>> mkdir ../../../../library/tools/libs
>>
>> installing 'sysdata.rda'
>>
>> dyld: Library not loaded: 
>> /Users/.../sage/local/lib/libopenblas_haswellp-r0.3.6.dylib
>>
>>   Referenced from: /Users/.../sage/local/lib/R/lib/libR.dylib
>
>
> For reference, doing
>
> $ rm -rf local/lib/R/
>
> ended up solving the problem.  But that seems like a bug - shouldn't the 
> previous R install properly be deleted, in our current paradigm of first 
> uninstalling (if I understand it correctly)?

yes, it appears to be a bug (macOS-specific?). Probably the list of
files installed by R spkg is incomplete, and so what's in the list is
removed, but
this one is not.
You can see the file list in local/var/lib/sage/installed/
and check whether libR.dylib
is there.

HTH
Dima


>
> --
> 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/f50588d7-2094-498a-870c-b63716e105d3o%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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq0Qk1NziyquXC6bL5ajoFMaFPkAD07m6AMa%3DLE17gPGaA%40mail.gmail.com.


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

2020-06-17 Thread kcrisman




> mkdir ../../../../library/tools/libs
>
> installing 'sysdata.rda'
>
> dyld: Library not loaded: 
> /Users/.../sage/local/lib/libopenblas_haswellp-r0.3.6.dylib
>
>   Referenced from: /Users/.../sage/local/lib/R/lib/libR.dylib
>
>
For reference, doing

$ rm -rf local/lib/R/

ended up solving the problem.  But that seems like a bug - shouldn't the 
previous R install properly be deleted, in our current paradigm of first 
uninstalling (if I understand it correctly)?

-- 
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/f50588d7-2094-498a-870c-b63716e105d3o%40googlegroups.com.


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

2020-06-17 Thread kcrisman
On Mac OS X 10.11.  Upgrading via git pull trac develop and make from 
somewhere in the 9.0 betas, I get a lot of good things, until:

mkdir ../../../../library/tools/libs

installing 'sysdata.rda'

dyld: Library not loaded: 
/Users/.../sage/local/lib/libopenblas_haswellp-r0.3.6.dylib

  Referenced from: /Users/.../sage/local/lib/R/lib/libR.dylib

  Reason: image not found

/bin/bash: line 1: 24759 Doneecho 
"tools:::sysdata2LazyLoadDB(\"./R/sysdata.rda\",\"../../../library/tools/R\")"

 24760 Trace/BPT trap: 5   | R_DEFAULT_PACKAGES=NULL LC_ALL=C 
R_ENABLE_JIT=0 TZ=UTC ../../../bin/R --vanilla --slave

make[8]: *** [sysdata] Error 133

make[7]: *** [all] Error 2

make[6]: *** [R] Error 1

make[5]: *** [R] Error 1

make[4]: *** [R] Error 1



Error building r-3.6.2.p0




real2m5.131s

user0m47.882s

sys 0m46.001s



Error installing package r-3.6.2.p0




$ ls local/lib/libopenblas[tab]

libopenblas.0.dyliblibopenblas.dylib  
libopenblas_haswellp-r0.3.9.dylib  


So I'm not sure why it's asking for an older version of libopenblas.  Full 
R log at http://www.math.gordon.edu/~kcrisman/r-3.6.2.p0.log

-- 
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/46fe726e-0808-4a2e-a1de-e1aa3b361289o%40googlegroups.com.