[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python 3.11 for bookworm?



Hi Andrius

On Tue, 13 Dec 2022 at 07:13, Andrius Merkys <merkys@debian.org> wrote:
> Am I right that whichever the choice, there will be only one supported
> Python version in bookworm?

Yes, I believe that was the decision made at DebConf 22.

> I believe there are many packages that will
> FTBFS with Python 3.11 as default (i.e., packages that use only the
> default Python). Was there an attempt to rebuild the archive with that
> setting?

A typical test rebuild will only catch FTBFS in dependency level one
(and maybe level two) of the transition tracker.  In the higher
levels, you'll get false positives due to failed imports of the
modules that need rebuilding.  Similarly, uploading python3-defaults
to experimental and checking for autopkgtest failures will also result
in false positives.

For reference, the python3.11-add tracker lists 594 packages
(excluding unknowns), and the python3.11-default tracker lists 351.
With the ben files currently used in the trackers, packages still red
on the first tracker also appear on the second.

For what it's worth, an incremental test rebuild of the first three
dependency levels was done in an Ubuntu PPA [3].  Roughly 80% of the
packages involved in the python3.11-default transition were tested,
and roughly 80% of the builds were successful.  All build failures are
counted here, including dependency-wait and architectures that have
never had a successful build.  A similar test rebuild was done in
January 2022 for Python 3.10 [4] and I think the numbers indicate we
are in a very similar state.

Regards
Graham


[1] https://release.debian.org/transitions/html/python3.11-add.html
[2] https://release.debian.org/transitions/html/python3.11-default.html
[3] https://launchpad.net/~pythoneers/+archive/ubuntu/python3.11-default
[4] https://launchpad.net/~pythoneers/+archive/ubuntu/python3.10-default


Reply to: