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


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

Re: Python3 modules not built for all supported Python versions

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.devel, linux.debian.maint.python
Subject Re: Python3 modules not built for all supported Python versions
Date Mon, 30 Mar 2020 14:50:01 +0200
Message-ID <zQ21z-6WB-1@gated-at.bofh.it> (permalink)
References <zQ21z-6WB-3@gated-at.bofh.it>
X-Original-To Emilio Pozuelo Monfort <pochu@debian.org>, debian-devel <debian-devel@lists.debian.org>
X-Mailbox-Line From debian-devel-request@lists.debian.org Mon Mar 30 12:47:52 2020
Old-Return-Path <doko@debian.org>
X-Amavis-Spam-Status No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -3.5
Old-X-Envelope-From doko@debian.org
Autocrypt addr=doko@debian.org; prefer-encrypt=mutual; keydata= mQINBFSG0WgBEADcWrLbnzkO07eqpkPsp0fRr2Tuhp+MABPwSS0msANqPiy9eWYGIXf2zHam Z77aKC+dykpnHn5ibvgOa70P5PBT+Ydk5EzI6Y98FvPQkuPFxkE29NK3Gn3DPHuAyfVpE0FM lMr9e10K+ZhY++nG4ZzHQUkg52iwlZ5twjpF0nwbtfHUMAPStCGC+orXnqcdmUq96r94+lZ2 Dsb2S67TM2umnqkzuIHlbhBXtnFiDtql+wW/Axqa6hGAVqks6OTX5NxGr+FTQ0UuptxhADZ2 S4cpftUROB7DgpDl3lGicvuOwW/UWJZMp0MwKJqu56Ajgu3IQM2oTTNmDLRP243gR5PxC1Yw VXhCG+juCO4Y1ous5fwCthiOE/3vOtF+GHRDVgikNKjv5MnsqbMJytAMIZS2uN07SPZKC4vX Vcw6KCBOBQhlrLTeffmPpnQzSUFwPJAySFFWjj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R8v7Zk/xIj/sX1SULWHA1m4Z0KvfgPVzFa5vEIYcPLNyhowm63ajrwaR+j/xSWjnKmST nNtaJnxEfFxjEFF6dhZ7cNaIZ2tQCjqMElhSe7JjmVHIxfGKbHJ4tyV9G6wSk++igbWWZNG9 3kZ/4mWpAlAzdStGACmErgfm+zlK3UgKzGWHsiwNB+OFdxmZVXnwCLdRkbvd4vT0PzBrjFOk c55kiQ/DTONVrsniWlttHvaYrlai6IbsUd2krqQcGJJeI4cnHX4pTDcZ2VLowJpDsfV05BV7 WthbUjKgI55iI3ZE5WATelv8dWV8zdLVlWjvYraTxtpSwdkle4wQNntkOdYAsw==
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-devel@lists.debian.org> archive/latest/343434
List-ID <debian-devel.lists.debian.org>
List-URL <https://lists.debian.org/debian-devel/>
List-Archive https://lists.debian.org/msgid-search/571a4c17-2c50-5577-3121-4c7e3b8951bb@debian.org
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Mon, 30 Mar 2020 14:47:37 +0200
X-Original-Message-ID <571a4c17-2c50-5577-3121-4c7e3b8951bb@debian.org>
X-Original-References <3fed69b7-6801-a112-8c4b-e23a1b931fda@debian.org>
Xref csiph.com linux.debian.devel:96041 linux.debian.maint.python:12406

Cross-posted to 2 groups.

Show key headers only | View raw


On 3/30/20 1:24 PM, Emilio Pozuelo Monfort wrote:
> Hi,
> 
> We've just finished the transition to python3.8 as the default python3
> interpreter, which was a bit difficult due to some autopkgtest regressions in a
> few rdeps, and to the fact that many modules only build their extensions for the
> default python version, which means they have a strict dependency on the python3
> version[1] and they need to be rebuilt and migrated in lockstep with
> python3-defaults.
> 
> I have analyzed this based on current sid amd64 contents and have come up with
> the following packages that don't ship extensions for both py3.7 and 3.8 (which
> are the currently supported versions). Note that pure python packages that don't
> build C extensions are not affected.
> 
> It would be great if this situation can be improved in order to help with future
> python transitions. Building for all the supported python versions can be done
> by build-depending on python3-all-dev and compiling your package (or just the
> python bits) with PYTHON pointing to each version. Depending on your package's
> build system, this could be largely automated using some helper, such as
> pybuild. If you don't know how to add support for your package, feel free to ask.

Yes, that would be useful.  However there are only limited time windows when you
can do *and* check such work, i.e. when the python3-defaults package has two
supported python3 versions.  Filing and fixing these issues would be nice.

Plus for most of those packages you have to modify the build system to build the
package for each python3 version, or to just build the extension for the
non-default version.

I assume we still could keep 3.7 as a supported python3 version for some time,
if people want to work on those issues.  But people probably won't have the time
to work on that when we introduce 3.9.

Matthias

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


Thread

Re: Python3 modules not built for all supported Python versions Matthias Klose <doko@debian.org> - 2020-03-30 14:50 +0200

csiph-web