Hi, It seems that this particular bug is fixed upstream in commit 01b6ebe [1]. I tried packaging version 2.7.2 that includes this commit and the build progresses further but fails in new ways:
_____ ERROR collecting .pybuild/pythonX.Y_2.7/build/tests/test_reading.py ______ /usr/lib/python2.7/dist-packages/_pytest/python.py:610: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) /usr/lib/python2.7/dist-packages/py/_path/local.py:650: in pyimport __import__(modname) E File "/build/python-whoosh-2.7.2/.pybuild/pythonX.Y_2.7/build/tests/test_reading.py", line 426 E SyntaxError: Non-ASCII character '\xc3' in file /build/python-whoosh-2.7.2/.pybuild/pythonX.Y_2.7/build/tests/test_reading.py on line 426, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details =================================== FAILURES =================================== __________________________ test_filter_results_count ___________________________ Traceback (most recent call last): File "/build/python-whoosh-2.7.2/.pybuild/pythonX.Y_2.7/build/tests/test_collector.py", line 237, in test_filter_results_count text=u("alfa bravo charlie")) File "whoosh/writing.py", line 750, in add_document for tbytes, freq, weight, vbytes in items: File "whoosh/fields.py", line 156, in index raise ValueError("%r is not unicode or sequence" % value) ValueError: 'app.model1' is not unicode or sequence ________________________________ test_all_terms ________________________________ Traceback (most recent call last): File "/build/python-whoosh-2.7.2/.pybuild/pythonX.Y_2.7/build/tests/test_queries.py", line 37, in test_all_terms q = QueryParser("a", None).parse(u('hello b:there c:"my friend"')) File "whoosh/compat.py", line 45, in u return unicode(s, "unicode_escape") TypeError: decoding Unicode is not supported [many more test failures snipped] 1. https://bitbucket.org/mchaput/whoosh/commits/01b6ebe3b3a8f033111f28463b949501f1ba1730 Stopping my investigations here. -- Chris Boot bo...@debian.org GPG: 8467 53CB 1921 3142 C56D C918 F5C8 3C05 D9CE EEEE
signature.asc
Description: OpenPGP digital signature