[Buildroot] [PATCH v4 3/3] package/python3: bump version to 3.12.1
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Feb 6 22:33:18 UTC 2024
Hello Adam,
On Mon, 18 Dec 2023 15:04:56 -0700
Adam Duskett <adam.duskett at amarulasolutions.com> wrote:
> Python 3.12.1 has removed distutils support. As such, we remove the distutils
> option from pkg-python.mk as well.
>
> Tested on Fedora 39, and Debian 11. All 68 package tests pass.
>
> Signed-off-by: Adam Duskett <adam.duskett at amarulasolutions.com>
> ---
> v3 -> v4:
> - Drop distutils in pkg-python.mk
> - 3.12.0 -> 3.12.1
I applied, but after doing a number of changes. The most important one
is that I had to reintroduce some of our --disable options: for
ncurses, sqlite and expat. Indeed, without these, you ended up with the
Python code installed, but not the correspond native library (the
py_cv_module__<something>=n/a only disables building the native
library).
I split up the pkg-python.mk change into a separate commit, which is
made before the python 3.12 bump. Indeed, it's semantically separate.
Finally, I updated the Buildroot manual to no longer mention distutils
support. And I did a separate commit to update the Buildroot manual
with other _SETUP_TYPE values that we support.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list