Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python310 for openSUSE:Factory checked in at 2021-12-02 22:30:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python310 (Old) and /work/SRC/openSUSE:Factory/.python310.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python310" Thu Dec 2 22:30:24 2021 rev:8 rq:935211 version:3.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python310/python310.changes 2021-11-17 01:15:38.394191775 +0100 +++ /work/SRC/openSUSE:Factory/.python310.new.31177/python310.changes 2021-12-02 22:31:28.326394690 +0100 @@ -1,0 +2,17 @@ +Thu Dec 2 13:51:57 UTC 2021 - Matej Cepl <[email protected]> + +- Add pdb_adjust_breakpoints.patch fixing expectd results in + test_pdb_breakpoints_preserved_across_interactive_sessions + (bpo#45964). + +------------------------------------------------------------------- +Mon Nov 29 00:17:07 UTC 2021 - Matej Cepl <[email protected]> + +- Remove shebangs from from python-base libraries in _libdir + (bsc#1193179). +- Readjust patches: + - bpo-31046_ensurepip_honours_prefix.patch + - decimal.patch + - python-3.3.0b1-fix_date_time_compiler.patch + +------------------------------------------------------------------- New: ---- pdb_adjust_breakpoints.patch python310-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python310.spec ++++++ --- /var/tmp/diff_new_pack.CGlVHH/_old 2021-12-02 22:31:29.774389358 +0100 +++ /var/tmp/diff_new_pack.CGlVHH/_new 2021-12-02 22:31:29.782389328 +0100 @@ -111,6 +111,7 @@ # 3. mkdir Vendor && mv usr/include/* Vendor/ # 4. tar cJf bluez-devel-vendor.tar.xz Vendor/ Source21: bluez-devel-vendor.tar.xz +Source98: python310-rpmlintrc # Tarball is signed by the GPG key of Pablo Galindo Salgado (0x64E628F8D684696D) # https://keybase.io/pablogsal/pgp_keys.asc?fingerprint=a035c8c19219ba821ecea86b64e628f8d684696d Source99: python.keyring @@ -145,6 +146,9 @@ # PATCH-FIX-SLE skip-test_pyobject_freed_is_freed.patch [email protected] # skip a test failing on SLE-15 Patch34: skip-test_pyobject_freed_is_freed.patch +# PATCH-FIX-UPSTREAM pdb_adjust_breakpoints.patch bugno [email protected] +# adjust results of a doctest +Patch35: pdb_adjust_breakpoints.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: fdupes @@ -153,10 +157,6 @@ BuildRequires: netcfg BuildRequires: openssl-devel BuildRequires: pkgconfig -%if 0%{?suse_version} >= 1550 -# The provider for python(abi) is in rpm-build-python -BuildRequires: rpm-build-python -%endif BuildRequires: xz BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(expat) @@ -164,6 +164,10 @@ BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(zlib) #!BuildIgnore: gdk-pixbuf-loader-rsvg +%if 0%{?suse_version} >= 1550 +# The provider for python(abi) is in rpm-build-python +BuildRequires: rpm-build-python +%endif %if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(libnsl) BuildRequires: pkgconfig(libtirpc) @@ -398,10 +402,12 @@ %if 0%{?sle_version} && 0%{?sle_version} <= 150300 %patch34 -p1 %endif +%patch35 -p1 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac +%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 # find *.py, filter to files that contain bad shebangs @@ -410,6 +416,13 @@ | xargs -0 grep -lE '^#! *(/''usr/.*bin/(env +)?)?python' \ | xargs sed -r -i -e '1s@^#![[:space:]]*(/''usr/(local/)?bin/(env +)?)?python([0-9]+(\.[0-9]+)?)?@#!%{_bindir}/python3@' done +%else +# For non-primary Python, just don't bother (bsc#1193179) and remove all +# those shebangs +for dir in Lib Tools; do + find $dir -name '*.py' -type f -exec sed -i '1{/^#!.*python/ d}' '{}' \; +done +%endif # drop in-tree libffi and expat rm -r Modules/_ctypes/libffi* Modules/_ctypes/darwin ++++++ pdb_adjust_breakpoints.patch ++++++ --- Lib/test/test_pdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -362,7 +362,7 @@ def test_pdb_breakpoints_preserved_acros 1 breakpoint keep yes at ...test_pdb.py:... 2 breakpoint keep yes at ...test_pdb.py:... (Pdb) break pdb.find_function - Breakpoint 3 at ...pdb.py:94 + Breakpoint 3 at ...pdb.py:93 (Pdb) break Num Type Disp Enb Where 1 breakpoint keep yes at ...test_pdb.py:... ++++++ python310-rpmlintrc ++++++ addFilter("pem-certificate.*/usr/lib.*/python.*/test/*.pem")
