_config: Add python313 to %pythons (jsc#PED-12090)

This commit is contained in:
Daniel Garcia 2025-02-11 14:15:42 +01:00 committed by Elisei Roca
parent 74d5d5279b
commit a66db6b837

36
_config
View File

@ -656,10 +656,9 @@ FileProvides: /usr/bin/python python-base
FileProvides: /usr/bin/python2 python-base
FileProvides: /usr/bin/python2.7 python-base
FileProvides: /usr/bin/python3 python311-base
FileProvides: /usr/bin/python3.10 python310-base
FileProvides: /usr/bin/python3.11 python311-base
FileProvides: /usr/bin/python3.12 python312-base
FileProvides: /usr/bin/python3.13 python313-base
FileProvides: /usr/bin/python3.13t python313-nogil-base
FileProvides: /usr/bin/python3.8 python38-base
FileProvides: /usr/bin/python3.9 python39-base
FileProvides: /usr/bin/qemu-img qemu-tools
@ -843,7 +842,7 @@ Prefer: -libxkbregistry-devel-32bit
Prefer: registries-conf-suse
# have choice for (python311-qt5 or python311-pyside2 or python311-PyQt6 or python311-pyside6) needed by python311-qtconsole: python311-pyside6 python311-qt5
Prefer: -python311-pyside6
Prefer: -python311-pyside6 -python313-pyside6
# have choice for dbus-broker-restart-behavior = 36 needed by dbus-broker: dbus-broker-allow-restart dbus-broker-block-restart
Prefer: -dbus-broker-allow-restart
@ -1181,31 +1180,33 @@ Prefer: libcontainers-default-policy
%endif
# have choice for python3-jsonschema: python311-jsonschema python311-jsonschema417
Prefer: -python39-jsonschema417 -python310-jsonschema417 -python311-jsonschema417
Prefer: -python39-jsonschema417 -python310-jsonschema417 -python311-jsonschema417 -python313-jsonschema417
Prefer: -python39-jsonschema417-format-nongpl
Prefer: -python310-jsonschema417-format-nongpl
Prefer: -python311-jsonschema417-format-nongpl
Prefer: -python312-jsonschema417-format-nongpl
Prefer: -python313-jsonschema417-format-nongpl
# have choice for python-mistune after rename to python-mistune2
Prefer: -python39-mistune
Prefer: -python310-mistune
Prefer: -python311-mistune
Prefer: -python312-mistune
Prefer: -python313-mistune
Prefer: -protobuf21-devel
Prefer: -python39-urllib3_1 -python310-urllib3_1 -python311-urllib3_1 -python312-urllib3_1
Prefer: -python39-urllib3_1 -python310-urllib3_1 -python311-urllib3_1 -python312-urllib3_1 -python313-urllib3_1
# have choice for python3-magic: python38-magic python38-python-magic
Prefer: -python39-magic -python310-magic -python312-magic
Prefer: -python39-magic -python310-magic -python312-magic -python313-magic
# have choice for gcr-ssh-agent needed by libgcr-3-1: gcr-ssh-agent gcr3-ssh-agent
Prefer: -gcr3-ssh-agent -gcr3-viewer
# have choice for python3-Cython: python310-Cython python310-Cython3
Prefer: -python310-Cython3 python39-Cython3 -python311-Cython3 -python312-Cython3
Prefer: -python310-Cython0 python39-Cython0 -python311-Cython0 -python312-Cython0
Prefer: -python310-Cython3 python39-Cython3 -python311-Cython3 -python312-Cython3 -python313-Cython3
Prefer: -python310-Cython0 python39-Cython0 -python311-Cython0 -python312-Cython0 -python313-Cython0
# have choice for ntp-daemon: chrony ntp ntpsec
Prefer: chrony
@ -1217,7 +1218,7 @@ Prefer: -python39-SQLAlchemy1 -python310-SQLAlchemy1
# have choice for (python36-qt5 or python36-PyQt6) needed by python36-pytest-qt
Prefer: -python310-PyQt6 -python39-PyQt6 -python3-pyside2
Prefer: -python311-PyQt6
Prefer: -python311-PyQt6 -python313-PyQt6
# man and mandoc provide man; mandoc claims to be lightweight, but it was never discussed to be the new default
Prefer: man
@ -1267,6 +1268,7 @@ Prefer: -budgie-desktop
Prefer: python39-tornado
Prefer: python310-tornado
Prefer: python311-tornado
Prefer: python313-tornado
# have choice for libopenblas.so.0()(64bit) needed by libopencv407: libopenblas_openmp0 libopenblas_pthreads0 libopenblas_serial0
Prefer: -libopenblas_openmp0 -libopenblas_pthreads0
@ -1276,10 +1278,10 @@ Prefer: -gnome-bluetooth-1
Prefer: PackageKit-backend-zypp
# have choice for python3-sip: python3-sip-devel python3-sip4
Prefer: -python39-sip6-devel -python310-sip6-devel -python311-sip6-devel
Prefer: -python39-sip6-devel -python310-sip6-devel -python311-sip6-devel -python313-sip6-devel
Prefer: -python39-sip4 -python39-sip4-devel
Prefer: -python310-sip4 -python310-sip4-devel
Prefer: -python311-sip4 -python311-sip4-devel
Prefer: -python311-sip4 -python311-sip4-devel -python313-sip4-devel
Prefer: python310-Shapely:geos
@ -1288,7 +1290,7 @@ Prefer: -pipewire-libjack-0_3-devel libjack0
#Prefer: -libjack-devel -libjack0
# have choice for python3-zeep >= 3.2.0: python311-softlayer-zeep python311-zeep
Prefer: -python311-softlayer-zeep
Prefer: -python311-softlayer-zeep -python313-softlayer-zeep
# have choice for (dbus-1 or dbus-broker) needed by at-spi2-core: dbus-1 dbus-broker
Prefer: -dbus-broker
@ -1319,9 +1321,7 @@ Prefer: -libomp15-devel -libomp16-devel
# have choice for python3dist(jupyterlab) = 3.6.2 needed by jupyter-jupyterlab: python310-jupyterlab python311-jupyterlab python38-jupyterlab python39-jupyterlab
Prefer: -python310-jupyterlab -python39-jupyterlab
Prefer: -python310-jupyter-client7 -python39-jupyter-client7
Prefer: -python310-jupyter-client7 -python39-jupyter-client7
Prefer: -python311-jupyter-client7
Prefer: -python311-jupyter-client7
Prefer: -python311-jupyter-client7 -python313-jupyter-client7
Prefer: -python310-nbclassic -python39-nbclassic
prefer: -python310-notebook -python39-notebook
@ -3705,19 +3705,15 @@ Prefer: %{rb_default_ruby_suffix}-rubygem-railties
%define primary_python python311
%define skip_python2 1
%define _without_python2 1
%define skip_python39 1
%define skip_python310 1
Macros:
## PYTHON MACROS BEGIN
# order of %pythons is important: The last flavor overrides any operation on conflicting files and definitions during expansions,
# making it the "default" in many cases --> keep the primary python3 provider at the end.
%pythons %{?!skip_python3:%{?!skip_python39:python39} %{?!skip_python310:python310} %{?!skip_python311:python311}}
%pythons %{?!skip_python3:%{?!skip_python313:python313} %{?!skip_python311:python311}}
%add_python() %{expand:%%define pythons %1 %pythons}
%_without_python2 1
%skip_python39 1
%skip_python310 1
# prjconf definitions for python-rpm-macros
# This method for generating python_modules gets too deep to expand for rpm at about 5 python flavors.