Re: [sage-devel] Build-alert!

2022-04-26 Thread Ray Rogers

Done rc2; no problems
Although I haven't done the long test; perhaps tonight.
Looking forward to the release :)

On 4/26/22 07:35, Dima Pasechnik wrote:

Thanks - in fact, we're very close to releasing 9.6.
Testing release candidates, a.k.a. 'rc' (or betas, whether is fresher)
is much more important.
See https://www.sagemath.org/download-latest.html
(or you can clone from GitHub: https://github.com/sagemath/sage)

Chances are that what you see in 9.5 is no longer relevant - as it's
probably fixed already.

On Tue, Apr 26, 2022 at 11:45 AM Raymond Rogers
 wrote:


Hi, On a fresh download/configure/make for 9.5; I got a message; to send
error to sage-devel@googlegroups.com

It actually seemed to trundle on okay.
build-deve.log   is terminal clip. of the make request
The others are what  I think are relevant/asked for.

./sage
./sage --notebook
seem to run, So I presume it's some functionality (some "container"?)
that's missing.
This is just a backup computer (with 8GB ram) , so there is no urgency.

Ray

Release 20.04.4 LTS (Focal Fossa) 64-bit
Kernel Linux 5.4.0-109-generic x86_64
MATE 1.24.0

--
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/400e8d0f-3afc-4b84-6f3d-4b6a1d2276ef%40gmail.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/d37e904a-9606-db85-9691-2963f207b784%40gmail.com.


Re: [sage-devel] Re: [sage-release] Re: Sage 9.5 released

2022-04-22 Thread Ray Rogers
Do you still (?) want reports of successes/failures/hick-ups.  I always 
seem to find the last :)


rrogers

On 4/22/22 11:16, seb@gmail.com wrote:


(./sage -i should be deprecated and removed…)

— or just have ‘sage -i xyz’ do whatever ‘make xyz’ now does, perhaps.

+1

Replacing |sage -i xyz| by |make xyz| sounds like assuming /all Sage 
users are developers/. |make xyz| doesn’t work if the current 
directory isn’t |SAGE_ROOT| or if |make| doesn’t exist on the system. 
Our advice in |_spkg_installation_hint| to install an optional package 
is still |sage -i|.


If we don’t support optional packages for binary distribution, we 
should make it clear in the installation guide. Otherwise we need to 
make sure this works (at least for packages that just copy one file or 
can be installed by |pip|).


At the moment both methods don’t work for binary distribution. 
Regarding |sage -i| see for example this post 
 
along with this update 
. 
Regarding |make|, I verified this on the |ubuntu:latest| docker image 
by following both binary install instructions from our guide.


BTW: It seems that things became harder for newcomers to Sage to get 
it’s current version installed from binaries. Tarballs for 9.5 are not 
available on download mirrors anymore. For Ubuntu users the hint to 
use the systems standard package managers leads to an old version 
(9.0) (assuming most of them would use |apt| before installing 
|conda|, see for examples this thread 
). 
Another irritation: |command-not-found| tells you:


|Command 'sage' not found, but can be installed with: sudo apt install 
sagemath-common |


But if you do that it will end up with a failure.

​
john.c...@gmail.com schrieb am Montag, 31. Januar 2022 um 21:13:41 UTC+1:

On Mon, 31 Jan 2022 at 20:07, Dima Pasechnik 
wrote:
>
>
>
> On Mon, 31 Jan 2022, 20:01 John Cremona, 
wrote:
>>
>>
>>
>> On Mon, 31 Jan 2022, 17:12 Sébastien Labbé, 
wrote:
>>>
>>> The "./configure" part of the installation of sage advice this:
>>> database_cremona_ellcurve-20190911: optional, use "./configure
--enable-database_cremona_ellcurve" to install
>>>
>>> Therefore, if I were you, after updating the source tree with
git let's say, I would do:
>>>
>>> make configure
>>> ./configure --enable-database_cremona_ellcurve
>>> MAKE='make -j8' make
>>>
>>> to compile sagemath in parallel such a way that it
automatically installs the desired optional packages in whatever
ordering respecting the dependencies which works.
>>>
>>> You may also want more such "enable" as follows:
>>>
>>> ./configure \
>>> --enable-experimental-packages \
>>> --enable-download-from-upstream-url \
>>> --enable-ccache \
>>> --enable-database_cremona_ellcurve
>>>
>>> You may consult the config.log file which lists a lot of them.
>>>
>>> Sincerely,
>>>
>>> Sébastien
>>
>>
>> Thanks for that. Some of us have been building Sage from source
for a long time (14 years!) which means we are set in our ways and
just do what we have always done.
>>
>> On the other hand it should surely be possible to install a
package as simple as this one without triggering a full rebuild,
completely unnecessarily, instead having to know before starting
every optional package one might ever need.
>
>
> you can run ./configure as above after running make, you don't
typically have to do this from scratch.
>
> one also should be able to run
>
>
> make database_cremona_ellcurve

Dime, you're a hero -- that worked perfectly just as sage -i used to.

>
>
> (./sage -i should be deprecated and removed...)

-- or just have 'sage -i xyz' do whatever 'make xyz' now does,
perhaps.

John

>
>
>>
>>>
>>>
>>> On Monday, January 31, 2022 at 5:57:08 PM UTC+1
john.c...@gmail.com wrote:

 [copied from sage-release]

 -- Forwarded message -
 From: John Cremona 
 Date: Mon, 31 Jan 2022 at 13:47
 Subject: Re: [sage-release] Re: Sage 9.5 released
 To: 


 I just successfully built 9.5 from a fresh tarball. After
completing
 the build I installed (as I usually do) an optional package
with the
 command-line "./sage -i database_cremona_ellcurve" and now it is
 rebuilding gmp. What is going on here? Has the way of installing
 optional packages changed -- in which case, surely the use of
"sage
 -i" should tell you what to do instead, instead of doing the
'wrong'
 thing?

 John

Re: [sage-devel] Notebook for testing display

2022-03-23 Thread Ray Rogers

I think I am going to have a "moment" here!  Thanks!
This sheet is just great; all the things I have wanted to do, 
demonstrated :)

I do have some trivial suggestions (to make it even more impressive)

1) I had to do
    pip install ipympl
Would it be reasonable to do a try/except in the header?

2) I changed the 3D graphs and animation to include
g.show()
g.save('test.html');
!google-chrome --new-window test.html
!firefox --new-window test.html
--
I can't tell you how much I enjoy these!  And can publish to web pages!
It worked with Google Chrome and Firefox.
Not to get tedious:
I am also implementing a test so that the test.html output only displays 
once  and updates can be done by  the web page refresh.


3) I changed/added @interact demos to allow external access to internal 
values externally.


4) My only request/question is to be able to add the "interact" controls 
to HTML output; but that's probably a step to far, and would require 
some real Javascript coding :)



I have done several practice runs of things similar to this sheet, but 
this page much cleaner and thorough; without having to have all the 
ifs/ands/buts that I usually end up with :)


rrogers



On 3/23/22 08:31, Kwankyu Lee wrote:

Dear sage developers,

Let me advertise the nice notebook for testing display in Jupyter,

https://nbviewer.org/github/egourgoulhon/SageMathTest/blob/master/Notebooks/test_display.ipynb

prepared by Eric Gourgoulhon. This is also accessible through the ticket

https://trac.sagemath.org/ticket/33469

Thank you.
--
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/bcd158d5-447d-4f9f-8e10-dc4be496f486n%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/8c515a74-eed8-7da8-4a74-a2001a2413d3%40gmail.com.