[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-18 Thread Jaap Spies

Craig Citro wrote:
 Hi Jaap,
 
 I went ahead and fixed (I hope!) the doctest below. (I just added a
 prec flag, and made the doctests use it, so this should avoid any sort
 of architecture-dependent issues). Could you try this out and let me
 know if it works, and then give the patch a positive review? Thanks!
 
 If anyone else is seeing this doctest failure, could you also try it
 out? (I don't see it on my machine, so I'm guessing this works, but I
 can't be sure.)
 
 Patch is here:
 
 http://trac.sagemath.org/sage_trac/ticket/2201
 
Hi Craig,

I couldn't apply this patch for some reason I don't understand!
abort: outstanding uncommitted changes

Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-18 Thread Jaap Spies

Craig Citro wrote:
As follow up:
 
 If anyone else is seeing this doctest failure, could you also try it
 out? (I don't see it on my machine, so I'm guessing this works, but I
 can't be sure.)
 
 Patch is here:
 
 http://trac.sagemath.org/sage_trac/ticket/2201
 

I applied the patch by hand.

And got:
copying build/lib.linux-i686-2.5/sage/rings/number_field/number_field.py - 
/home/jaap/downloads/sage-2.10.2.alpha0/local/lib/python2.5/site-packages/sage/rings/number_field
byte-compiling 
/home/jaap/downloads/sage-2.10.2.alpha0/local/lib/python2.5/site-packages/sage/rings/number_field/number_field.py
 to number_field.pyc
running install_scripts
changing mode of 
/home/jaap/downloads/sage-2.10.2.alpha0/local/bin/dsage_server.py to 775
changing mode of 
/home/jaap/downloads/sage-2.10.2.alpha0/local/bin/dsage_worker.py to 775
changing mode of 
/home/jaap/downloads/sage-2.10.2.alpha0/local/bin/dsage_setup.py to 775
running install_data
running install_egg_info
Removing 
/home/jaap/downloads/sage-2.10.2.alpha0/local/lib/python2.5/site-packages/sage-0.0.0-py2.5.egg-info
Writing 
/home/jaap/downloads/sage-2.10.2.alpha0/local/lib/python2.5/site-packages/sage-0.0.0-py2.5.egg-info
--
| SAGE Version 2.10.2.alpha0, Release Date: 2008-02-14   |
| Type notebook() for the GUI, and license() for information.|
--


sage:
Exiting SAGE (CPU time 0m0.00s, Wall time 0m14.94s).
[EMAIL PROTECTED] sage-2.10.2.alpha0]$ ./sage -t  
devel/sage-main/sage/rings/number_field/number_field.py
sage -t  devel/sage-main/sage/rings/number_field/number_field.py
  [21.3 s]

--
All tests passed!
Total time for all tests: 21.3 seconds

I'll give the trac a positive review.

Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-18 Thread Justin C. Walker

Hi, all,

On Feb 14, 2008, at 22:41 , mabshoff wrote:

 here is the first alpha0 for 2.10.2. It has been greatly delayed by
 SD7
 and then at least on my end by the cold I brought home from it that
 put
 me out of commission for two days. The big changes in this release
 are

  * Debianization of the build system
  * unramified and eisenstein extensions
  * code for enumerating totally real fields

 The tarball [206MB] is available at the usual place:

 http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.2/ 
 sage-2.10.2.alpha0.tar


The build fails on my Mac OS X system [10.4.11, Dual Quad Xeon].  The  
last part of the install log is appended.  The full (7MB!!) install  
log is in sage.math.washington.edu:logs/2.10.2.alpha0.log.

I built it with -j6.

I'm trying it now without parallelism, but in the meantime, any  
thoughts?

Justin

=
*** TOUCHING ALL CYTHON (.pyx) FILES ***
scons: `install' is up to date.

--
sage: Building and installing modified SAGE library files.


Installing c_lib
scons: `install' is up to date.
Traceback (most recent call last):
   File setup.py, line 1207, in module
 deps = create_deps(ext_modules)
   File setup.py, line 1198, in create_deps
 deps_graph(deps, f, visited)
   File setup.py, line 1165, in deps_graph
 this_deps = search_all_includes(f)
   File setup.py, line 1089, in search_all_includes
 S = open(filename).readlines()
IOError: [Errno 2] No such file or directory: 'sage-main/sage/modules/ 
free_module_element.pyx'
sage: There was an error installing modified sage library code.

ERROR installing SAGE


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

Men are from Earth.
Women are from Earth.
Deal with it.





--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-17 Thread Craig Citro

Hi Jaap,

I went ahead and fixed (I hope!) the doctest below. (I just added a
prec flag, and made the doctests use it, so this should avoid any sort
of architecture-dependent issues). Could you try this out and let me
know if it works, and then give the patch a positive review? Thanks!

If anyone else is seeing this doctest failure, could you also try it
out? (I don't see it on my machine, so I'm guessing this works, but I
can't be sure.)

Patch is here:

http://trac.sagemath.org/sage_trac/ticket/2201

-cc

 [EMAIL PROTECTED] sage-2.10.2.alpha0]$ ./sage -t  
 devel/sage-main/sage/rings/number_field/number_field.py
 sage -t  
 devel/sage-main/sage/rings/number_field/number_field.py**
 File number_field.py, line 2087:
  sage: F.reduced_basis()
 Expected:
  [1, alpha, alpha^2 - 15*alpha + 1, alpha^3 - 16*alpha^2 + 469*alpha + 
 267109]
 Got:
  [1, alpha, alpha^2 - 15*alpha, alpha^3 - 16*alpha^2 + 469*alpha + 267109]
 **
 1 items had failures:
 1 of   6 in __main__.example_60
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file .doctest_number_field.py
   [33.8 s]
 exit code: 256


 Jaap

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-16 Thread Jaap Spies

mabshoff wrote:
 SNIP
 The patch at
 http://trac.sagemath.org/sage_trac/attachment/ticket/1963/Sage-2.10.2...
 fixes the import error.
 
 Hi Jaap
 
 After applying the patch I got on Fedora 7 32 bits:
 --
 The following tests failed:

  sage -t  
 devel/sage-main/sage/rings/padics/padic_ZZ_pX_CR_element.pyx
  sage -t  devel/sage-main/sage/rings/number_field/number_field.py
 
 Interesting that there is a 32 vs 64 bit issue left in the extension
 code. The above two doctest failures should be caused by David's
 patch.
 
[EMAIL PROTECTED] sage-2.10.2.alpha0]$ ./sage -t  
devel/sage-main/sage/rings/number_field/number_field.py
sage -t  
devel/sage-main/sage/rings/number_field/number_field.py**
File number_field.py, line 2087:
 sage: F.reduced_basis()
Expected:
 [1, alpha, alpha^2 - 15*alpha + 1, alpha^3 - 16*alpha^2 + 469*alpha + 
267109]
Got:
 [1, alpha, alpha^2 - 15*alpha, alpha^3 - 16*alpha^2 + 469*alpha + 267109]
**
1 items had failures:
1 of   6 in __main__.example_60
***Test Failed*** 1 failures.
For whitespace errors, see the file .doctest_number_field.py
  [33.8 s]
exit code: 256


Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-16 Thread Jaap Spies

Craig Citro wrote:
  sage -t  devel/sage-main/sage/rings/number_field/number_field.py

 
 Actually, this one could be unexpected numerical noise from the code I
 added in with John Voight's code. Jaap, could you post this doctest
 failure, too?
 

Sorry I missed this message. See elsewhere in this thread.

Jaap



--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread mabshoff

Hello folks,

  * unramified and eisenstein extensions

We are having some problems with the build from vanilla sources build:

[10:11] mhansen-2028 mabshoff: You there?
[10:13] mhansen-2028 After building alpha0, I get the following:
[10:13] mhansen-2028 type 'exceptions.ImportError': No module
named padic_extension_generic_element
[10:26] mhansen-2028 wstein-grant: You around?
[10:36] wstein-grant hi
[10:36] wstein-grant hi mhansen-2028
[10:36] wstein-grant yep, alpha0 fails to work on all machines
because of the error mhansen-2028 mentions above.
[10:38] mhansen-2028 Lovely :)
[10:38] mhansen-2028 We should find the source for that file.

So let us know if anybody (David himself?) has the solution. It seems
that every time we merge a major patch that adds a lot of code and
moves some around has at least one of those import errors.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread mabshoff



On Feb 15, 2:03 pm, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 Hello folks,

   * unramified and eisenstein extensions

 We are having some problems with the build from vanilla sources build:

 [10:11] mhansen-2028 mabshoff: You there?
 [10:13] mhansen-2028 After building alpha0, I get the following:
 [10:13] mhansen-2028 type 'exceptions.ImportError': No module
 named padic_extension_generic_element
 [10:26] mhansen-2028 wstein-grant: You around?
 [10:36] wstein-grant hi
 [10:36] wstein-grant hi mhansen-2028
 [10:36] wstein-grant yep, alpha0 fails to work on all machines
 because of the error mhansen-2028 mentions above.
 [10:38] mhansen-2028 Lovely :)
 [10:38] mhansen-2028 We should find the source for that file.

 So let us know if anybody (David himself?) has the solution. It seems
 that every time we merge a major patch that adds a lot of code and
 moves some around has at least one of those import errors.

The patch at

http://trac.sagemath.org/sage_trac/attachment/ticket/1963/Sage-2.10.2.alpha1-fix-import-issue.patch

fixes the import error.

 Cheers,

 Michael

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread Jaap Spies

mabshoff wrote:
 
 
 On Feb 15, 2:03 pm, mabshoff [EMAIL PROTECTED]
 dortmund.de wrote:
 Hello folks,

  * unramified and eisenstein extensions
 We are having some problems with the build from vanilla sources build:

 [10:11] mhansen-2028 mabshoff: You there?
 [10:13] mhansen-2028 After building alpha0, I get the following:
 [10:13] mhansen-2028 type 'exceptions.ImportError': No module
 named padic_extension_generic_element
 [10:26] mhansen-2028 wstein-grant: You around?
 [10:36] wstein-grant hi
 [10:36] wstein-grant hi mhansen-2028
 [10:36] wstein-grant yep, alpha0 fails to work on all machines
 because of the error mhansen-2028 mentions above.
 [10:38] mhansen-2028 Lovely :)
 [10:38] mhansen-2028 We should find the source for that file.

 So let us know if anybody (David himself?) has the solution. It seems
 that every time we merge a major patch that adds a lot of code and
 moves some around has at least one of those import errors.
 
 The patch at
 
 http://trac.sagemath.org/sage_trac/attachment/ticket/1963/Sage-2.10.2.alpha1-fix-import-issue.patch
 
 fixes the import error.
 

After applying the patch I got on Fedora 7 32 bits:
--
The following tests failed:


 sage -t  devel/sage-main/sage/rings/padics/padic_ZZ_pX_CR_element.pyx
 sage -t  devel/sage-main/sage/rings/number_field/number_field.py
 sage -t  devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx
 sage -t  devel/sage-main/sage/misc/functional.py
 sage -t  devel/sage-main/sage/groups/group.pyx
 sage -t  devel/sage-main/sage/combinat/partition_algebra.py
Total time for all tests: 2704.2 seconds
Please see /home/jaap/downloads/sage-2.10.2.alpha0/tmp/test.log for the 
complete log from this test.
[EMAIL PROTECTED] sage-2.10.2.alpha0]$


Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread David Roe
This is doctest where the result used to be
Traceback (most recent call
last):

...

TypeError: cannot create a p-adic out of class '
sage.rings.polynomial.multi_polynomial_element.MPolynomial_polydict'

but after the p-adics patch it started working and returning p.  I looked at
it briefly and couldn't figure out why it was doing so.
David

On Fri, Feb 15, 2008 at 3:16 PM, Jaap Spies [EMAIL PROTECTED] wrote:


 mabshoff wrote:
  SNIP

   sage -t
  devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx
 
  That is a new one. Could you post the detailed failure?
 


 [EMAIL PROTECTED] sage-2.10.2.alpha0]$ ./sage -t
  devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx
 sage -t
  
 devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx**
 File multi_polynomial.pyx, line 256:
 sage: R(S.0)
 Expected:
 BROKEN -- FIX ME
 Got:
 p
 **
 1 items had failures:
1 of  14 in __main__.example_4
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file .doctest_multi_polynomial.pyx
  [2.0 s]
 exit code: 256

 Jaap


 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread mabshoff



On Feb 15, 9:21 pm, David Roe [EMAIL PROTECTED] wrote:

Hi David,

 This is doctest where the result used to be
 Traceback (most recent call
 last):

 ...

 TypeError: cannot create a p-adic out of class '
 sage.rings.polynomial.multi_polynomial_element.MPolynomial_polydict'

 but after the p-adics patch it started working and returning p.  I looked at
 it briefly and couldn't figure out why it was doing so.

I remember now that we discussed that at SD7, so sorry for the noise.

 David


Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread Jaap Spies

mabshoff wrote:
 SNIP

  sage -t  devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx
 
 That is a new one. Could you post the detailed failure?
 


[EMAIL PROTECTED] sage-2.10.2.alpha0]$ ./sage -t  
devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx
sage -t  
devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx**
File multi_polynomial.pyx, line 256:
 sage: R(S.0)
Expected:
 BROKEN -- FIX ME
Got:
 p
**
1 items had failures:
1 of  14 in __main__.example_4
***Test Failed*** 1 failures.
For whitespace errors, see the file .doctest_multi_polynomial.pyx
  [2.0 s]
exit code: 256

Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread mabshoff

SNIP
  The patch at

 http://trac.sagemath.org/sage_trac/attachment/ticket/1963/Sage-2.10.2...

  fixes the import error.

Hi Jaap

 After applying the patch I got on Fedora 7 32 bits:
 --
 The following tests failed:

  sage -t  devel/sage-main/sage/rings/padics/padic_ZZ_pX_CR_element.pyx
  sage -t  devel/sage-main/sage/rings/number_field/number_field.py

Interesting that there is a 32 vs 64 bit issue left in the extension
code. The above two doctest failures should be caused by David's
patch.

  sage -t  devel/sage-main/sage/rings/polynomial/multi_polynomial.pyx

That is a new one. Could you post the detailed failure?

  sage -t  devel/sage-main/sage/misc/functional.py
  sage -t  devel/sage-main/sage/groups/group.pyx
  sage -t  devel/sage-main/sage/combinat/partition_algebra.py

Those also happen on 64 bit.

 Total time for all tests: 2704.2 seconds
 Please see /home/jaap/downloads/sage-2.10.2.alpha0/tmp/test.log for the 
 complete log from this test.
 [EMAIL PROTECTED] sage-2.10.2.alpha0]$

 Jaap

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.2.alpha0 released!

2008-02-15 Thread mabshoff

If you want to commit to the devel/sage repo you need to drop in the
files from

http://sage.math.washington.edu/home/mabshoff/missing-debian.tar.gz

into SAGE_ROOT/devel/sage. hg status should then show that everything
is ok.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---