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


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

Re: python3.10

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Thomas Ward <teward@ubuntu.com>
Newsgroups linux.debian.maint.python
Subject Re: python3.10
Date Mon, 10 Mar 2025 20:20:02 +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>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Mar 10 19:13:35 2025
Old-Return-Path <SRS0=d85a=V6=ubuntu.com=teward@fe-bounces.ubuntu.com>
X-Amavis-Spam-Status No, score=-7.198 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .ubuntu. - helo: .smtp.forwardemail. - helo-domain: .forwardemail.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Greylist delayed 608 seconds by postgrey-1.36 at bendel; Mon, 10 Mar 2025 19:13:18 UTC
X-Forward-Email-ID 67cf3766ceef6d040273caea
X-Forward-Email-Sender rfc822; teward@ubuntu.com, smtp.forwardemail.net, 121.127.44.59
X-Forward-Email-Version 0.4.40
X-Forward-Email-Website https://forwardemail.net
X-Report-Abuse abuse@forwardemail.net
X-Report-Abuse-To abuse@forwardemail.net
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22882
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/13bbed86-6bd2-4a8b-935a-20cabfd4c367@ubuntu.com
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 10 Mar 2025 15:03:00 -0400
X-Original-Message-ID <13bbed86-6bd2-4a8b-935a-20cabfd4c367@ubuntu.com>
X-Original-References <950f818b-19c8-4d9a-9f55-99c7743d86b7@debian.org> <Z88xO4WeKAJ05030@belkar.wrar.name>
X-Original-X-Complaints-To abuse@forwardemail.net
Xref csiph.com linux.debian.maint.python:16766

Show key headers only | 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