Bug 32425 - Update python3 to 3.12
Summary: Update python3 to 3.12
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Python Stack Maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
: 32386 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-23 08:28 CEST by papoteur
Modified: 2024-02-06 15:44 CET (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description papoteur 2023-10-23 08:28:09 CEST
Python 3.12 is out since begin of October 2023.
We always update Python. I think that the timing is good to update it now, skipping 3.11.
This is a reminder about the order of doing things, included in the header of spec file:
# NOTES ON BOOTSTRAPING PYTHON 3.x:
#
# Due to a dependency cycle between Python, rpm, pip, setuptools, wheel,
# and other packages, in order to rebase Python 3 one has to build in the
# following order:
#
# 1.  gdb 			%%bcond_with python
# 2.  gtk-doc			%%bcond_without bootstrap
# 3.  rpm-mageia-setup		%%bcond_without bootstrap
# 4.  python-rpm-generators	%%bcond_without bootstrap
# 5.  python3 			(if python3 is build to core/udpates_testing there's no need to use %bcond_with rpmwheels)
# 6.  python-rpm-macros 	(update __default_python3_version)
# 7.  python-setuptools		%%bcond_without bootstrap
# 8.  python-packaging		%%bcond_without bootstrap
# 9.  python-pyparsing		%%bcond_without bootstrap
# 10. python-wheel		%%bcond_without bootstrap
# 11. python-pip
# 12. python-rpm-generators	%%bcond_with bootstrap
# 13. python-toml
# 13. pyproject-rpm-macros	%%bcond_with tests
# 14. python-setuptools		%%bcond_with bootstrap
# 15. python-wheel		%%bcond_with bootstrap
# 16. rpm
# 17. python-cython
# 18. python-numpy
# 19. boost
# 20. meson
# 21. x11-proto-devel
# 22. gdb			%%bcond_without python
# 23. python-coverage
# 24. python-nose
# 25. python-yaml
# 26. python-markdown
# 27. python-markupsafe
# 28. python-beaker
# 29. python-setuptools_scm
# 30. python-tomli
# 31. python-dateutil
# 32. python-six
# 33. python-pbr
# 34. python-argparse
# 35. python-linecache2
# 36. python-funcsigs
# 38. python-mock
# 39. python-mako
# 40. python-pygments
# 41. python-flit
# 42. python-requests
# 43. python-urllib3
# 44. python-chardet
# 45. python-charset-normalizer	%%bcond_with test
# 46. python-docutils
# 47. python-idna
# 48. gobject-introspection
# 49. python-enchant
# 50. file
# 51. rpmlint
# 52. rpm-mageia-setup		%%bcond_with bootstrap
# 53. bm
# 54. python-httplib2
# 55. mgarepo

# Then the most important packages have to be built, starting from their
# various leaf dependencies recursively. After these have been built, a
# targeted rebuild should be requested for the rest.
#
# Currently these packages are recommended to have been built before a targeted
# rebuild after a python abi change:
#   python-sphinx, python-pytest.

Is there other rules?
papoteur 2023-10-23 08:28:38 CEST

CC: (none) => pkg-bugs

Comment 1 Marja Van Waes 2023-10-23 14:22:41 CEST
*** Bug 32386 has been marked as a duplicate of this bug. ***

CC: (none) => lovaren

Comment 2 Jens Persson 2023-11-19 22:49:55 CET
Any progress?

CC: (none) => xerxes2

Comment 3 Jani Välimaa 2023-11-25 23:58:07 CET
I have built python3 3.12 rpm locally and will do some local tests before start pushing pkgs to BS.

CC: (none) => jani.valimaa

Comment 4 Jens Persson 2023-11-30 18:17:45 CET
There is another bug report about Glibc beeing outdated. As Python depends heavily on Glibc maybe it would be a good idea to update Glibc first?
Comment 5 Jens Persson 2023-12-10 18:15:15 CET
Noticed that the python update is put in backports_testing so I thought I should test it. So with a shiny new task-gnome-minimal install I just had to remove these packages first:
python3-cups, python3-curl, python3-opengl, python3-smbc, speech-dispatcher-conf, system-config-printer-libs, net_monitor, mageiawelcome, ibus, gnome-browser-connector, gnome-tweaks

After removing those 11 packages the update went through and Gnome still works.
Comment 6 papoteur 2023-12-26 21:00:49 CET
The update is now in progress in Core/release.
Comment 7 papoteur 2024-01-25 13:09:08 CET
This report is no more useful. Closing.
Comment 8 Jani Välimaa 2024-02-06 15:44:07 CET
Really closing.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.