Re: [sage-devel] Docker images no longer being build and is gitlab still maintained?

2021-12-05 Thread Maarten Derickx
Hi Julian,

I didn't build a sagemath-dev image. So the first test will likely fail. I 
did manually test that the command line starts and that I could do 
computations which depend on singular pari and gap, and I also tested 
manually that jupyter starts and that I could do computations in it. The 
main purpose for building this image is that I use the sagemath docker 
images as base image for CI testing in a downstream package. And I needed 
certain features/fixes that are in 9.4 but not 9.2. And up to now all the 
CI tests of the downstream package pass just fine with this image.

I will try to see if I can also successfully build and test a dev image.
On Saturday, 4 December 2021 at 18:08:19 UTC+1 dim...@gmail.com wrote:

> One way or another, it's probably a good idea to run the builder on GH 
> Actions - translating one yml to another should be doable.
>
>
> On Sat, 4 Dec 2021, 16:11 julian...@fsfe.org,  wrote:
>
>> Hi Maarten,
>>
>> thanks for verifying that the Dockerfile still works.
>>
>> On Thursday, December 2, 2021 at 10:06:30 PM UTC-6 maarten...@navara.nl 
>> wrote:
>>
>>> In the meantime I managed to verify that aside from the gitlab CI/CD 
>>> there are no other things that are broken. Meaning that I managed to build 
>>> the docker file shipped with sage just fine on my laptop. I pushed a build 
>>> of 9.4 to https://hub.docker.com/r/mderickx/sagemath/ in case anyone is 
>>> interested.
>>>
>>
>> Did you also run the tests on the docker image? There are three tests 
>> defined here 
>> https://gitlab.com/sagemath/sage/-/blob/develop/.gitlab-ci.yml#L145. 
>> These often failed in the past with new releases.
>>
>> julian
>>
>> -- 
>>
> 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/6d614b77-f673-4dbf-9e38-661fc7af4247n%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/fc867437-4b30-4efa-8d17-4f1c842bc984n%40googlegroups.com.


Re: [sage-devel] Docker images no longer being build and is gitlab still maintained?

2021-12-05 Thread Dima Pasechnik
Anyone tried using buildx?

 It seems to simplify setting up the build - although on Linux it appears
to have extra hoops to jump through.

On Sun, 5 Dec 2021, 14:06 Maarten Derickx, 
wrote:

> Hi Julian,
>
> I didn't build a sagemath-dev image. So the first test will likely fail. I
> did manually test that the command line starts and that I could do
> computations which depend on singular pari and gap, and I also tested
> manually that jupyter starts and that I could do computations in it. The
> main purpose for building this image is that I use the sagemath docker
> images as base image for CI testing in a downstream package. And I needed
> certain features/fixes that are in 9.4 but not 9.2. And up to now all the
> CI tests of the downstream package pass just fine with this image.
>
> I will try to see if I can also successfully build and test a dev image.
> On Saturday, 4 December 2021 at 18:08:19 UTC+1 dim...@gmail.com wrote:
>
>> One way or another, it's probably a good idea to run the builder on GH
>> Actions - translating one yml to another should be doable.
>>
>>
>> On Sat, 4 Dec 2021, 16:11 julian...@fsfe.org,  wrote:
>>
>>> Hi Maarten,
>>>
>>> thanks for verifying that the Dockerfile still works.
>>>
>>> On Thursday, December 2, 2021 at 10:06:30 PM UTC-6 maarten...@navara.nl
>>> wrote:
>>>
 In the meantime I managed to verify that aside from the gitlab CI/CD
 there are no other things that are broken. Meaning that I managed to build
 the docker file shipped with sage just fine on my laptop. I pushed a build
 of 9.4 to https://hub.docker.com/r/mderickx/sagemath/ in case anyone
 is interested.

>>>
>>> Did you also run the tests on the docker image? There are three tests
>>> defined here
>>> https://gitlab.com/sagemath/sage/-/blob/develop/.gitlab-ci.yml#L145.
>>> These often failed in the past with new releases.
>>>
>>> julian
>>>
>>> --
>>>
>> 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/6d614b77-f673-4dbf-9e38-661fc7af4247n%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/fc867437-4b30-4efa-8d17-4f1c842bc984n%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/CAAWYfq1bWSABtrJz8PkzNZLjGh_tZjeNcP-AF9WMo1QpZpHOzQ%40mail.gmail.com.


Re: [sage-devel] Docker images no longer being build and is gitlab still maintained?

2021-12-05 Thread Maarten Derickx
Yeah I had to use buildx to debug why the build was failing (standard 
docker build would not give enough logs). For me doing:

docker buildx create --use --name larger_log --driver-opt 
env.BUILDKIT_STEP_LOG_MAX_SIZE=5000 docker buildx build 
Just worked without any other config. I guess you could even leave out the 
"--driver-opt env.BUILDKIT_STEP_LOG_MAX_SIZE=5000" part.

Note that for me the build was failing cause of the OOM killer killed one 
of the build processes, so the only thing I needed to do to make the build 
work is assign more resources to the docker container to make it work.

On Sunday, 5 December 2021 at 15:14:32 UTC+1 dim...@gmail.com wrote:

> Anyone tried using buildx?
>
>  It seems to simplify setting up the build - although on Linux it appears 
> to have extra hoops to jump through.
>
> On Sun, 5 Dec 2021, 14:06 Maarten Derickx,  wrote:
>
>> Hi Julian,
>>
>> I didn't build a sagemath-dev image. So the first test will likely fail. 
>> I did manually test that the command line starts and that I could do 
>> computations which depend on singular pari and gap, and I also tested 
>> manually that jupyter starts and that I could do computations in it. The 
>> main purpose for building this image is that I use the sagemath docker 
>> images as base image for CI testing in a downstream package. And I needed 
>> certain features/fixes that are in 9.4 but not 9.2. And up to now all the 
>> CI tests of the downstream package pass just fine with this image.
>>
>> I will try to see if I can also successfully build and test a dev image.
>> On Saturday, 4 December 2021 at 18:08:19 UTC+1 dim...@gmail.com wrote:
>>
>>> One way or another, it's probably a good idea to run the builder on GH 
>>> Actions - translating one yml to another should be doable.
>>>
>>>
>>> On Sat, 4 Dec 2021, 16:11 julian...@fsfe.org,  
>>> wrote:
>>>
 Hi Maarten,

 thanks for verifying that the Dockerfile still works.

 On Thursday, December 2, 2021 at 10:06:30 PM UTC-6 maarten...@navara.nl 
 wrote:

> In the meantime I managed to verify that aside from the gitlab CI/CD 
> there are no other things that are broken. Meaning that I managed to 
> build 
> the docker file shipped with sage just fine on my laptop. I pushed a 
> build 
> of 9.4 to https://hub.docker.com/r/mderickx/sagemath/ in case anyone 
> is interested.
>

 Did you also run the tests on the docker image? There are three tests 
 defined here 
 https://gitlab.com/sagemath/sage/-/blob/develop/.gitlab-ci.yml#L145. 
 These often failed in the past with new releases.

 julian

 -- 

>>> 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/6d614b77-f673-4dbf-9e38-661fc7af4247n%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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/fc867437-4b30-4efa-8d17-4f1c842bc984n%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/2df8df20-64a4-4199-b339-34c2685568dbn%40googlegroups.com.


[sage-devel] Demote SageTeX to an optional package?

2021-12-05 Thread Michael Orlitzky
SageTeX was added to sage as a standard package in

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

It's closely tied to sage (can't be used on its own), but is also not
used by any other part of sage.

Can we demote it to an optional package? Realistically this amounts to
adding "first, run `make sagetex`" at the top of the docs that talk
about it (warning: requires translators).

The benefits are the usual ones: faster installation, less disk usage,
easier for distros to package a standard "sage". And the downside of
course is that anyone regularly using sagetex will have to either
./configure --enable-sagetex, or run "make sagetex" at some point.


-- 
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/033afa5a8fbda89af7fce009b37990543a6eb782.camel%40orlitzky.com.


[sage-devel] Re: Demote SageTeX to an optional package?

2021-12-05 Thread Nathan Dunfield
I'd be extremely hesitant to remove something that's been a standard 
package for over a decade unless it was causing major headaches.  I could 
be wrong, but isn't SageTeX just a couple files totaling under 25K?

The vast majority of SageMath users install it from binaries; tell them to 
run "make sagetex" or mess with "configure" would not help them.

Best,

Nathan





-- 
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/b199a1ca-0f7c-4a3a-8ad1-e206f7f4deafn%40googlegroups.com.