[sage-devel] Re: Needed to downgrade markupsafe from 2.1.1 to 2.0.1 to let sage -n jupyterlab work

2022-04-07 Thread Matthias Koeppe
Are you sure jupyterlab was not installed with an earlier version of Sage? Because I think we fixed this in https://trac.sagemath.org/ticket/33607, which was merged in 9.6.beta6. Try if re-installing jinja2 and markupsafe using "sage -f " fixes the problem On Thursday, April 7, 2022 at 4:5

Re: [sage-devel] Trouble with SSH access

2022-04-07 Thread Dima Pasechnik
I'll reboot trac now, see if it helps. Also, check that your keys have correct permissions. On Thu, Apr 7, 2022 at 5:08 PM Maxime Bombar wrote: > > On 4/7/22 17:59, Antoine Leudière wrote: > > Hi Maxime, > > > > Thanks a lot for answering! I did, yes --- but I may very well be missing > > somethi

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-07 Thread Dima Pasechnik
On Thu, Apr 7, 2022 at 4:41 PM 'Nasser M. Abbasi' via sage-devel wrote: > > Here is the information you asked for > > >which python3 > /bin/python3 > > >python3 --version > Python 3.10.4 > > >which python > /bin/python > > >python --version > Python 3.10.4 > > > Thanks. How about config.log? I sup

Re: [sage-devel] Trouble with SSH access

2022-04-07 Thread Maxime Bombar
On 4/7/22 17:59, Antoine Leudière wrote: Hi Maxime, Thanks a lot for answering! I did, yes --- but I may very well be missing something! However, I tried to add / remove trailing spaces or blank lines at the end; or to modify the comment, but nothing seemed to work... I also tried with a standa

Re: [sage-devel] Trouble with SSH access

2022-04-07 Thread Antoine Leudière
Hi Maxime, Thanks a lot for answering! I did, yes --- but I may very well be missing something! However, I tried to add / remove trailing spaces or blank lines at the end; or to modify the comment, but nothing seemed to work... I also tried with a standard RSA key. And, a colleague of mine create

Re: [sage-devel] Trouble with SSH access

2022-04-07 Thread Maxime Bombar
On 4/7/22 16:55, Antoine Leudière wrote: Hi, I created a pair of ec25519 SSH keys to access Trac through SSH (see https://doc.sagemath.org/html/en/developer/trac.html#trac-authentication-through-ssh). The key identity file is ~/.ssh/ssh_key-sage-trac-2. I am using Ubuntu 21.10 However, my con

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-07 Thread 'Nasser M. Abbasi' via sage-devel
Here is the information you asked for >which python3 /bin/python3 >python3 --version Python 3.10.4 >which python /bin/python >python --version Python 3.10.4 > On Thursday, April 7, 2022 at 3:39:03 AM UTC-5 dim...@gmail.com wrote: > On Thu, Apr 7, 2022 at 9:01 AM Dima Pasechnik wrote: > > >

[sage-devel] Trouble with SSH access

2022-04-07 Thread Antoine Leudière
Hi, I created a pair of ec25519 SSH keys to access Trac through SSH (see https://doc.sagemath.org/html/en/developer/trac.html#trac-authentication-through-ssh). The key identity file is ~/.ssh/ssh_key-sage-trac-2. I am using Ubuntu 21.10 However, my config does not seem to work: $ ssh -i ~/.ss

[sage-devel] Re: Needed to downgrade markupsafe from 2.1.1 to 2.0.1 to let sage -n jupyterlab work

2022-04-07 Thread Sébastien Labbé
or possibly the solution is to upgrade to a more recent jinja2 which would use markupsafe according to its version 2.1.1? $ cat build/pkgs/jinja2/install-requires.txt jinja2 >=2.11.2 $ cat build/pkgs/jinja2/dependencies $(PYTHON) markupsafe docutils | $(PYTHON_TOOLCHAIN) -- You received this

[sage-devel] Needed to downgrade markupsafe from 2.1.1 to 2.0.1 to let sage -n jupyterlab work

2022-04-07 Thread Sébastien Labbé
On the computer of a Student (I think Ubuntu 20.04) with 9.6.beta7 installing jupyterlab fails with the error "ImportError: cannot import name 'soft_unicode' from 'markupsafe' ". Googling this error, we found this link: https://github.com/aws/aws-sam-cli/issues/3661 suggesting to downgrade mark

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-07 Thread Dima Pasechnik
On Thu, Apr 7, 2022 at 9:01 AM Dima Pasechnik wrote: > > On Thu, Apr 7, 2022 at 6:17 AM 'Nasser M. Abbasi' via sage-devel > wrote: > > > > Basic question: > > > > I Downloaded beta 7 source code. When I do ./configure, it tells me that it > > wants to install Python 3-3.1.0.3 since no suitable o

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-07 Thread Dima Pasechnik
On Thu, Apr 7, 2022 at 6:17 AM 'Nasser M. Abbasi' via sage-devel wrote: > > Basic question: > > I Downloaded beta 7 source code. When I do ./configure, it tells me that it > wants to install Python 3-3.1.0.3 since no suitable one found. > > However, I have Python 3.10.4 installed. > So why is it