Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14892 > unrolled thread

Re: Python 3.10 in bookworm

Started byMichael Kesper <michael@familie-kesper.de>
First post2023-02-05 15:00 +0100
Last post2023-02-05 22:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python 3.10 in bookworm Michael Kesper <michael@familie-kesper.de> - 2023-02-05 15:00 +0100
    Re: Python 3.10 in bookworm Julian Gilbey <julian@d-and-j.net> - 2023-02-05 22:10 +0100

#14892 — Re: Python 3.10 in bookworm

FromMichael Kesper <michael@familie-kesper.de>
Date2023-02-05 15:00 +0100
SubjectRe: Python 3.10 in bookworm
Message-ID<FVNIK-3DbJ-15@gated-at.bofh.it>
Hi Julian,

Am 05.02.23 um 11:38 schrieb Julian Gilbey:
> Why is the current intention not to ship the python3.10 package in
> bookworm?

Because it would amount to about double the work for all those involved.

Besides, Python 3.11 has some points for it:
- Real performance gains for real workloads
- It will be supported one year longer (so EOL is expected to be around the time bookworm will be out of stable, too).  
> I was trying to run some experiments in a virtual environment a few
> days ago, and it turns out that several of the Python packages I
> needed do not yet run on Python 3.11.  I was saved by being able to
> run in a Python 3.10 venv and download all the required packages from
> PyPI.  If bookworm shipped without python3.10, I would not have been
> able to do my work.  Removing python3.10 from bookworm will seriously
> affect many of our users in a similar situation to me.
...
> P.S. We should also fix #1036268 if we do keep python3.10 in bookworm;
> I'm happy to do an NMU if needed.

Maybe you could sponsor a "backport" of Python3.11?

My 2 cents
Michael
  

[toc] | [next] | [standalone]


#14894

FromJulian Gilbey <julian@d-and-j.net>
Date2023-02-05 22:10 +0100
Message-ID<FVUqR-3HAY-21@gated-at.bofh.it>
In reply to#14892
Hi Michael,

On Sun, Feb 05, 2023 at 02:29:10PM +0100, Michael Kesper wrote:
> Hi Julian,
> 
> Am 05.02.23 um 11:38 schrieb Julian Gilbey:
> > Why is the current intention not to ship the python3.10 package in
> > bookworm?
> 
> Because it would amount to about double the work for all those involved.

I doubt it would be double the work, but as Scott points out in his
email, it would require paying attention to security issues in the
Python interpreter for both the 3.10 and 3.11 interpreters.  I had not
considered that.

> Besides, Python 3.11 has some points for it:
> - Real performance gains for real workloads
> - It will be supported one year longer (so EOL is expected to be around the
> time bookworm will be out of stable, too).

I'm not proposing that we revert to Python 3.10 as default for
bookworm, only that we have the python3.10 package itself in
bookworm.

> > I was trying to run some experiments in a virtual environment a few
> > days ago, and it turns out that several of the Python packages I
> > needed do not yet run on Python 3.11.  I was saved by being able to
> > run in a Python 3.10 venv and download all the required packages from
> > PyPI.  If bookworm shipped without python3.10, I would not have been
> > able to do my work.  Removing python3.10 from bookworm will seriously
> > affect many of our users in a similar situation to me.
> ...
> > P.S. We should also fix #1036268 if we do keep python3.10 in bookworm;
> > I'm happy to do an NMU if needed.
> 
> Maybe you could sponsor a "backport" of Python3.11?

I don't understand this suggestion.  #1036268 says that running
"python3.10 -m venv envname" if the python3.10-venv package is not
installed should output a meaningful error message rather than crash
with an "undefined variable" error.

Best wishes,

   Julian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web