Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python313 for openSUSE:Factory checked in at 2024-11-18 19:57:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python313 (Old) and /work/SRC/openSUSE:Factory/.python313.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python313" Mon Nov 18 19:57:22 2024 rev:14 rq:1224887 version:3.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python313/python313.changes 2024-10-27 11:25:10.694163751 +0100 +++ /work/SRC/openSUSE:Factory/.python313.new.2017/python313.changes 2024-11-18 19:57:42.744368592 +0100 @@ -1,0 +2,13 @@ +Fri Nov 15 11:25:06 UTC 2024 - Dominique Leuenberger <dims...@opensuse.org> + +- Allow building with default LLVM version 19: just replace the + hard-coded LLVM_version in the scripts. + +------------------------------------------------------------------- +Thu Nov 14 07:06:20 UTC 2024 - Matej Cepl <mc...@cepl.eu> + +- Remove -IVendor/ from python-config boo#1231795 +- Require exact clang18 and llvm18, because apparently CPython is + not ready for 19 yet (gh#python/cpython!125499). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python313.spec ++++++ --- /var/tmp/diff_new_pack.gjOBaJ/_old 2024-11-18 19:57:44.040422696 +0100 +++ /var/tmp/diff_new_pack.gjOBaJ/_new 2024-11-18 19:57:44.040422696 +0100 @@ -257,8 +257,8 @@ %if %{with experimental_jit} # needed for experimental_jit -BuildRequires: clang => 18 -BuildRequires: llvm => 18 +BuildRequires: clang >= 18 +BuildRequires: llvm >= 18 %endif %if %{without GIL} @@ -504,6 +504,8 @@ # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac +sed -i "s/_LLVM_VERSION = .*/_LLVM_VERSION = $(realpath /usr/bin/clang | awk -F- '{print $2}')/g" ./Tools/jit/_llvm.py + %if %{primary_interpreter} # fix shebangs - convert /usr/local/bin/python and /usr/bin/env/python to /usr/bin/python3 for dir in Lib Tools; do @@ -836,6 +838,9 @@ # install devel files to /config #cp Makefile Makefile.pre.in Makefile.pre $RPM_BUILD_ROOT%{sitedir}/config-%{python_abi}/ +# Remove -IVendor/ from python-config boo#1231795 +sed -i 's/-IVendor\///' %{buildroot}%{_bindir}/python%{python_abi}-config + # RPM macros %if %{primary_interpreter} mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/