Re: [sage-devel] make doc gets stuck at thematic_tutorials

2020-08-17 Thread Zachary Scherr
Ah, thanks.  

On Monday, August 17, 2020 at 8:30:23 PM UTC-4 François Bissey wrote:

> You are probably experiencing https://trac.sagemath.org/ticket/30351
>
> > On 18/08/2020, at 12:28 PM, Zachary Scherr  wrote:
> > 
> > I tried to build the documentation on 9.2 beta 8 and the documentation 
> building seems to get hang on:
> > 
> > [dochtml]
> > [dochtml] [thematic_] building [html]: targets for 83 source files that 
> are out of date
> > [dochtml] [thematic_] updating environment: [new config] 83 added, 0 
> changed, 0 removed
> > 
> > When I hit ctrl+C I got:
> > 
> > ^C[dochtml] Error building the documentation.
> > [dochtml] Traceback (most recent call last):
> > [dochtml] File 
> "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py",
>  
> line 193, in _run_module_as_main
> > [dochtml] "__main__", mod_spec)
> > [dochtml] File 
> "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py",
>  
> line 85, in _run_code
> > [dochtml] exec(code, run_globals)
> > [dochtml] File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
>  
> line 2, in 
> > [dochtml] main()
> > [dochtml] File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  
> line 1721, in main
> > [dochtml] builder()
> > [dochtml] File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  
> line 337, in _wrapper
> > [dochtml] build_many(build_other_doc, L)
> > [dochtml] File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  
> line 281, in build_many
> > [dochtml] _build_many(target, args, processes=NUM_THREADS)
> > [dochtml] File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>  
> line 263, in build_many
> > [dochtml] waited_pid, waited_exitcode = wait_for_one()
> > [dochtml] File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>  
> line 179, in wait_for_one
> > [dochtml] pid, sts = os.wait()
> > [dochtml] File "src/cysignals/signals.pyx", line 320, in 
> cysignals.signals.python_check_interrupt
> > [dochtml] KeyboardInterrupt
> > 
> > any ideas?
> > 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-devel+...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/542ad0c5-acd5-4cd5-aa8b-66cc711c9facn%40googlegroups.com
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/3aacf086-6e3c-4d0b-a5e8-3f0bf6a9c187n%40googlegroups.com.


Re: [sage-devel] make doc gets stuck at thematic_tutorials

2020-08-17 Thread François Bissey
You are probably experiencing https://trac.sagemath.org/ticket/30351

> On 18/08/2020, at 12:28 PM, Zachary Scherr  wrote:
> 
> I tried to build the documentation on 9.2 beta 8 and the documentation 
> building seems to get hang on:
> 
> [dochtml]
> [dochtml] [thematic_] building [html]: targets for 83 source files that are 
> out of date
> [dochtml] [thematic_] updating environment: [new config] 83 added, 0 changed, 
> 0 removed
> 
> When I hit ctrl+C I got:
> 
> ^C[dochtml] Error building the documentation.
> [dochtml] Traceback (most recent call last):
> [dochtml]   File 
> "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py",
>  line 193, in _run_module_as_main
> [dochtml] "__main__", mod_spec)
> [dochtml]   File 
> "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py",
>  line 85, in _run_code
> [dochtml] exec(code, run_globals)
> [dochtml]   File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
>  line 2, in 
> [dochtml] main()
> [dochtml]   File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 1721, in main
> [dochtml] builder()
> [dochtml]   File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 337, in _wrapper
> [dochtml] build_many(build_other_doc, L)
> [dochtml]   File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
>  line 281, in build_many
> [dochtml] _build_many(target, args, processes=NUM_THREADS)
> [dochtml]   File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>  line 263, in build_many
> [dochtml] waited_pid, waited_exitcode = wait_for_one()
> [dochtml]   File 
> "/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
>  line 179, in wait_for_one
> [dochtml] pid, sts = os.wait()
> [dochtml]   File "src/cysignals/signals.pyx", line 320, in 
> cysignals.signals.python_check_interrupt
> [dochtml] KeyboardInterrupt
> 
> any ideas?
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/542ad0c5-acd5-4cd5-aa8b-66cc711c9facn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/2BD5635B-8B18-46C3-831C-4CA85DEF4827%40gmail.com.


[sage-devel] make doc gets stuck at thematic_tutorials

2020-08-17 Thread Zachary Scherr
I tried to build the documentation on 9.2 beta 8 and the documentation 
building seems to get hang on:

[dochtml]
[dochtml] [thematic_] building [html]: targets for 83 source files that are 
out of date
[dochtml] [thematic_] updating environment: [new config] 83 added, 0 
changed, 0 removed

When I hit ctrl+C I got:

^C[dochtml] Error building the documentation.
[dochtml] Traceback (most recent call last):
[dochtml]   File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py",
 
line 193, in _run_module_as_main
[dochtml] "__main__", mod_spec)
[dochtml]   File 
"/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py",
 
line 85, in _run_code
[dochtml] exec(code, run_globals)
[dochtml]   File 
"/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
 
line 2, in 
[dochtml] main()
[dochtml]   File 
"/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
 
line 1721, in main
[dochtml] builder()
[dochtml]   File 
"/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
 
line 337, in _wrapper
[dochtml] build_many(build_other_doc, L)
[dochtml]   File 
"/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
 
line 281, in build_many
[dochtml] _build_many(target, args, processes=NUM_THREADS)
[dochtml]   File 
"/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
 
line 263, in build_many
[dochtml] waited_pid, waited_exitcode = wait_for_one()
[dochtml]   File 
"/Users/zscherr/sage/develop/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
 
line 179, in wait_for_one
[dochtml] pid, sts = os.wait()
[dochtml]   File "src/cysignals/signals.pyx", line 320, in 
cysignals.signals.python_check_interrupt
[dochtml] KeyboardInterrupt

any ideas?


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/542ad0c5-acd5-4cd5-aa8b-66cc711c9facn%40googlegroups.com.


[sage-devel] Python 3.8 upgrade ticket needs review

2020-08-17 Thread Matthias Koeppe
https://trac.sagemath.org/ticket/27754

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/66e4f725-9882-42b6-a4be-1f73e8aaabd1o%40googlegroups.com.


Re: [sage-devel] build errors on void linux

2020-08-17 Thread Matthias Koeppe
On Monday, August 17, 2020 at 4:34:51 AM UTC-7, Nicolo' wrote:
>
> I have added pari, which I either previously overlooked or has been 
> recently added. 
>

Thanks. I have put it on https://trac.sagemath.org/ticket/30382
 

>
> Void people should be taking care of renaming docker images. 
>

Great, thanks for contacting them.
 

> Giac is already at 1.5.0.87, so perhaps try the new spkg-configure.m4? 
>
>
Yes, https://trac.sagemath.org/ticket/29541 is worth trying and needs review


 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/7367bb31-88fc-4a41-bd0a-a9bbe91c1d2do%40googlegroups.com.


Re: [sage-devel] conversion issue (from QQ to GF(p))

2020-08-17 Thread 'Justin C. Walker' via sage-devel
Just for the record:

> On Aug 17, 2020, at 06:40 , Nils Bruin  wrote:
> 
> On Monday, August 17, 2020 at 6:04:41 AM UTC-7, John Cremona wrote:
> I'm sure this used to work: 
> 
> sage: F = GF(2) 
> sage: r = 5/3 
> sage: F(1)*r 
> TypeError: unsupported operand parent(s) for *: 'Finite Field of size 
> 2' and 'Rational Field' 
> 
> Of course I know that the could not be a coercion from QQ to GF(2) but 
> there is a conversion which works fine (when the denominator is odd): 
> 
> It would surprise me if this used to work. Perhaps a LONG time ago? It 
> shouldn't work, because of the reason you mention [conversions aren't used 
> for figuring out common parents]. What *does* work is

Depends on what LONG means :-}.  I tried a couple of different versions back to 
sage-2.11, and all fail with the same error message.

> 
> F(1)*5/3
> 
> because it's parsed as (F(1)*5)/3: dividing by integers is something that 
> GF(2) allows.

This did work as well in 2.11 :-}

HTH

Justin

--
Justin C. Walker
Director
Institute for the Enhancement of the Director's Income
--
Fame is fleeting, but obscurity
   just drags on and on.  F



-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/AAD2BD78-6A9E-456B-8AD2-2EBFD393E664%40mac.com.


Re: [sage-devel] build errors on void linux

2020-08-17 Thread Nicolo' Piazzalunga

On 8/17/20 1:34 PM, Nicolo' Piazzalunga wrote:


Giac is already at 1.5.0.87, so perhaps try the new spkg-configure.m4?

Indeed if I try to build /sage-9.2.beta8, it only fails with 
giac-1.5.0.63-p0


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/e7917149-78e2-a659-cdb2-0d510a7a0085%40gmail.com.


[sage-devel] Re: conversion issue (from QQ to GF(p))

2020-08-17 Thread Nils Bruin
On Monday, August 17, 2020 at 6:04:41 AM UTC-7, John Cremona wrote:
>
> I'm sure this used to work: 
>
> sage: F = GF(2) 
> sage: r = 5/3 
> sage: F(1)*r 
> TypeError: unsupported operand parent(s) for *: 'Finite Field of size 
> 2' and 'Rational Field' 
>
> Of course I know that the could not be a coercion from QQ to GF(2) but 
> there is a conversion which works fine (when the denominator is odd): 
>

It would surprise me if this used to work. Perhaps a LONG time ago? It 
shouldn't work, because of the reason you mention [conversions aren't used 
for figuring out common parents]. What *does* work is

F(1)*5/3

because it's parsed as (F(1)*5)/3: dividing by integers is something that 
GF(2) allows.

If one would absolutely be intent on making it work, I guess one solution 
could be to have a (partial) multiplicative action of Q on GF(q); or more 
generally: on ZZ-modules. It would just have to be a lower priority 
solution than common parent finding.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/7bf29720-d8da-402b-9e0a-fdb295e6aca4o%40googlegroups.com.


[sage-devel] conversion issue (from QQ to GF(p))

2020-08-17 Thread John Cremona
I'm sure this used to work:

sage: F = GF(2)
sage: r = 5/3
sage: F(1)*r
TypeError: unsupported operand parent(s) for *: 'Finite Field of size
2' and 'Rational Field'

Of course I know that the could not be a coercion from QQ to GF(2) but
there is a conversion which works fine (when the denominator is odd):

sage: F(1)*F(r)
1

Has something changed, and if so, was it deliberate?

John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAD0p0K5JtgQ49TJKFFGvQC4wDhF20%3DzpS_uO--EzkU6wV82U-w%40mail.gmail.com.


Re: [sage-devel] build errors on void linux

2020-08-17 Thread Nicolo' Piazzalunga
I have added pari, which I either previously overlooked or has been 
recently added.


Void people should be taking care of renaming docker images.

Giac is already at 1.5.0.87, so perhaps try the new spkg-configure.m4?

On 7/29/20 8:06 PM, Matthias Koeppe wrote:

R builds successfully.

On Wednesday, July 29, 2020 at 9:46:48 AM UTC-7, Nicolo' wrote:

On 7/24/20 7:53 PM, Matthias Koeppe wrote:
 > On Wednesday, July 22, 2020 at 10:21:31 AM UTC-7, Matthias Koeppe
wrote:
 >
 >     I'll run another round of tests with "tox -e
 >     docker-voidlinux-standard" now.
 >
 >
 > It reproduces the build failure of giac-1.5.0.63-p0 that you
reported.
 >
 > Note that although you added the giac system package information,
the
 > system package is not used yet because there is no spkg-configure.m4
 > script for giac.
 >
 > Several ways forward:
 >
 > - https://trac.sagemath.org/ticket/29541
 spkg-configure.m4 for giac
 >
 > - https://trac.sagemath.org/ticket/29552
 Upgrade giac to 1.5.0-87
(or 1.6.x)

Thanks.
Let me look into giac.
Still no errors with R? Does it mean it is built, or it fails before it
tries to build it?



--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/cb8f9305-9fa5-18b4-12f6-7ab80e61e98e%40gmail.com.
>From 27fa52ae37a8b5168ed18a4566147adc2e5ce6a5 Mon Sep 17 00:00:00 2001
From: Nicolo' Piazzalunga 
Date: Mon, 17 Aug 2020 13:23:29 +0200
Subject: [PATCH] added pari

---
 build/pkgs/pari/distros/void.txt | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 build/pkgs/pari/distros/void.txt

diff --git a/build/pkgs/pari/distros/void.txt b/build/pkgs/pari/distros/void.txt
new file mode 100644
index 00..7c8f04b36a
--- /dev/null
+++ b/build/pkgs/pari/distros/void.txt
@@ -0,0 +1,2 @@
+pari
+pari-devel
--
2.28.0