Re: [sage-release] Sage 8.4.beta5 released

2018-09-21 Thread 'Justin C. Walker' via sage-release



> On Sep 15, 2018, at 06:25 , 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 from a fresh clone of the develop branch on two systems:

macOS 10.13.6 (iMac Pro, Xeon): built w/o problems, but testing (‘ptestlong’) 
yielded three failures:

sage -t --long --warn-long 87.5 src/sage/libs/singular/polynomial.pyx  # 1 
doctest failed
sage -t --long --warn-long 87.5 src/sage/doctest/external.py  # Killed due to 
abort
sage -t --long --warn-long 87.5 src/sage/combinat/designs/ext_rep.py  # Killed 
due to abort

Failures persisted when run stand-alone.  Crash logs, etc., available on 
request.

macOS 10.11.6 (mid-2015 MBP, Quad-core Core i7): build did not even get started 
- bootstrap failed as reported earlier.
Anyone know why bootstrap fails here but not on 10.13?  I’ve cloned the branch 
several times, with no change (someone mentioned something about insanity 
here…).

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
---
Nobody knows the trouble I've been
---



-- 
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 8.4.beta5 released

2018-09-18 Thread Andy Howell
Steven,

I had a cursory look at that yesterday. It looks like it should work,
but obviously does not. It seems like the  t_dir = tmp_dir() should
create a temporary directory, so test.py being there should not be an issue.

I can look at it more in depth in a couple days.

Regards,

Andy


On 09/17/2018 10:27 PM, Steven Trogdon wrote:
> This is now https://trac.sagemath.org/ticket/26304. I think this
> should be corrected.
>
> On Monday, September 17, 2018 at 6:10:47 AM UTC-5, Erik Bray wrote:
>
> On Mon, Sep 17, 2018 at 5:04 AM Andy Howell  > wrote:
> >
> > Steven,
> >
> > Thanks for confirming I'm an idiot:) I did have a test.py in
> there. Sorry for the noise. Re-running the tests to make sure, but
> its almost certainly my fault.
>
> In fairness, that test is poorly written if merely having a file
> called test.py in your SAGE_ROOT can break it.  I think I've been
> bitten by that one as well.  It's not your fault.
>
> > On 09/16/2018 09:42 PM, Steven Trogdon wrote:
> >
> > Just guessing, but do you by chance have the file 'test.py' in
> SAGE_ROOT? I think that's where it's looking. If so, remove it and
> repeat the tests.
> >
> > On Sunday, September 16, 2018 at 3:38:44 PM UTC-5, Andy Howell
> wrote:
> >>
> >> I'm getting two tests failing on Ubuntu 18.04.1 LTS
> >>
> >> sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7
> doctests failed
> >> sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1
> doctest failed
> >>
> >> I did an incremental build and the test failed. I did a distclean,
> >> rebuild, and ran ptestlong again. It still fails.
> >>
> >> Log for failed tests below.
> >>
> >> Regards,
> >>
> >> Andy
> >>
> >>
> >> sage -t --long --warn-long 39.4 src/sage/repl/attach.py
> >>
> **
>
> >> File "src/sage/repl/attach.py", line 171, in
> >> sage.repl.attach.load_attach_path
> >> Failed example:
> >>     attach('test.py')
> >> Expected:
> >>     Traceback (most recent call last):
> >>     ...
> >>     IOError: did not find file 'test.py' to load or attach
> >> Got:
> >>     
> >>     Traceback (most recent call last):
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> >> line 659, in _run
> >>         self.compile_and_execute(example, compiler, test.globs)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> >> line 1070, in compile_and_execute
> >>         exec(compiled, globs)
> >>       File "",
> line 1, in
> >> 
> >>         attach('test.py')
> >>       File "sage/misc/lazy_import.pyx", line 354, in
> >> sage.misc.lazy_import.LazyImport.__call__
> >> (build/cythonized/sage/misc/lazy_import.c:3759)
> >>         return self.get_object()(*args, **kwds)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>
> >> line 349, in attach
> >>         load(filename, globals(), attach=True)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>
> >> line 243, in load
> >>         exec(code, globals)
> >>       File "./test.py", line 4, in 
> >>         h=e^-x
> >>     NameError: name 'e' is not defined
> >>
> **
>
> >> File "src/sage/repl/attach.py", line 176, in
> >> sage.repl.attach.load_attach_path
> >> Failed example:
> >>     attach('test.py')
> >> Exception raised:
> >>     Traceback (most recent call last):
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> >> line 659, in _run
> >>         self.compile_and_execute(example, compiler, test.globs)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> >> line 1070, in compile_and_execute
> >>         exec(compiled, globs)
> >>       File "",
> line 1, in
> >> 
> >>         attach('test.py')
> >>       File "sage/misc/lazy_import.pyx", line 354, in
> >> sage.misc.lazy_import.LazyImport.__call__
> >> (build/cythonized/sage/misc/lazy_import.c:3759)
> >>         return self.get_object()(*args, **kwds)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>
> >> line 349, in attach
> >>         load(filename, globals(), attach=True)
> >>       File
> >>
> 
> 

Re: [sage-release] Sage 8.4.beta5 released

2018-09-17 Thread Daniel Krenn
On 2018-09-17 10:05, Eric Gourgoulhon wrote:
> I had exactly the same issue with Ubuntu 18.04.
> I installed the package automake (and its dependency autotools-dev) to
> solve it (build is proceeding smoothly now).

Works now. Thanks.

make ptestlong passed.

-- 
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 8.4.beta5 released

2018-09-17 Thread Erik Bray
On Mon, Sep 17, 2018 at 10:05 AM Eric Gourgoulhon
 wrote:
>
> Le lundi 17 septembre 2018 09:10:19 UTC+2, Daniel Krenn a écrit :
>>
>> On 2018-09-15 15:25, 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
>>
>> I get an error quite early: Fresh git clone and then make immediately fails:
>>
>> dakrenn@nops:/opt/sage/8.4.beta5$ make
>> make build/make/Makefile --stop
>> make[1]: Entering directory '/opt/sage/8.4.beta5'
>> ./bootstrap -d
>> make[2]: Entering directory '/opt/sage/8.4.beta5'
>> rm -rf config configure build/make/Makefile-auto.in
>> make[2]: Leaving directory '/opt/sage/8.4.beta5'
>> ./bootstrap: line 30: aclocal: command not found
>>
>
> I had exactly the same issue with Ubuntu 18.04.
> I installed the package automake (and its dependency autotools-dev) to solve 
> it (build is proceeding smoothly now).
> Since automake was not necessary to build Sage 8.4.beta3, I guess there has 
> been some recent change in the build system.

I opened https://trac.sagemath.org/ticket/26298 for this.

-- 
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 8.4.beta5 released

2018-09-17 Thread Erik Bray
On Mon, Sep 17, 2018 at 5:04 AM Andy Howell  wrote:
>
> Steven,
>
> Thanks for confirming I'm an idiot:) I did have a test.py in there. Sorry for 
> the noise. Re-running the tests to make sure, but its almost certainly my 
> fault.

In fairness, that test is poorly written if merely having a file
called test.py in your SAGE_ROOT can break it.  I think I've been
bitten by that one as well.  It's not your fault.

> On 09/16/2018 09:42 PM, Steven Trogdon wrote:
>
> Just guessing, but do you by chance have the file 'test.py' in SAGE_ROOT? I 
> think that's where it's looking. If so, remove it and repeat the tests.
>
> On Sunday, September 16, 2018 at 3:38:44 PM UTC-5, Andy Howell wrote:
>>
>> I'm getting two tests failing on Ubuntu 18.04.1 LTS
>>
>> sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7 doctests failed
>> sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1 doctest failed
>>
>> I did an incremental build and the test failed. I did a distclean,
>> rebuild, and ran ptestlong again. It still fails.
>>
>> Log for failed tests below.
>>
>> Regards,
>>
>> Andy
>>
>>
>> sage -t --long --warn-long 39.4 src/sage/repl/attach.py
>> **
>> File "src/sage/repl/attach.py", line 171, in
>> sage.repl.attach.load_attach_path
>> Failed example:
>> attach('test.py')
>> Expected:
>> Traceback (most recent call last):
>> ...
>> IOError: did not find file 'test.py' to load or attach
>> Got:
>> 
>> Traceback (most recent call last):
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>> line 659, in _run
>> self.compile_and_execute(example, compiler, test.globs)
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>> line 1070, in compile_and_execute
>> exec(compiled, globs)
>>   File "", line 1, in
>> 
>> attach('test.py')
>>   File "sage/misc/lazy_import.pyx", line 354, in
>> sage.misc.lazy_import.LazyImport.__call__
>> (build/cythonized/sage/misc/lazy_import.c:3759)
>> return self.get_object()(*args, **kwds)
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>> line 349, in attach
>> load(filename, globals(), attach=True)
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>> line 243, in load
>> exec(code, globals)
>>   File "./test.py", line 4, in 
>> h=e^-x
>> NameError: name 'e' is not defined
>> **
>> File "src/sage/repl/attach.py", line 176, in
>> sage.repl.attach.load_attach_path
>> Failed example:
>> attach('test.py')
>> Exception raised:
>> Traceback (most recent call last):
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>> line 659, in _run
>> self.compile_and_execute(example, compiler, test.globs)
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>> line 1070, in compile_and_execute
>> exec(compiled, globs)
>>   File "", line 1, in
>> 
>> attach('test.py')
>>   File "sage/misc/lazy_import.pyx", line 354, in
>> sage.misc.lazy_import.LazyImport.__call__
>> (build/cythonized/sage/misc/lazy_import.c:3759)
>> return self.get_object()(*args, **kwds)
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>> line 349, in attach
>> load(filename, globals(), attach=True)
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>> line 243, in load
>> exec(code, globals)
>>   File "./test.py", line 4, in 
>> h=e^-x
>> NameError: name 'e' is not defined
>> **
>> File "src/sage/repl/attach.py", line 178, in
>> sage.repl.attach.load_attach_path
>> Failed example:
>> attached_files() == [fullpath]
>> Expected:
>> True
>> Got:
>> False
>> **
>> File "src/sage/repl/attach.py", line 183, in
>> sage.repl.attach.load_attach_path
>> Failed example:
>> load('test.py')
>> Expected:
>> Traceback (most recent call last):
>> ...
>> IOError: did not find file 'test.py' to load or attach
>> Got:
>> 
>> Traceback (most recent call last):
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>> line 659, in _run
>> self.compile_and_execute(example, compiler, test.globs)
>>   File
>> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>> line 1070, in compile_and_execute
>> exec(compiled, globs)
>>   File "", line 1, in
>> 
>>  

Re: [sage-release] Sage 8.4.beta5 released

2018-09-17 Thread 'Justin C. Walker' via sage-release


> On Sep 17, 2018, at 00:10 , Daniel Krenn  wrote:
> 
> On 2018-09-15 15:25, 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
> 
> I get an error quite early: Fresh git clone and then make immediately fails:
> 
> dakrenn@nops:/opt/sage/8.4.beta5$ make
> make build/make/Makefile --stop
> make[1]: Entering directory '/opt/sage/8.4.beta5'
> ./bootstrap -d
> make[2]: Entering directory '/opt/sage/8.4.beta5'
> rm -rf config configure build/make/Makefile-auto.in
> make[2]: Leaving directory '/opt/sage/8.4.beta5'
> ./bootstrap: line 30: aclocal: command not found
> Bootstrap failed, downloading required files instead.
> /usr/bin/env: ‘sage-system-python’: No such file or directory
> Error: downloading configure-282.tar.gz failed
> Makefile:194: recipe for target 'configure' failed
> make[1]: *** [configure] Error 1
> make[1]: Leaving directory '/opt/sage/8.4.beta5'
> Makefile:31: recipe for target 'base-toolchain' failed
> make: *** [base-toolchain] Error 2
> 
> I just tested again on 8.4.beta3; there it worked. Is anything essential
> changed in the build system? Any new dependencies or similar? Any ideas?

I find a similar problem: macOS 10.11.6, fresh clone of the develop branch, 
with this output:

$ time MAKE="make -j5" make ptestlong
make -j5 build/make/Makefile --stop
./bootstrap -d
rm -rf config configure build/make/Makefile-auto.in
./bootstrap: line 30: aclocal: command not found
Bootstrap failed, downloading required files instead.
env: sage-system-python: No such file or directory
Error: downloading configure-282.tar.gz failed
make[1]: *** [configure] Error 1
make: *** [base-toolchain] Error 2

Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
---
While creating wives, God promised men
that good and obedient wives would be
found in all corners of the world.
Then He made the earth round.
--








-- 
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 8.4.beta5 released

2018-09-17 Thread Eric Gourgoulhon
Le lundi 17 septembre 2018 09:10:19 UTC+2, Daniel Krenn a écrit :
>
> On 2018-09-15 15:25, 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 
>
> I get an error quite early: Fresh git clone and then make immediately 
> fails: 
>
> dakrenn@nops:/opt/sage/8.4.beta5$ make 
> make build/make/Makefile --stop 
> make[1]: Entering directory '/opt/sage/8.4.beta5' 
> ./bootstrap -d 
> make[2]: Entering directory '/opt/sage/8.4.beta5' 
> rm -rf config configure build/make/Makefile-auto.in 
> make[2]: Leaving directory '/opt/sage/8.4.beta5' 
> ./bootstrap: line 30: aclocal: command not found 
>
>
I had exactly the same issue with Ubuntu 18.04.
I installed the package automake (and its dependency autotools-dev) to 
solve it (build is proceeding smoothly now).
Since automake was not necessary to build Sage 8.4.beta3, I guess there has 
been some recent change in the build system.

Eric. 

-- 
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 8.4.beta5 released

2018-09-17 Thread Daniel Krenn
On 2018-09-15 15:25, 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

I get an error quite early: Fresh git clone and then make immediately fails:

dakrenn@nops:/opt/sage/8.4.beta5$ make
make build/make/Makefile --stop
make[1]: Entering directory '/opt/sage/8.4.beta5'
./bootstrap -d
make[2]: Entering directory '/opt/sage/8.4.beta5'
rm -rf config configure build/make/Makefile-auto.in
make[2]: Leaving directory '/opt/sage/8.4.beta5'
./bootstrap: line 30: aclocal: command not found
Bootstrap failed, downloading required files instead.
/usr/bin/env: ‘sage-system-python’: No such file or directory
Error: downloading configure-282.tar.gz failed
Makefile:194: recipe for target 'configure' failed
make[1]: *** [configure] Error 1
make[1]: Leaving directory '/opt/sage/8.4.beta5'
Makefile:31: recipe for target 'base-toolchain' failed
make: *** [base-toolchain] Error 2

I just tested again on 8.4.beta3; there it worked. Is anything essential
changed in the build system? Any new dependencies or similar? Any ideas?

Best

Daniel

-- 
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 8.4.beta5 released

2018-09-16 Thread Andy Howell
Steven,

Thanks for confirming I'm an idiot:) I did have a test.py in there.
Sorry for the noise. Re-running the tests to make sure, but its almost
certainly my fault.

Andy


On 09/16/2018 09:42 PM, Steven Trogdon wrote:
> Just guessing, but do you by chance have the file 'test.py' in
> SAGE_ROOT? I think that's where it's looking. If so, remove it and
> repeat the tests.
>
> On Sunday, September 16, 2018 at 3:38:44 PM UTC-5, Andy Howell wrote:
>
> I'm getting two tests failing on Ubuntu 18.04.1 LTS
>
> sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7
> doctests failed
> sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1 doctest
> failed
>
> I did an incremental build and the test failed. I did a distclean,
> rebuild, and ran ptestlong again. It still fails.
>
> Log for failed tests below.
>
> Regards,
>
> Andy
>
>
> sage -t --long --warn-long 39.4 src/sage/repl/attach.py
> **
>
> File "src/sage/repl/attach.py", line 171, in
> sage.repl.attach.load_attach_path
> Failed example:
>     attach('test.py')
> Expected:
>     Traceback (most recent call last):
>     ...
>     IOError: did not find file 'test.py' to load or attach
> Got:
>     
>     Traceback (most recent call last):
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 659, in _run
>     self.compile_and_execute(example, compiler, test.globs)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 1070, in compile_and_execute
>     exec(compiled, globs)
>   File "", line
> 1, in
> 
>     attach('test.py')
>   File "sage/misc/lazy_import.pyx", line 354, in
> sage.misc.lazy_import.LazyImport.__call__
> (build/cythonized/sage/misc/lazy_import.c:3759)
>     return self.get_object()(*args, **kwds)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>
> line 349, in attach
>     load(filename, globals(), attach=True)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>
> line 243, in load
>     exec(code, globals)
>   File "./test.py", line 4, in 
>     h=e^-x
>     NameError: name 'e' is not defined
> **
>
> File "src/sage/repl/attach.py", line 176, in
> sage.repl.attach.load_attach_path
> Failed example:
>     attach('test.py')
> Exception raised:
>     Traceback (most recent call last):
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 659, in _run
>     self.compile_and_execute(example, compiler, test.globs)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 1070, in compile_and_execute
>     exec(compiled, globs)
>   File "", line
> 1, in
> 
>     attach('test.py')
>   File "sage/misc/lazy_import.pyx", line 354, in
> sage.misc.lazy_import.LazyImport.__call__
> (build/cythonized/sage/misc/lazy_import.c:3759)
>     return self.get_object()(*args, **kwds)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>
> line 349, in attach
>     load(filename, globals(), attach=True)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>
> line 243, in load
>     exec(code, globals)
>   File "./test.py", line 4, in 
>     h=e^-x
>     NameError: name 'e' is not defined
> **
>
> File "src/sage/repl/attach.py", line 178, in
> sage.repl.attach.load_attach_path
> Failed example:
>     attached_files() == [fullpath]
> Expected:
>     True
> Got:
>     False
> **
>
> File "src/sage/repl/attach.py", line 183, in
> sage.repl.attach.load_attach_path
> Failed example:
>     load('test.py')
> Expected:
>     Traceback (most recent call last):
>     ...
>     IOError: did not find file 'test.py' to load or attach
> Got:
>     
>     Traceback (most recent call last):
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 659, in _run
>     self.compile_and_execute(example, compiler, test.globs)
>   File
> 
> 

Re: [sage-release] Sage 8.4.beta5 released

2018-09-16 Thread Steven Trogdon
Just guessing, but do you by chance have the file 'test.py' in SAGE_ROOT? I 
think that's where it's looking. If so, remove it and repeat the tests.

On Sunday, September 16, 2018 at 3:38:44 PM UTC-5, Andy Howell wrote:
>
> I'm getting two tests failing on Ubuntu 18.04.1 LTS 
>
> sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7 doctests 
> failed 
> sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1 doctest failed 
>
> I did an incremental build and the test failed. I did a distclean, 
> rebuild, and ran ptestlong again. It still fails. 
>
> Log for failed tests below. 
>
> Regards, 
>
> Andy 
>
>
> sage -t --long --warn-long 39.4 src/sage/repl/attach.py 
> ** 
> File "src/sage/repl/attach.py", line 171, in 
> sage.repl.attach.load_attach_path 
> Failed example: 
> attach('test.py') 
> Expected: 
> Traceback (most recent call last): 
> ... 
> IOError: did not find file 'test.py' to load or attach 
> Got: 
>  
> Traceback (most recent call last): 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
>
> line 659, in _run 
> self.compile_and_execute(example, compiler, test.globs) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
>
> line 1070, in compile_and_execute 
> exec(compiled, globs) 
>   File "", line 1, in 
>  
> attach('test.py') 
>   File "sage/misc/lazy_import.pyx", line 354, in 
> sage.misc.lazy_import.LazyImport.__call__ 
> (build/cythonized/sage/misc/lazy_import.c:3759) 
> return self.get_object()(*args, **kwds) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>  
>
> line 349, in attach 
> load(filename, globals(), attach=True) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>  
>
> line 243, in load 
> exec(code, globals) 
>   File "./test.py", line 4, in  
> h=e^-x 
> NameError: name 'e' is not defined 
> ** 
> File "src/sage/repl/attach.py", line 176, in 
> sage.repl.attach.load_attach_path 
> Failed example: 
> attach('test.py') 
> Exception raised: 
> Traceback (most recent call last): 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
>
> line 659, in _run 
> self.compile_and_execute(example, compiler, test.globs) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
>
> line 1070, in compile_and_execute 
> exec(compiled, globs) 
>   File "", line 1, in 
>  
> attach('test.py') 
>   File "sage/misc/lazy_import.pyx", line 354, in 
> sage.misc.lazy_import.LazyImport.__call__ 
> (build/cythonized/sage/misc/lazy_import.c:3759) 
> return self.get_object()(*args, **kwds) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>  
>
> line 349, in attach 
> load(filename, globals(), attach=True) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>  
>
> line 243, in load 
> exec(code, globals) 
>   File "./test.py", line 4, in  
> h=e^-x 
> NameError: name 'e' is not defined 
> ** 
> File "src/sage/repl/attach.py", line 178, in 
> sage.repl.attach.load_attach_path 
> Failed example: 
> attached_files() == [fullpath] 
> Expected: 
> True 
> Got: 
> False 
> ** 
> File "src/sage/repl/attach.py", line 183, in 
> sage.repl.attach.load_attach_path 
> Failed example: 
> load('test.py') 
> Expected: 
> Traceback (most recent call last): 
> ... 
> IOError: did not find file 'test.py' to load or attach 
> Got: 
>  
> Traceback (most recent call last): 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
>
> line 659, in _run 
> self.compile_and_execute(example, compiler, test.globs) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>  
>
> line 1070, in compile_and_execute 
> exec(compiled, globs) 
>   File "", line 1, in 
>  
> load('test.py') 
>   File "sage/misc/persist.pyx", line 136, in sage.misc.persist.load 
> (build/cythonized/sage/misc/persist.c:2440) 
> sage.repl.load.load(filename, globals()) 
>   File 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>  
>
> line 243, in load 
> exec(code, globals) 
>   File "./test.py", line 4, in  
> h=e^-x 
>   File 

Re: [sage-release] Sage 8.4.beta5 released

2018-09-16 Thread Andy Howell
I'm getting two tests failing on Ubuntu 18.04.1 LTS

sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7 doctests failed
sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1 doctest failed

I did an incremental build and the test failed. I did a distclean,
rebuild, and ran ptestlong again. It still fails.

Log for failed tests below.

Regards,

Andy


sage -t --long --warn-long 39.4 src/sage/repl/attach.py
**
File "src/sage/repl/attach.py", line 171, in
sage.repl.attach.load_attach_path
Failed example:
    attach('test.py')
Expected:
    Traceback (most recent call last):
    ...
    IOError: did not find file 'test.py' to load or attach
Got:
    
    Traceback (most recent call last):
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 659, in _run
    self.compile_and_execute(example, compiler, test.globs)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1070, in compile_and_execute
    exec(compiled, globs)
  File "", line 1, in

    attach('test.py')
  File "sage/misc/lazy_import.pyx", line 354, in
sage.misc.lazy_import.LazyImport.__call__
(build/cythonized/sage/misc/lazy_import.c:3759)
    return self.get_object()(*args, **kwds)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
line 349, in attach
    load(filename, globals(), attach=True)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
line 243, in load
    exec(code, globals)
  File "./test.py", line 4, in 
    h=e^-x
    NameError: name 'e' is not defined
**
File "src/sage/repl/attach.py", line 176, in
sage.repl.attach.load_attach_path
Failed example:
    attach('test.py')
Exception raised:
    Traceback (most recent call last):
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 659, in _run
    self.compile_and_execute(example, compiler, test.globs)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1070, in compile_and_execute
    exec(compiled, globs)
  File "", line 1, in

    attach('test.py')
  File "sage/misc/lazy_import.pyx", line 354, in
sage.misc.lazy_import.LazyImport.__call__
(build/cythonized/sage/misc/lazy_import.c:3759)
    return self.get_object()(*args, **kwds)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
line 349, in attach
    load(filename, globals(), attach=True)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
line 243, in load
    exec(code, globals)
  File "./test.py", line 4, in 
    h=e^-x
    NameError: name 'e' is not defined
**
File "src/sage/repl/attach.py", line 178, in
sage.repl.attach.load_attach_path
Failed example:
    attached_files() == [fullpath]
Expected:
    True
Got:
    False
**
File "src/sage/repl/attach.py", line 183, in
sage.repl.attach.load_attach_path
Failed example:
    load('test.py')
Expected:
    Traceback (most recent call last):
    ...
    IOError: did not find file 'test.py' to load or attach
Got:
    
    Traceback (most recent call last):
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 659, in _run
    self.compile_and_execute(example, compiler, test.globs)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1070, in compile_and_execute
    exec(compiled, globs)
  File "", line 1, in

    load('test.py')
  File "sage/misc/persist.pyx", line 136, in sage.misc.persist.load
(build/cythonized/sage/misc/persist.c:2440)
    sage.repl.load.load(filename, globals())
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
line 243, in load
    exec(code, globals)
  File "./test.py", line 4, in 
    h=e^-x
  File "sage/structure/element.pyx", line 955, in
sage.structure.element.Element.__xor__
(build/cythonized/sage/structure/element.c:9013)
    raise RuntimeError("Use ** for exponentiation, not '^', which
means xor\n"+\
    RuntimeError: Use ** for exponentiation, not '^', which means xor
    in Python, and has the wrong precedence.
**
File "src/sage/repl/attach.py", line 436, in sage.repl.attach.detach
Failed example:
    attach('test.py')
Exception raised:
    Traceback (most recent call last):
  File

[sage-release] Sage 8.4.beta5 released

2018-09-15 Thread 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

ca26fcca0f (tag: 8.4.beta5, trac/develop) Updated SageMath version to 
8.4.beta5
80fa115c3d Trac #26278: TermOrder: remove deprecated methods and minor code 
cleanup
635333d2da Trac #26277: py3: MInor sorting issue with Stanley-Reisner ring
bfc4794c8c Trac #26273: remove deprecated stuff in character art
6f1c942d83 Trac #26272: cleanup Cusps class over number field
b01215c160 Trac #18438: Race between building and using python
8e3012e4cf Trac #26270: py3: trivial fix and cleanup for sage.coding
b7d08fdb01 Trac #26258: py3 : Fix doctest in enumerated_sets.py
f38576f418 Trac #26268: simplify coercion for shuffle algebras
d4d4928f4e Trac #26267: py3: fix IPython's automatic pprinting of dicts in 
doctests
28ad37f572 Trac #26264: py3: fixes for the hypergeometric() symbolic 
function
7a7dcbb7c3 Trac #26262: remove some deprecated stuff in words
95bbe69626 Trac #26261: py3: hash for MPolynomial_polydict
37a8b3660c Trac #26260: py3: hash for products of projective spaces
b6bd2c6212 Trac #26263: py3: minor fixes for sage.rings.number_field
8167dcaeac Trac #26257: remove some deprecated stuff in elliptic curves
159fe1ea94 Trac #26248: remove deprecated argument use_eclib in padics 
elliptic curves
5c7a717734 Trac #26247: remove most deprecated stuff in crystals
e8a1755100 Trac #26245: pep cleanup of the file 
/modular/modsym/relation_matrix.py
500b50c430 Trac #26256: remove deprecated stuff in calculus/var.pyx
6dc4f5824e Trac #26252: minor flint fixes
e70e773411 Trac #26251: sort one doctest in reflection_group iterator
88b6945bc6 Trac #26246: remove the deprecated coxeter_matrix + pep cleanup
82e38ff52c Trac #26242: trying not to sort the edges of graphs (step 2)
52226b557d Trac #26240: PARI memory leak in conversion to finite field
9ea49ac498 Trac #26225: py3: change the repr of Finite families
6cece7d335 Trac #25598: Triconnectivity linear time algorithm
4da33d08d7 Trac #26213: py3: minor cleanup in sage.finance.stock
2dadc6a4de Trac #26235: Implement set and get nthreads for magma interface
98b1d6477d Trac #26055: py3 fix for wigner.py
5c5d14fddc Trac #26250: rubiks makefile should use MAKE
2eac7ecfc2 Trac #26236: py3: some care for matrix/
ca8203b5e3 Trac #26078: Ideals and subalgebras of finite dimensional Lie 
algebras
c9b8516839 Trac #26027: Implement morphisms for differential graded 
commutative algebras
8b21d32086 Trac #26233: repair findstat submission interface
f8927f24bb Trac #26230: construction functor for free Zinbiel algebras
031e5223ba Trac #26228: Fix bug in graph_coloring.py
cf6f90d1ce Trac #26221: Enable hash for FreeMonoid_class
7bedb82a8d Trac #20416: Various callers of MixedIntegerLinearProgram should 
accept and pass through a solver argument
585fda21d4 Trac #25795: minor optimization in comparison between morphisms
3eeae58013 Trac #25991: translation issue of erfc(x) to FriCAS
5c5ed42f11 Trac #26226: py3: fix Kleshchev partitions
2c3a6109e7 Trac #26224: py3: fix doctests in quadratic/
20f8c7f76e Trac #26223: py3: partial fix in sat
d14cb7ac2c Trac #26211: py3: fix doctests in quivers/
07c51c3b3e Trac #26204: py3: care for xrange in src/doc
19f69caf5e Trac #26180: expose FriCAS as differential equation solver
33d3383c61 Trac #25942: speedup central orthogonal idempotents for 
SymmetricGroupAlgebra
5391cba7f6 Trac #26219: Python 3 tests for algebras/steenrod
785d577d1c Trac #26209: py3: doctests in database/conway and 
tests/py3_syntax
058aa86de8 Trac #26207: py3: fix doctests for universal cyclotomic field
cca7bbf230 Trac #26220: Fix CoercionException imports
9570afcac3 Trac #26218: py3: hash for integer vectors with constraints
e1fb294481 Trac #26217: final cleanup of invalid escape sequences
b457e58218 Trac #26216: py3: fix doctests in probability/
be4ca2d7e1 Trac #26215: py3: fix doctests in combinat/sf/
ad64c85da0 Trac #26214: py3: fix doctests in logic/
5c912738b4 Trac #26210: py3: fix some doctests in plot/
3ee673243d Trac #26208: py3: fix doctests in arith/
a11fe6a244 Trac #26205: py3: Add rich comparision to LatticePolytopeClass
591a17c5ae Trac #26188: various small python3 fixes
d4605f2da3 Trac #26091: py3: hash for projective space
b9c7f4b4ec Trac #25952: smallest coefficient model for binary forms and 
dynamical systems
13b80d945f Trac #25663: py3: do not use isinstance(  ,file) in graph_list
cbfa0f5c9b Trac #26198: py3 : hash for test_parent4
d965612cb0 Trac #25967: Optimize is_constructible_by_doublings
bd5759718f Trac #26201: Remove deprecation warnings introduced in #18938
5e1a12f881 Trac #26200: deprecate import of  all_max_clique, max_clique and 
clique_number in global namespace
d9778af2dd Trac #26197: Fix use of Baker's theorem for determination of 
differentials
6658969554 Trac #26196: cleanup the imports of Eta products in global 
namespace
77282413d8 Trac #26193: py3 : hash for the