Hello community, here is the log from the commit of package python for openSUSE:Factory checked in at 2014-03-21 15:47:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python (Old) and /work/SRC/openSUSE:Factory/.python.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python" Changes: -------- --- /work/SRC/openSUSE:Factory/python/python-base.changes 2014-02-19 09:10:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-base.changes 2014-03-21 15:47:37.000000000 +0100 @@ -1,0 +2,14 @@ +Sat Mar 15 08:05:41 UTC 2014 - [email protected] + +- Use profile-opt only when profiling is enabled +- python-2.7.2-disable-tests-in-test_io.patch: removed, no longer needed +- update testsuite exclusion list: + * test_signal and test_posix fail due to qemu bugs + +------------------------------------------------------------------- +Fri Mar 14 20:26:03 UTC 2014 - [email protected] + +- Fix build with SQLite 3.8.4 [bnc#867887], fixing SQLite tests, + adding python-2.7.6-sqlite-3.8.4-tests.patch + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python/python-doc.changes 2013-11-26 19:33:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python.new/python-doc.changes 2014-03-21 15:47:37.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 14 20:26:03 UTC 2014 - [email protected] + +- Fix build with SQLite 3.8.4 [bnc#867887], fixing SQLite tests, + adding python-2.7.6-sqlite-3.8.4-tests.patch + +------------------------------------------------------------------- python.changes: same change Old: ---- python-2.7.2-disable-tests-in-test_io.patch New: ---- python-2.7.6-sqlite-3.8.4-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-base.spec ++++++ --- /var/tmp/diff_new_pack.StxigS/_old 2014-03-21 15:47:39.000000000 +0100 +++ /var/tmp/diff_new_pack.StxigS/_new 2014-03-21 15:47:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,7 +40,6 @@ Patch8: python-2.6b3-curses-panel.patch Patch10: sparc_longdouble.patch Patch13: python-2.7.2-fix_date_time_compiler.patch -Patch15: python-2.7.2-disable-tests-in-test_io.patch Patch17: remove-static-libpython.diff # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18: python-2.7.3-ssl_ca_path.patch @@ -62,6 +61,7 @@ Patch30: python-2.7.6-bdist-rpm.patch # CVE-2014-1912 [bnc#863741] buffer overflow in recvfrom_into Patch31: CVE-2014-1912-recvfrom_into.patch +Patch32: python-2.7.6-sqlite-3.8.4-tests.patch # COMMON-PATCH-END %define python_version %(echo %{tarversion} | head -c 3) BuildRequires: automake @@ -145,10 +145,6 @@ %patch8 -p1 %patch10 -p1 %patch13 -p1 -#skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 ppc64le -%patch15 -p1 -%endif %patch17 -p1 %patch18 -p1 %patch20 -p1 @@ -162,6 +158,7 @@ %patch29 -p1 %patch30 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac @@ -186,8 +183,13 @@ --enable-shared \ --enable-unicode=ucs4 +%if 0%{?do_profiling} +target=profile-opt +%else +target=all +%endif LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \ - make %{?_smp_mflags} profile-opt + make %{?_smp_mflags} $target %check # on hppa, the threading of glibc is quite broken. The tests just stop @@ -196,34 +198,40 @@ %ifnarch hppa # test_file(2k) fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. probably an issue with autobuild's stdin # test_urllib2 relies on being able to resolve local address, which is notoriously impossible in autobuild -EXCLUDE="-x test_urllib2 -x test_file -x test_file2k" +EXCLUDE="test_urllib2 test_file test_file2k" # test_nis and test_threading are AWFULLY slow. -EXCLUDE="$EXCLUDE -x test_nis -x test_threading" +EXCLUDE="$EXCLUDE test_nis test_threading" # test_gdb fails if gdb with (different) python support is part of the buildsystem -EXCLUDE="$EXCLUDE -x test_gdb" +EXCLUDE="$EXCLUDE test_gdb" %ifarch ia64 # test_smtplib's testSend is known to be broken and on ia64 it actually fails most of the time, preventing the build. -EXCLUDE="$EXCLUDE -x test_smtplib" +EXCLUDE="$EXCLUDE test_smtplib" %endif # test_unicode fails in Factory -EXCLUDE="$EXCLUDE -x test_unicode" +EXCLUDE="$EXCLUDE test_unicode" %if 0%{?qemu_user_space_build} # test_asyncore fails because of unimplemented sockopt -EXCLUDE="$EXCLUDE -x test_asyncore -x test_mmap" +EXCLUDE="$EXCLUDE test_asyncore test_mmap" # emulation is unreliable -EXCLUDE="$EXCLUDE -x test_multiprocessing" +EXCLUDE="$EXCLUDE test_multiprocessing" +# qemu bug (siginterrupt handling) +EXCLUDE="$EXCLUDE test_signal" +%endif +%ifarch aarch64 +# qemu bug (wrong USE_UID16) +EXCLUDE="$EXCLUDE test_posix" %endif # This test (part of test_uuid) requires real network interfaces # so that ifconfig output has "HWaddr <something>". Some kvm instances # don't have any such interface breaking the uuid module test. -EXCLUDE="$EXCLUDE -x test_uuid" +EXCLUDE="$EXCLUDE test_uuid" # Limit virtual memory to avoid spurious failures if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then ulimit -v 10000000 || : fi -make test TESTOPTS="-l $EXCLUDE" TESTPYTHONOPTS="-R" +make test TESTOPTS="-l -x $EXCLUDE" TESTPYTHONOPTS="-R" # use network, be verbose: #make test TESTOPTS="-l -u network -v" %endif ++++++ python-doc.spec ++++++ --- /var/tmp/diff_new_pack.StxigS/_old 2014-03-21 15:47:39.000000000 +0100 +++ /var/tmp/diff_new_pack.StxigS/_new 2014-03-21 15:47:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -45,7 +45,6 @@ Patch8: python-2.6b3-curses-panel.patch Patch10: sparc_longdouble.patch Patch13: python-2.7.2-fix_date_time_compiler.patch -Patch15: python-2.7.2-disable-tests-in-test_io.patch Patch17: remove-static-libpython.diff # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18: python-2.7.3-ssl_ca_path.patch @@ -67,6 +66,7 @@ Patch30: python-2.7.6-bdist-rpm.patch # CVE-2014-1912 [bnc#863741] buffer overflow in recvfrom_into Patch31: CVE-2014-1912-recvfrom_into.patch +Patch32: python-2.7.6-sqlite-3.8.4-tests.patch # COMMON-PATCH-END Provides: pyth_doc Provides: pyth_ps @@ -104,10 +104,6 @@ %patch8 -p1 %patch10 -p1 %patch13 -p1 -#skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 ppc64le -%patch15 -p1 -%endif %patch17 -p1 %patch18 -p1 %patch20 -p1 @@ -121,6 +117,7 @@ %patch29 -p1 %patch30 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++++++ python.spec ++++++ --- /var/tmp/diff_new_pack.StxigS/_old 2014-03-21 15:47:39.000000000 +0100 +++ /var/tmp/diff_new_pack.StxigS/_new 2014-03-21 15:47:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,7 +46,6 @@ Patch8: python-2.6b3-curses-panel.patch Patch10: sparc_longdouble.patch Patch13: python-2.7.2-fix_date_time_compiler.patch -Patch15: python-2.7.2-disable-tests-in-test_io.patch Patch17: remove-static-libpython.diff # PATCH-FIX-OPENSUSE python-2.7.3-ssl_ca_path.patch [bnc#761501] -- Support directory-based certificate stores with the ca_certs parameter of SSL functions Patch18: python-2.7.3-ssl_ca_path.patch @@ -68,6 +67,7 @@ Patch30: python-2.7.6-bdist-rpm.patch # CVE-2014-1912 [bnc#863741] buffer overflow in recvfrom_into Patch31: CVE-2014-1912-recvfrom_into.patch +Patch32: python-2.7.6-sqlite-3.8.4-tests.patch # COMMON-PATCH-END BuildRequires: automake BuildRequires: db-devel @@ -181,10 +181,6 @@ %patch8 -p1 %patch10 -p1 %patch13 -p1 -#skip test_io test for ppc,ppc64 as it is broken. -%ifarch ppc ppc64 ppc64le -%patch15 -p1 -%endif %patch17 -p1 %patch18 -p1 %patch20 -p1 @@ -198,6 +194,7 @@ %patch29 -p1 %patch30 -p1 %patch31 -p1 +%patch32 -p1 # drop Autoconf version requirement sed -i 's/^version_required/dnl version_required/' configure.ac ++++++ python-2.7.6-sqlite-3.8.4-tests.patch ++++++ From: Benjamin Peterson <[email protected]> Date: Wed, 12 Mar 2014 21:51:52 -0500 Subject: [PATCH] weaken callback count inequality (closes #20901) Upstream: committed References: https://bugzilla.novell.com/show_bug.cgi?id=867887 http://bugs.python.org/issue20901 http://hg.python.org/cpython/rev/1763e27a182d Fixes test failures with SQLite 3.8.4 [ 296s] test test_sqlite failed -- Traceback (most recent call last): [ 296s] File "/home/abuild/rpmbuild/BUILD/Python-2.7.6/Lib/sqlite3/test/hooks.py", line 165, in CheckOpcodeCount [ 296s] self.assertTrue(first_count > second_count) [ 296s] AssertionError: False is not true --- Lib/sqlite3/test/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: Python-2.7.6/Lib/sqlite3/test/hooks.py =================================================================== --- Python-2.7.6.orig/Lib/sqlite3/test/hooks.py 2014-03-14 20:32:55.000000000 +0000 +++ Python-2.7.6/Lib/sqlite3/test/hooks.py 2014-03-14 20:34:07.000000000 +0000 @@ -162,7 +162,7 @@ class ProgressTests(unittest.TestCase): create table bar (a, b) """) second_count = len(progress_calls) - self.assertTrue(first_count > second_count) + self.assertTrue(first_count >= second_count) def CheckCancelOperation(self): """ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
