forked from pool/python310
Accepting request 935695 from devel:languages:python:Factory
- Remove pdb_adjust_breakpoints.patch and instead just adjust location of the test breakpoint in Lib/test/test_pdb.py via sed, because we have shortened Lib/pdb.py by removing the shebang (bpo#45964). OBS-URL: https://build.opensuse.org/request/show/935695 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=9
This commit is contained in:
commit
0b860f3bd7
@ -1,15 +0,0 @@
|
||||
---
|
||||
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:...
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 4 18:40:28 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove pdb_adjust_breakpoints.patch and instead just adjust location
|
||||
of the test breakpoint in Lib/test/test_pdb.py via sed, because we
|
||||
have shortened Lib/pdb.py by removing the shebang (bpo#45964).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 2 13:51:57 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -146,9 +146,6 @@ 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
|
||||
@ -402,7 +399,6 @@ 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
|
||||
@ -422,6 +418,8 @@ done
|
||||
for dir in Lib Tools; do
|
||||
find $dir -name '*.py' -type f -exec sed -i '1{/^#!.*python/ d}' '{}' \;
|
||||
done
|
||||
# We shortened the file Lib/pdb.py so we have to move the test breakpoint location
|
||||
sed -i -e '/Breakpoint 3 at ...pdb.py:94/s/94/93/' Lib/test/test_pdb.py
|
||||
%endif
|
||||
|
||||
# drop in-tree libffi and expat
|
||||
|
Loading…
x
Reference in New Issue
Block a user