On Thu, 22 Jun 2023 19:34:54 -0400 Greg Wooledge <g...@wooledge.org> wrote:
> On Fri, Jun 23, 2023 at 01:06:05AM +0200, Yoann LE BARS wrote: > > As far as I know, Python is not part of backports. Is there any way > > other > > than pinning to install the last stable version of Python on a stable > > version of Debian? > > Drop the idea that you have only one version of python3 installed, and > that this version comes from Debian repositories. > > Keep the python3 that's provided by Debian, for Debian's use. It's > part of package management and so on, and you really can't mess with > it without breaking something. > > Install *additional* versions of python3 as you need them, for your own > development work. > > I'll let the Python experts describe how to do this, if you don't already > know how. Last I heard, you're supposed to set up one python venv > (virtual environment) for each version, but that information might be > outdated. You are, of course, entirely correct, but here's the obligatory xkcd: https://xkcd.com/1987/ -- Celejar