[sage-devel] Re: load deprecation warning in SageCell

2022-09-07 Thread Nils Bruin
On Tuesday, 24 May 2022 at 11:10:13 UTC-7 ingo...@gmail.com wrote:

> When I call
> *load('https://raw.githubusercontent.com/ingodahn/sageutils/master/physics.py 
> ')*
> in a sagecell I get in the output
> */home/sc_serv/sage/local/var/lib/sage/venv-python3.10.3/lib/python3.10/site-packages/sage/misc/remote_file.py:46:
>  
> DeprecationWarning: ssl.SSLContext() without protocol argument is 
> deprecated. content = urlopen(req, timeout=1, context=SSLContext())*
>
> How can I avoid this message?
>
>
If you're OK with changing the cell content, you can use python's standard 
warning control infrastructure to suppress the message. For instance, the 
following silences any warnings that would arise from the "load" invocation:
 
import warnings
with warnings.catch_warnings():
warnings.simplefilter("ignore")

load('https://raw.githubusercontent.com/ingodahn/sageutils/master/physics.py') 

-- 
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/da7903dd-1c7d-4aa3-8f20-db49a8f990f5n%40googlegroups.com.


[sage-devel] Re: BROADCAST MESSAGE

2022-09-07 Thread John H Palmieri
Let me echo everyone's thanks to the people who worked/are working on the 
upgrade.

A question: I don't see a way to edit my comments on trac tickets. Is that 
feature gone? (If it is, I don't mind, I just want to make sure I'm not 
missing something obvious.)

-- 
John


On Wednesday, September 7, 2022 at 7:25:11 AM UTC-7 Travis Scrimshaw wrote:

> Thank you to everyone who has worked on getting this fixed and working 
> again. A big special thanks to Frédéric for taking point (or at least 
> willing to do the public relations).
>
> Best,
> Travis
>
> On Monday, September 5, 2022 at 3:30:55 AM UTC+9 Eric Gourgoulhon wrote:
>
>> Thank you so much Frédéric at al. for all the work in setting up the new 
>> Trac!
>>
>> Eric.
>>
>>
>> Le dimanche 4 septembre 2022 à 09:32:42 UTC+2, Frédéric Chapoton a écrit :
>>
>>> Trac 1.2 comes with various changes, including display of full names and 
>>> internationalisation. You may want to look in your user preferences to 
>>> customize some of these if you prefer.
>>>
>>> Le dimanche 4 septembre 2022 à 01:32:35 UTC+2, Kwankyu Lee a écrit :
>>>
 Trac is now in version 1.2. Thanks!
>>>
>>>

-- 
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/7df3f96d-25b9-4609-9301-0e8107a7ce93n%40googlegroups.com.


Re: [sage-devel] Re: load deprecation warning in SageCell

2022-09-07 Thread Dima Pasechnik
On Wed, Sep 7, 2022 at 9:14 PM Mike  wrote:
>
> Since the referenced fix won't be available until sage-9.7, is there a 
> (temporary) way to avoid this error message when loading files from github 
> into a sage cell?
you basically need to apply the patch from
https://trac.sagemath.org/ticket/33771 on the sage cell server you're
using.


>
> On Tuesday, May 24, 2022 at 3:02:51 PM UTC-4 Matthias Koeppe wrote:
>>
>> Fixed in https://trac.sagemath.org/ticket/33771
>>
>> On Tuesday, May 24, 2022 at 11:10:13 AM UTC-7 ingo...@gmail.com wrote:
>>>
>>> When I call
>>> load('https://raw.githubusercontent.com/ingodahn/sageutils/master/physics.py')
>>> in a sagecell I get in the output
>>> /home/sc_serv/sage/local/var/lib/sage/venv-python3.10.3/lib/python3.10/site-packages/sage/misc/remote_file.py:46:
>>>  DeprecationWarning: ssl.SSLContext() without protocol argument is 
>>> deprecated. content = urlopen(req, timeout=1, context=SSLContext())
>>>
>>> How can I avoid this message?
>>>
>>> Since load is a Sage function, I hope this is the right place to ask.
>
> --
> 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/83ca3348-bd29-4912-9569-112c28e52d11n%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/CAAWYfq0F2aS9ZQ5iahX%3D61RMrVj3y0_8WgXW9f%2BzxS1Ax_WpeA%40mail.gmail.com.


[sage-devel] Re: load deprecation warning in SageCell

2022-09-07 Thread Mike
Since the referenced fix won't be available until sage-9.7, is there a 
(temporary) way to avoid this error message when loading files from github 
into a sage cell?

On Tuesday, May 24, 2022 at 3:02:51 PM UTC-4 Matthias Koeppe wrote:

> Fixed in https://trac.sagemath.org/ticket/33771
>
> On Tuesday, May 24, 2022 at 11:10:13 AM UTC-7 ingo...@gmail.com wrote:
>
>> When I call
>> *load('https://raw.githubusercontent.com/ingodahn/sageutils/master/physics.py
>>  
>> ')*
>> in a sagecell I get in the output
>> */home/sc_serv/sage/local/var/lib/sage/venv-python3.10.3/lib/python3.10/site-packages/sage/misc/remote_file.py:46:
>>  
>> DeprecationWarning: ssl.SSLContext() without protocol argument is 
>> deprecated. content = urlopen(req, timeout=1, context=SSLContext())*
>>
>> How can I avoid this message?
>>
>> Since *load *is a Sage function, I hope this is the right place to ask.
>>
>

-- 
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/83ca3348-bd29-4912-9569-112c28e52d11n%40googlegroups.com.


[sage-devel] Re: sshkeys enabled on trac again

2022-09-07 Thread Dima Pasechnik
On Wed, Sep 7, 2022 at 5:00 PM Dima Pasechnik  wrote:
>
> After some struggle, I've managed to successfully enable sshkeys
> plugin on trac.sagemath.org
>
> Please test.
>
> Note that you might need to refresh various web pages on trac.

Sorry, I had to disable it again, as there are more errors related to
this plugin popping up.
Something something about non-existing files/directories. :-(

So that's not the end of the story.

Dima


>
> Dima

-- 
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/CAAWYfq2Z2Ahb8bFMg33LGbLXLEPRx0rjLSjAjQgXYu6D2qozmA%40mail.gmail.com.


[sage-devel] sshkeys enabled on trac again

2022-09-07 Thread Dima Pasechnik
After some struggle, I've managed to successfully enable sshkeys
plugin on trac.sagemath.org

Please test.

Note that you might need to refresh various web pages on trac.

Dima

-- 
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/CAAWYfq2TNMQf%3DciUw7dnQYOb935QrraWW2Zogf-hKm8JP403uA%40mail.gmail.com.


[sage-devel] Re: BROADCAST MESSAGE

2022-09-07 Thread 'Travis Scrimshaw' via sage-devel
Thank you to everyone who has worked on getting this fixed and working 
again. A big special thanks to Frédéric for taking point (or at least 
willing to do the public relations).

Best,
Travis

On Monday, September 5, 2022 at 3:30:55 AM UTC+9 Eric Gourgoulhon wrote:

> Thank you so much Frédéric at al. for all the work in setting up the new 
> Trac!
>
> Eric.
>
>
> Le dimanche 4 septembre 2022 à 09:32:42 UTC+2, Frédéric Chapoton a écrit :
>
>> Trac 1.2 comes with various changes, including display of full names and 
>> internationalisation. You may want to look in your user preferences to 
>> customize some of these if you prefer.
>>
>> Le dimanche 4 septembre 2022 à 01:32:35 UTC+2, Kwankyu Lee a écrit :
>>
>>> Trac is now in version 1.2. Thanks!
>>
>>

-- 
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/0898a968-1440-415e-a155-a47d4b40b7efn%40googlegroups.com.


Re: [sage-devel] docker images are based on an out-of-date version of ubuntu

2022-09-07 Thread Dima Pasechnik
On Wed, Sep 7, 2022 at 2:09 PM Martin Pépin  wrote:
>
> Hi all,
>
> The current sagemath docker images are based on Ubuntu 21.10 (Impish
> Indri) which is not supported anymore since august.
> In particular this prevents from upgrading/installing new packages on
> the image (cf logs below).
>
> Is there any reason to stick to 21.10 ? I'm cloning sage to see if I
> manage to build a docker image with ubuntu 22.04. Is there anything I
> need to know before proceeding ?

That's most probably more or less an accident that Impish was chosen,
when  Dcokerfile was updated in Feb this year, in commit d2d166c584d

Please open a trac ticket to fix this.


$ git show d2d166c584d
commit d2d166c584dc83f0dfb679f71535d7f09961418c
Author: Julian Rüth 
Date:   Sun Feb 20 15:37:05 2022 -0500

Use a newer ubuntu system so the default gcc is not gcc 9

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7838e8fcd0..32ea73394c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -46,7 +46,7 @@ ARG ARTIFACT_BASE=source-clean
 

 # Image containing the run-time dependencies for Sage
 #
 

-FROM ubuntu:focal as run-time-dependencies
+FROM ubuntu:impish as run-time-dependencies
 LABEL maintainer="Erik M. Bray , Julian Rüth
"
 # Set sane defaults for common environment variables.
 ENV LC_ALL C.UTF-8
@@ -61,7 +61,7 @@ RUN ln -s /usr/bin/sage /usr/bin/sagemath
 # We need gcc/g++ and libstdc++-10-dev to allow compilation of cython
at run-time from the notebook.
 # We also install sudo for the sage user, see below.
 RUN apt-get -qq update \
-&& apt-get -qq install -y --no-install-recommends gfortran gcc-10
g++-10 libstdc++-10-dev sudo openssl \
+&& apt-get -qq install -y --no-install-recommends gfortran gcc
g++ libstdc++-10-dev sudo openssl \
 && apt-get -qq clean \
 && rm -r /var/lib/apt/lists/*
 # Sage refuses to build as root, so we add a "sage" user that can sudo withou



>
> Martin
>
> martin@mylaptop $ sudo docker run --entrypoint '/bin/bash' -it
> sagemath/sagemath:9.5
> sage@4b1d52bfc387:~$ sudo apt-get update
> Ign:1 http://archive.ubuntu.com/ubuntu impish InRelease
> Ign:2 http://archive.ubuntu.com/ubuntu impish-updates InRelease
> Ign:3 http://archive.ubuntu.com/ubuntu impish-backports InRelease
> Err:4 http://archive.ubuntu.com/ubuntu impish Release
>404  Not Found [IP: 185.125.190.36 80]
> Err:5 http://archive.ubuntu.com/ubuntu impish-updates Release
>404  Not Found [IP: 185.125.190.36 80]
> Err:6 http://archive.ubuntu.com/ubuntu impish-backports Release
>404  Not Found [IP: 185.125.190.36 80]
> Ign:7 http://security.ubuntu.com/ubuntu impish-security InRelease
> Err:8 http://security.ubuntu.com/ubuntu impish-security Release
>404  Not Found [IP: 91.189.91.38 80]
> Reading package lists... Done
> E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' does
> not have a Release file.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> E: The repository 'http://archive.ubuntu.com/ubuntu impish-updates
> Release' does not have a Release file.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> E: The repository 'http://archive.ubuntu.com/ubuntu impish-backports
> Release' does not have a Release file.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> E: The repository 'http://security.ubuntu.com/ubuntu impish-security
> Release' does not have a Release file.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
>
> --
> 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/949fd44d-04ac-c799-2135-4517a477857e%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/CAAWYfq1%2BKRgfRZNccy-wxA2Rxpv4aHcAJm_zkPXWbXvfsze2Mw%40mail.gmail.com.


[sage-devel] docker images are based on an out-of-date version of ubuntu

2022-09-07 Thread Martin Pépin

Hi all,

The current sagemath docker images are based on Ubuntu 21.10 (Impish 
Indri) which is not supported anymore since august.
In particular this prevents from upgrading/installing new packages on 
the image (cf logs below).


Is there any reason to stick to 21.10 ? I'm cloning sage to see if I 
manage to build a docker image with ubuntu 22.04. Is there anything I 
need to know before proceeding ?


Martin

martin@mylaptop $ sudo docker run --entrypoint '/bin/bash' -it 
sagemath/sagemath:9.5

sage@4b1d52bfc387:~$ sudo apt-get update
Ign:1 http://archive.ubuntu.com/ubuntu impish InRelease
Ign:2 http://archive.ubuntu.com/ubuntu impish-updates InRelease
Ign:3 http://archive.ubuntu.com/ubuntu impish-backports InRelease
Err:4 http://archive.ubuntu.com/ubuntu impish Release
  404  Not Found [IP: 185.125.190.36 80]
Err:5 http://archive.ubuntu.com/ubuntu impish-updates Release
  404  Not Found [IP: 185.125.190.36 80]
Err:6 http://archive.ubuntu.com/ubuntu impish-backports Release
  404  Not Found [IP: 185.125.190.36 80]
Ign:7 http://security.ubuntu.com/ubuntu impish-security InRelease
Err:8 http://security.ubuntu.com/ubuntu impish-security Release
  404  Not Found [IP: 91.189.91.38 80]
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' does 
not have a Release file.
N: Updating from such a repository can't be done securely, and is 
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user 
configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu impish-updates 
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is 
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user 
configuration details.
E: The repository 'http://archive.ubuntu.com/ubuntu impish-backports 
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is 
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user 
configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu impish-security 
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is 
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user 
configuration details.


--
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/949fd44d-04ac-c799-2135-4517a477857e%40gmail.com.