From b8412ecb52d0db9695d452f71c27e22d9cfc11f4974a8aad403c009cc1ec0df3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 2 Dec 2021 13:52:47 +0000 Subject: [PATCH] - Add pdb_adjust_breakpoints.patch fixing expectd results in test_pdb_breakpoints_preserved_across_interactive_sessions (bpo#45964). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=23 --- pdb_adjust_breakpoints.patch | 15 +++++++++++++++ python310-rpmlintrc | 1 + python310.changes | 7 +++++++ python310.spec | 5 +++++ 4 files changed, 28 insertions(+) create mode 100644 pdb_adjust_breakpoints.patch create mode 100644 python310-rpmlintrc diff --git a/pdb_adjust_breakpoints.patch b/pdb_adjust_breakpoints.patch new file mode 100644 index 0000000..bb9f504 --- /dev/null +++ b/pdb_adjust_breakpoints.patch @@ -0,0 +1,15 @@ +--- + 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:... diff --git a/python310-rpmlintrc b/python310-rpmlintrc new file mode 100644 index 0000000..92241ae --- /dev/null +++ b/python310-rpmlintrc @@ -0,0 +1 @@ +addFilter("pem-certificate.*/usr/lib.*/python.*/test/*.pem") diff --git a/python310.changes b/python310.changes index 96ec5e7..e95f6e1 100644 --- a/python310.changes +++ b/python310.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 2 13:51:57 UTC 2021 - Matej Cepl + +- 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 diff --git a/python310.spec b/python310.spec index 306c6cf..6dc6792 100644 --- a/python310.spec +++ b/python310.spec @@ -111,6 +111,7 @@ Source20: idle3.appdata.xml # 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 @@ Patch33: no-skipif-doctests.patch # PATCH-FIX-SLE skip-test_pyobject_freed_is_freed.patch mcepl@suse.com # skip a test failing on SLE-15 Patch34: skip-test_pyobject_freed_is_freed.patch +# PATCH-FIX-UPSTREAM pdb_adjust_breakpoints.patch bugno mcepl@suse.com +# adjust results of a doctest +Patch35: pdb_adjust_breakpoints.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: fdupes @@ -398,6 +402,7 @@ other applications. %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