Re: [sage-release] Sage 7.4.beta2 released

2016-08-27 Thread Vincent Delecroix

#21357 needs review

On 27/08/16 22:02, leif wrote:

Vincent Delecroix wrote:

However, running the patchbot on the same computer I got one failing
doctest

Failed example:
G.canonical_label(certify=True)
Expected:
doctest:...: DeprecationWarning: use the option 'certificate'
instead of 'certify'
See http://trac.sagemath.org/2 for details.
(Graph on 2 vertices, {'a': 0, 'b': 1})
Got:
doctest:warning
...
DeprecationWarning: use the option 'certificate' instead of 'certify'
See http://trac.sagemath.org/2 for details.
(Graph on 2 vertices, {'a': 1, 'b': 0})


... which shows that

a) the test doesn't make sense (after all, it's supposed to just test
the deprecation of "certify" I think)

b) as is, the representation returned for a vertex-labeled graph isn't
canonical... ;-)


-leif


P.S.:  File src/sage/graphs/generic_graph.py, line 20930.




On 27/08/16 00:11, Vincent Delecroix wrote:

Builds and tests long pass on Ubuntu 14.04.5 LTS (gcc version 4.8.4).

Vincent






--
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 7.4.beta2 released

2016-08-27 Thread Vincent Delecroix



On 27/08/16 22:02, leif wrote:

Vincent Delecroix wrote:

>
> [...]
>

b) as is, the representation returned for a vertex-labeled graph isn't
canonical... ;-)


It might if the graph has an automorphism!

Vincent

--
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 7.4.beta2 released

2016-08-27 Thread leif
Vincent Delecroix wrote:
> However, running the patchbot on the same computer I got one failing
> doctest
> 
> Failed example:
> G.canonical_label(certify=True)
> Expected:
> doctest:...: DeprecationWarning: use the option 'certificate'
> instead of 'certify'
> See http://trac.sagemath.org/2 for details.
> (Graph on 2 vertices, {'a': 0, 'b': 1})
> Got:
> doctest:warning
> ...
> DeprecationWarning: use the option 'certificate' instead of 'certify'
> See http://trac.sagemath.org/2 for details.
> (Graph on 2 vertices, {'a': 1, 'b': 0})

... which shows that

a) the test doesn't make sense (after all, it's supposed to just test
the deprecation of "certify" I think)

b) as is, the representation returned for a vertex-labeled graph isn't
canonical... ;-)


-leif


P.S.:  File src/sage/graphs/generic_graph.py, line 20930.


> 
> On 27/08/16 00:11, Vincent Delecroix wrote:
>> Builds and tests long pass on Ubuntu 14.04.5 LTS (gcc version 4.8.4).
>>
>> Vincent
> 

-- 
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 7.4.beta2 released

2016-08-27 Thread Vincent Delecroix

However, running the patchbot on the same computer I got one failing doctest

Failed example:
G.canonical_label(certify=True)
Expected:
doctest:...: DeprecationWarning: use the option 'certificate' 
instead of 'certify'

See http://trac.sagemath.org/2 for details.
(Graph on 2 vertices, {'a': 0, 'b': 1})
Got:
doctest:warning
...
DeprecationWarning: use the option 'certificate' instead of 'certify'
See http://trac.sagemath.org/2 for details.
(Graph on 2 vertices, {'a': 1, 'b': 0})

On 27/08/16 00:11, Vincent Delecroix wrote:

Builds and tests long pass on Ubuntu 14.04.5 LTS (gcc version 4.8.4).

Vincent


--
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Sage 7.4.beta2 released

2016-08-27 Thread leif
leif wrote:
> Steven Trogdon wrote:
>> I have the following failure:
>>
>> sage: P = graphs.PetersenGraph() ## line 539 ##
>> sage: P.tutte_polynomial() ## line 540 ##
>> x^9 + 6*x^8 + 21*x^7 + 56*x^6 + 12*x^5*y + y^6 + 114*x^5 + 70*x^4*y +
>> 30*x^3*y^2 + 15*x^2*y^3 + 10*x*y^4 + 9*y^5 + 170*x^4 + 170*x^3*y +
>> 105*x^2*y^2 + 65*x*y^3 + 35*y^4 + 180*x^3 + 240*x^2*y + 171*x*y^2 +
>> 75*y^3 + 120*x^2 + 168*x*y + 84*y^2 + 36*x + 36*y
>> sage: G = graphs.RandomGNP(10,0.6) ## line 549 ##
>> sage: G.tutte_polynomial()(1,1) == G.spanning_trees_count() ## line 550 ##
>>
>> **
>> --
>> sage -t --long src/sage/graphs/tutte_polynomial.py  # Timed out
>> --
>>
>> which indicates progress in testing tutte_polynomial.py. When the file
>> is tested individually I get
>>
>> sage -t --long src/sage/graphs/tutte_polynomial.py
>> [105 tests, 1621.87 s]
>> --
>> All tests passed!
>> --
>> Total time for all tests: 1622.0 seconds
>> cpu time: 26.9 seconds
>> cumulative wall time: 1621.9 seconds
>>
>> The most recent previous test is with 7.2.rc2 where I have
>>
>> sage -t --long src/sage/graphs/tutte_polynomial.py
>> [105 tests, 3.99 s]
>>
>> And with my sage-on-gentoo install (7.4.beta2) I have
>>
>> sage -t --long
>> /usr/lib/python2.7/site-packages/sage/graphs/tutte_polynomial.py
>> [105 tests, 3.52 s]
>> --
>> All tests passed!
>> --
>> Total time for all tests: 3.6 seconds
>> cpu time: 3.5 seconds
>> cumulative wall time: 3.5 seconds
>>
>> So, something strange is going on?
> 
> Good catch, that's clearly a regression.  (For me it never timed out in
> ptestlong tho.)
> 
> 
> Sage 7.3, GCC 5.4:
> ==
> sage -t --long src/sage/graphs/tutte_polynomial.py
> [105 tests, 2.41 s]
> --
> All tests passed!
> --
> Total time for all tests: 2.5 seconds
> cpu time: 2.2 seconds
> cumulative wall time: 2.4 seconds
> 
> real  0m5.195s
> user  0m3.940s
> sys   0m0.750s
> 
> 
> Sage 7.3, GCC 6.1:
> ==
> sage -t --long ../src/sage/graphs/tutte_polynomial.py
> [105 tests, 3.23 s]
> --
> All tests passed!
> --
> Total time for all tests: 3.3 seconds
> cpu time: 3.0 seconds
> cumulative wall time: 3.2 seconds
> 
> real  0m7.406s
> user  0m6.150s
> sys   0m0.800s
> 
> 
> Sage 7.4.beta2, GCC 6.1:
> 
> sage -t --long src/sage/graphs/tutte_polynomial.py
> [105 tests, 956.75 s]
> --
> All tests passed!
> --
> Total time for all tests: 956.8 seconds
> cpu time: 13.8 seconds
> cumulative wall time: 956.7 seconds
> 
> real  15m59.486s
> user  12m9.160s
> sys   3m56.850s
> 
> 
> There's a Python process doing almost nothing most of the time...

P.S.:  It's not even a '# long' test (105 tests also without '--long').

And the regression happened *after* beta0 (i.e., in beta1 or beta2).


-leif

-- 
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


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

2016-08-27 Thread Justin C. Walker

> On Aug 17, 2016, at 13:28 , 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

Issues on OS X 10.6.11 similar to what I see with sage 7.4-b0: 

sage -t --long --warn-long 73.1 src/sage/tests/cmdline.py  # 4 doctests failed
sage -t --long --warn-long 73.1 src/sage/structure/sage_object.pyx  # 1 doctest 
failed
sage -t --long --warn-long 73.1 src/sage/repl/interpreter.py  # 2 doctests 
failed
sage -t --long --warn-long 73.1 src/sage/repl/ipython_extension.py  # 1 doctest 
failed
sage -t --long --warn-long 73.1 src/sage/repl/attach.py  # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/typeset/ascii_art.py  # 1 doctest 
failed
sage -t --long --warn-long 73.1 src/sage/repl/display/formatter.py  # 1 doctest 
failed
sage -t --long --warn-long 73.1 src/sage/repl/inputhook.pyx  # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/interface_magic.py  # 1 doctest 
failed
sage -t --long --warn-long 73.1 src/sage/repl/ipython_tests.py  # 1 doctest 
failed
sage -t --long --warn-long 73.1 src/sage/repl/rich_output/backend_ipython.py  # 
1 doctest failed
sage -t --long --warn-long 73.1 src/sage/modules/tutorial_free_modules.py  # 1 
doctest f

Have not yet repeated the tests or build.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds

If you're not confused,
You're not paying attention




-- 
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


[sage-release] Re: Sage 7.4.beta2 released

2016-08-27 Thread Volker Braun
This is https://trac.sagemath.org/ticket/21355

On Saturday, August 27, 2016 at 8:03:10 PM UTC+2, Steven Trogdon wrote:
>
> sage -t --long src/sage/graphs/tutte_polynomial.py  # Timed out
>

-- 
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Sage 7.4.beta2 released

2016-08-27 Thread leif
Steven Trogdon wrote:
> I have the following failure:
> 
> sage: P = graphs.PetersenGraph() ## line 539 ##
> sage: P.tutte_polynomial() ## line 540 ##
> x^9 + 6*x^8 + 21*x^7 + 56*x^6 + 12*x^5*y + y^6 + 114*x^5 + 70*x^4*y +
> 30*x^3*y^2 + 15*x^2*y^3 + 10*x*y^4 + 9*y^5 + 170*x^4 + 170*x^3*y +
> 105*x^2*y^2 + 65*x*y^3 + 35*y^4 + 180*x^3 + 240*x^2*y + 171*x*y^2 +
> 75*y^3 + 120*x^2 + 168*x*y + 84*y^2 + 36*x + 36*y
> sage: G = graphs.RandomGNP(10,0.6) ## line 549 ##
> sage: G.tutte_polynomial()(1,1) == G.spanning_trees_count() ## line 550 ##
> 
> **
> --
> sage -t --long src/sage/graphs/tutte_polynomial.py  # Timed out
> --
> 
> which indicates progress in testing tutte_polynomial.py. When the file
> is tested individually I get
> 
> sage -t --long src/sage/graphs/tutte_polynomial.py
> [105 tests, 1621.87 s]
> --
> All tests passed!
> --
> Total time for all tests: 1622.0 seconds
> cpu time: 26.9 seconds
> cumulative wall time: 1621.9 seconds
> 
> The most recent previous test is with 7.2.rc2 where I have
> 
> sage -t --long src/sage/graphs/tutte_polynomial.py
> [105 tests, 3.99 s]
> 
> And with my sage-on-gentoo install (7.4.beta2) I have
> 
> sage -t --long
> /usr/lib/python2.7/site-packages/sage/graphs/tutte_polynomial.py
> [105 tests, 3.52 s]
> --
> All tests passed!
> --
> Total time for all tests: 3.6 seconds
> cpu time: 3.5 seconds
> cumulative wall time: 3.5 seconds
> 
> So, something strange is going on?

Good catch, that's clearly a regression.  (For me it never timed out in
ptestlong tho.)


Sage 7.3, GCC 5.4:
==
sage -t --long src/sage/graphs/tutte_polynomial.py
[105 tests, 2.41 s]
--
All tests passed!
--
Total time for all tests: 2.5 seconds
cpu time: 2.2 seconds
cumulative wall time: 2.4 seconds

real0m5.195s
user0m3.940s
sys 0m0.750s


Sage 7.3, GCC 6.1:
==
sage -t --long ../src/sage/graphs/tutte_polynomial.py
[105 tests, 3.23 s]
--
All tests passed!
--
Total time for all tests: 3.3 seconds
cpu time: 3.0 seconds
cumulative wall time: 3.2 seconds

real0m7.406s
user0m6.150s
sys 0m0.800s


Sage 7.4.beta2, GCC 6.1:

sage -t --long src/sage/graphs/tutte_polynomial.py
[105 tests, 956.75 s]
--
All tests passed!
--
Total time for all tests: 956.8 seconds
cpu time: 13.8 seconds
cumulative wall time: 956.7 seconds

real15m59.486s
user12m9.160s
sys 3m56.850s


There's a Python process doing almost nothing most of the time...


-leif

-- 
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


[sage-release] Re: Sage 7.4.beta2 released

2016-08-27 Thread Steven Trogdon
I have the following failure:

sage: P = graphs.PetersenGraph() ## line 539 ##
sage: P.tutte_polynomial() ## line 540 ##
x^9 + 6*x^8 + 21*x^7 + 56*x^6 + 12*x^5*y + y^6 + 114*x^5 + 70*x^4*y + 
30*x^3*y^2 + 15*x^2*y^3 + 10*x*y^4 + 9*y^5 + 170*x^4 + 170*x^3*y + 
105*x^2*y^2 + 65*x*y^3 + 35*y^4 + 180*x^3 + 240*x^2*y + 171*x*y^2 + 75*y^3 
+ 120*x^2 + 168*x*y + 84*y^2 + 36*x + 36*y
sage: G = graphs.RandomGNP(10,0.6) ## line 549 ##
sage: G.tutte_polynomial()(1,1) == G.spanning_trees_count() ## line 550 ##

**
--
sage -t --long src/sage/graphs/tutte_polynomial.py  # Timed out
--

which indicates progress in testing tutte_polynomial.py. When the file is 
tested individually I get

sage -t --long src/sage/graphs/tutte_polynomial.py
[105 tests, 1621.87 s]
--
All tests passed!
--
Total time for all tests: 1622.0 seconds
cpu time: 26.9 seconds
cumulative wall time: 1621.9 seconds

The most recent previous test is with 7.2.rc2 where I have

sage -t --long src/sage/graphs/tutte_polynomial.py
[105 tests, 3.99 s]

And with my sage-on-gentoo install (7.4.beta2) I have

sage -t --long 
/usr/lib/python2.7/site-packages/sage/graphs/tutte_polynomial.py
[105 tests, 3.52 s]
--
All tests passed!
--
Total time for all tests: 3.6 seconds
cpu time: 3.5 seconds
cumulative wall time: 3.5 seconds

So, something strange is going on?

On Friday, August 26, 2016 at 12:51:24 PM UTC-5, 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
>
>

-- 
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 7.4.beta2 released

2016-08-27 Thread Jeroen Demeyer

On 2016-08-27 01:08, Johan S. H. Rosenkilde wrote:

I had to do make distclean: the Pari upgrade complained.


Do you have more details?

--
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 post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.