#5357 closed enhancement (fixed)

Python3-3.12.0

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 12.1
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (8)

comment:2 by rahul, 14 months ago

I don't immediately see anything major syntax wise like the regex rework from Python 3.11. However, distutils was removed, meaning that a lot of the BLFS packages that depend on it (some of the python modules) can no longer be built until they update.

in reply to:  2 ; comment:3 by Xi Ruoyao, 14 months ago

Replying to rahul:

I don't immediately see anything major syntax wise like the regex rework from Python 3.11. However, distutils was removed, meaning that a lot of the BLFS packages that depend on it (some of the python modules) can no longer be built until they update.

AFAIK we've converted the entire BLFS not to depend on distutils long ago. I've rebuilt the following BLFS Python modules w/o problem:

Package            Version
------------------ -------
asciidoc           10.2.0
Brotli             1.1.0
dbus-python        1.3.2
docutils           0.20.1
editables          0.3
flit_core          3.9.0
fonttools          4.43.0
gi-docgen          2023.1
gitdb              4.0.10
GitPython          3.1.34
gpg                1.22.0
hatch-vcs          0.3.0
hatchling          1.12.2
iniconfig          2.0.0
Jinja2             3.1.2
Mako               1.2.4
Markdown           3.4.1
MarkupSafe         2.1.3
meson              1.2.2
meson-python       0.12.0
packaging          23.2
pathspec           0.10.3
pip                23.2.1
pluggy             1.0.0
polib              1.2.0
pwquality          1.4.5
py                 1.11.0
pycairo            1.25.0
Pygments           2.15.1
PyGObject          3.46.0
pyproject-metadata 0.7.0
pytest             7.4.2
python-dbusmock    0.29.1
setuptools         68.2.2
setuptools-scm     7.1.0
six                1.16.0
smartypants        2.0.1
smmap              5.0.0
typing_extensions  4.4.0
typogrify          2.0.7
wheel              0.41.2

If there are still things requiring distutils, then "which package"?

in reply to:  3 comment:4 by Xi Ruoyao, 14 months ago

Replying to Xi Ruoyao:

If there are still things requiring distutils, then "which package"?

Self answer: gobject-introspection. But it seems still "working fine" despite some test failures related to distutils.

comment:5 by Xi Ruoyao, 14 months ago

Anyway BLFS discussion should be in BLFS ticket: https://wiki.linuxfromscratch.org/blfs/ticket/18664

comment:6 by Xi Ruoyao, 14 months ago

It seems we are both completely wrong. The distutils module still exists but it's now installed by setuptools.

We need setuptools for meson anyway, see #5358.

comment:7 by Bruce Dubbs, 14 months ago

Summary: Python-3.12.0Python3-3.12.0

comment:8 by Bruce Dubbs, 13 months ago

Resolution: fixed
Status: newclosed

Fixed at commit a5de784d.

Note: See TracTickets for help on using tickets.