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


Groups > linux.debian.maint.python > #16766

Re: python3.10

From Thomas Ward <teward@ubuntu.com>
Newsgroups linux.debian.maint.python
Subject Re: python3.10
Date 2025-03-10 20:20 +0100
Message-ID <KoQPo-55eP-7@gated-at.bofh.it> (permalink)
References <KoQcF-54Lv-3@gated-at.bofh.it> <KoQcF-54Lv-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2025-03-10 14:36, Andrey Rakhmatullin wrote:
> On Mon, Mar 10, 2025 at 07:06:57PM +0100, Christian BAYLE wrote:
>> I just encountered recently a few venv that require 3.10 to work in 
>> at least 2 ai stable diffusion software, really difficult to package 
>> right now.
>
> Not sure what do you mean by venv but for local use you aren't 
> required to use Python interpreters from the distribution and can e.g. 
> use pyenv to install any other one.

I was in fact about to suggest the same thing Andrey did here. For any 
local-use stuff which requires one or more Python versions beyond the 
system-installed Python version, this is my recommended solution to use 
pyenv and then have the local installs alongside Debian's installed Python.

I also want to make a few things known about 'downstream' 'in Ubuntu 
that you refer to. The problem we see routinely 'downstream' is people 
try and change their Python version away from the system preferred 
Python version, thus breaking things. It happens way more than I'd like 
to admit (just look at Ask Ubuntu and the number of python errors we can 
attribute to User Error in this exact way), and usually I suggest pyenv 
[1] to allow userspace installations of Python isolated from system 
Python that works for those cases you need older versions.

I do this routinely even downstream on other distros. In fact, wherever 
you are required to use *older* Python or *newer* Python than is 
available in your distro - Debian, Ubuntu, Mint, etc. - I always point 
at PyEnv as a solution.


Thomas


[1]: https://github.com/pyenv/pyenv

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: python3.10 Andrey Rakhmatullin <wrar@debian.org> - 2025-03-10 19:40 +0100
  Re: python3.10 Thomas Ward <teward@ubuntu.com> - 2025-03-10 20:20 +0100
  Re: python3.10 Andrey Rakhmatullin <wrar@debian.org> - 2025-03-10 20:40 +0100
    Re: python3.10 Jerome Kieffer <Jerome.Kieffer@esrf.fr> - 2025-03-16 10:10 +0100
      Re: python3.10 Andrey Rakhmatullin <wrar@debian.org> - 2025-03-16 10:20 +0100
        Re: python3.10 Dmitry Shachnev <mitya57@debian.org> - 2025-03-16 10:30 +0100

csiph-web