[arch-dev-public] Python 3.10 rebuilds
For the next few days we'll be doing (semi-automated) rebuilds for Python 3.10. Please avoid adding new Python packages and starting other rebuilds during this time. *This is a strong suggestion in order to minimize the pain of this huge rebuild.* Some PKGBUILDs were modified in /trunk to use the Python 3.10 site-packages path (among other tweaks). Building those against Python 3.9 might fail or produce incorrect packages. The affected packages are listed in the following two commits and care should be taken when updating them while the Python rebuild is ongoing. https://lists.archlinux.org/pipermail/arch-commits/2021-November/1084956.htm... https://lists.archlinux.org/pipermail/arch-commits/2021-November/1084957.htm...
I created a todo for the remaining ~150 packages. Just to emphasize that if a package appears as incomplete on the todo but exists in staging, that's most likely the first package built with --nocheck in order to satisfy other packages' checkdeps. Therefore, it still needs its tests to be fixed probably. π±
Hi All, On 03/12/2021 12:33, Evangelos Foutras via arch-dev-public wrote:
I created a todo for the remaining ~150 packages. Just to emphasize that if a package appears as incomplete on the todo but exists in staging, that's most likely the first package built with --nocheck in order to satisfy other packages' checkdeps. Therefore, it still needs its tests to be fixed probably. π±
For ./configure failing with: checking for the distutils Python package... no configure: error: cannot import Python module "distutils". <string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives The m4/python-devel.whatever file checks if the output `python -c 'distutils'` is not empty which makes it fail as it shows a deprecation warning. A quick workaround is calling ./configure with: PYTHONWARNINGS=ignore ./configure Good luck with the rebuilds! Jelle van der Waa
Quick reminder that the Python 3.10 rebuilds have not been merged into stable yet and care must be taken when updating them. I just had to correct a package that was moved to stable from testing but was built against Python 3.10.
π π Python 3.10 is now in the stable repos! π π (Some issues are to be expected but hopefully nothing too bad.)
participants (2)
-
Evangelos Foutras
-
Jelle van der Waa