On 21. 10. 22 12:16, Miro Hrončok wrote:
On 18. 10. 22 11:27, Miro Hrončok wrote:
I suspect most of the packages will fail to build with Python 3.12 (planned for Fedora 39, change proposal TBD). The python3-setutpools package provides a distutils module [^1], so sometimes "simply" adding BuildRequires: python3-setuptools might workaround the problem.
I've created a new copr repository:
https://copr.fedorainfracloud.org/coprs/g/python/python-without-distutils-al...
It always adds python3-setuptools to the buildroot, so packages that will be successful here will be buildable once they add BuildRequires on python3-setuptools.
Note that adding such BuildRequires might however hide some transitive dependency problem, if the distutils import comes from a dependency.
Builds pending.
The following packages have either been fixed in the meantime, or their failure was unrelated:
hplip libreswan libxml2 lttng-ust nispor nmstate photocollage python-cups python-jupyter-polymake python-m2r python-mne python-mplcursors python-rpmfluff python-sphinxcontrib-openapi python-usort rebase-helper sanlock
The following packages succeeded with python3-setuptools, so adding something like this will workaround the problem for them:
BuildRequires: (python3-setuptools if python3-devel >= 3.12)
GConf2 MUSIC PyQt4 SoapySDR Zim anaconda anjuta appliance-tools astrometry audit awake b43-tools babeltrace babeltrace2 bamf baresip brd brial btest cairo-dock-plug-ins ccsm cdist clingo csmock cvc4 dee deltarpm distcc dmlite dnf-plugin-perfmetrics dnsviz eric etckeeper flann fonts-tweak-tool fusion-icon gdb gfal2-python gjots2 glusterfs gnome-doc-utils gnucash gnumeric gphotoframe gpodder graphviz grass gtk2 hivex hugin i2c-tools ibus ibus-anthy insight keycloak-httpd-client-install kig ldns libarcus libblockdev libcap-ng libcint libdnet libfreenect libftdi libkdumpfile libkkc libldb libnbd libneurosim libnl3 libprelude libpreludedb libproxy libpst libsavitar libselinux libsemanage libsolv libssh2-python libtalloc libtdb libtevent link-grammar livecd-tools maildirproc mailnag manafirewall marisa mathgl mpv netgen-mesher ntpsec ocaml-pyml oct2spec omniORB omniORBpy onboard openscap-daemon pam_wrapper pipx pluma policycoreutils pyflowtools pyke pyppd pystatgrab pysvn python-IPy python-PyPDF2 python-ansi python-auth-credential python-bintrees python-cmdln python-cpio python-cram python-cypy python-dbf python-empy python-firehose python-gccinvocation python-gzipstream python-iowait python-ipgetter python-kmod python-logging-tree python-logutils python-messaging python-modestmaps python-multi_key_dict python-nmap python-optcomplete python-pendulum python-py9p python-pyaes python-pycxx python-pyfim python-pylibravatar python-pynest2d python-pyoptical python-pyzolib python-rpdb python-schedutils python-simplevisor python-slip python-smbpasswd python-sysv_ipc python-termcolor python-uinput python-visionegg-quest python-whois python-yamlordereddictloader python3-cangjie python3-script python3-simpletal qpid-dispatch quodlibet rabbitvcs realtime-tests recode rednotebook rpm rteval rubber setroubleshoot simple-ccsm sip sos soundconverter sssd stp subversion syslog-ng systemd-coredump-python targetd tbb tcl-snack telepathy-logger tlsh torbrowser-launcher tuna tuned ufw urjtag uwsgi vips volume_key wiki2beamer wordxtr workrave xen xpra ydiff yokadi zbar