Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17124
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | ben0i0d <ben0i0d@foxmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Involving free-threaded Python in Debian (Was: Free-threaded python3.13t packaging in Debian?) |
| Date | Tue, 04 Nov 2025 09:50:01 +0100 |
| Message-ID | <LNkTL-amis-11@gated-at.bofh.it> (permalink) |
| References | <Jw8qm-Ia8-5@gated-at.bofh.it> <Jw8qm-Ia8-3@gated-at.bofh.it> <LNkTL-amis-13@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Nov 4 08:40:03 2025 |
| Old-Return-Path | <ben0i0d@foxmail.com> |
| X-Amavis-Spam-Status | No, score=0.045 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, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RDNS_DYNAMIC=0.982] autolearn=no autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .foxmail. - helo: .out203-205-221-192.mail.qq. - helo-domain: .qq.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Qq-Mid | xmsmtpt1762243752tsnz9a73b |
| X-Qq-Xmailinfo | OGr48utWQcJEC9sXDT/CKeEZHC7EWFjiK7GjH1QgIyyJ1c+FGupWpWKCawtmmg 4UZqjwx1R8PgRXu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= |
| Content-Type | multipart/alternative; boundary="------------5cKdB33eGTzC4pGAsDDkurfw" |
| X-Oq-Msgid | <93a758d9-5e38-43c3-9741-c200da1ba5e5@foxmail.com> |
| MIME-Version | 1.0 |
| User-Agent | Mozilla Thunderbird |
| Content-Language | en-US |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/23324 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/tencent_281F50EFC0E1EC2DC3084074148A56004E0A@qq.com |
| Approved | robomod@news.nic.it |
| Lines | 141 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | stefanor@debian.org |
| X-Original-Date | Tue, 4 Nov 2025 16:09:11 +0800 |
| X-Original-Message-ID | <tencent_281F50EFC0E1EC2DC3084074148A56004E0A@qq.com> |
| X-Original-References | <3D4BF25C-7BC7-4DC3-8E3E-20D35A0BF4B7@outlook.com> <3054600.mvXUDI8C0e@galatea> <TY3PR01MB1001482853D843DAD84C7F30E81C4A@TY3PR01MB10014.jpnprd01.prod.outlook.com> |
| Xref | csiph.com linux.debian.maint.python:17124 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
------------------------------------------------------------------------
Thanks for the invitation. I would like to briefly summarize the results
of my previous communication with Stefano and the current status of my work.
Here are the repositories I have been working on. I have completed the
build and testing of python3.14t and python3t. An experimental
repository is also under my account:
https://salsa.debian.org/ben0i0d/python3t
https://salsa.debian.org/ben0i0d/python3t-defaults
In my previous work, I enabled |nogil| and the |t| flag to ensure that
python3t is completely isolated from the existing Python line. That is,
python3t/3.14t follows the “B” technical route. I isolated their
|dist-packages|. (However, note that since I haven’t adapted pip
packages yet, the current venv does not work properly, though manual pip
installation works fine.)
When I communicated with Stefano via email, he agreed with the idea of
using a suffix and nogil, but suggested two corrections:
1.
We cannot split out a separate python3t source package. The builds
must produce two parallel interpreters from the existing CPython
team packages (of course, they are isolated, including |/usr/lib|,
i.e., the standard library is isolated).
2.
|dist-packages| should not be isolated. This way, we only need to
focus on the porting, and if issues arise, venv can be used as a
transition.
I agree with this view, and this is what I am currently doing—choosing
option (a).
Regarding GIL vs. nogil, pure Python modules are usually not a problem,
e.g., pip. The challenge lies in Python packages with C extensions.
From my perspective, under option (a), the main issue only occurs when
mixing GIL and nogil. Perhaps we should first introduce the nogil
interpreter into Debian as a base, like Fedora, which could also bring
nogil support to Ubuntu 26.04.
As for adapting modules for nogil, I don’t have a good solution yet.
This problem will need to be discussed by the community, and I have not
conducted tests or developed feasible approaches for mixed usage so far.
Ideally, I plan to complete option (a) within two weeks, i.e., finish
the rules modifications and submit them.
At that time, I will carry out this part of the investigation.
Best regards,
*Xu Chen (ben0i0d)*
------------------------------------------------------------------------
在 2025/11/4 15:28, Chen Shengqi 写道:
> Xu Chen mentioned that he had some previous email with Stefanor, so I'm looping
> him into this thread.
Back to linux.debian.maint.python | Previous | Next | Find similar
Re: Involving free-threaded Python in Debian (Was: Free-threaded python3.13t packaging in Debian?) ben0i0d <ben0i0d@foxmail.com> - 2025-11-04 09:50 +0100
csiph-web