diff --git a/00190-fix-tests-with-sqlite-3.8.4.patch b/00190-fix-tests-with-sqlite-3.8.4.patch new file mode 100644 index 0000000..ee93f68 --- /dev/null +++ b/00190-fix-tests-with-sqlite-3.8.4.patch @@ -0,0 +1,13 @@ +diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py +--- a/Lib/sqlite3/test/hooks.py ++++ b/Lib/sqlite3/test/hooks.py +@@ -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): + """ + diff --git a/python3.spec b/python3.spec index 92bf603..0141daf 100644 --- a/python3.spec +++ b/python3.spec @@ -126,7 +126,7 @@ Summary: Version 3 of the Python programming language aka Python 3000 Name: python3 Version: %{pybasever}.2 -Release: 12%{?dist} +Release: 13%{?dist} License: Python Group: Development/Languages @@ -629,6 +629,13 @@ Patch186: 00186-dont-raise-from-py_compile.patch # See http://bugs.python.org/issue17997#msg194950 for more. Patch187: 00187-change-match_hostname-to-follow-RFC-6125.patch +# 00190 # +# +# Fix tests with SQLite >= 3.8.4 +# http://bugs.python.org/issue20901 +# http://hg.python.org/cpython/rev/4d626a9df062 +Patch190: 00190-fix-tests-with-sqlite-3.8.4.patch + # 00192 # # # Fixing buffer overflow (upstream patch) @@ -905,6 +912,7 @@ done %patch185 -p1 %patch186 -p1 %patch187 -p1 +%patch190 -p1 %patch192 -p1 %patch193 -p1 @@ -1763,6 +1771,9 @@ rm -fr %{buildroot} # ====================================================== %changelog +* Thu May 29 2014 Matej Stuchlik - 3.3.2-13 +- Fix tests with SQLite >= 3.8.4 + * Thu May 29 2014 Miro HronĨok - 3.3.2-12 - Fix multilib dependencies. - Rename python3.Xm-config script to arch specific.