[PKG-Openstack-devel] Bug#891043: src:python-yaql: FTBFS with ply/3.11-1

Thomas Goirand zigo at debian.org
Thu Feb 22 14:39:25 UTC 2018


On 02/21/2018 08:24 PM, Stefano Rivera wrote:
> Package: src:python-yaql
> Version: 1.1.1-2
> Severity: serious
> Tags: patch upstream
> Justification: fails to build from source (but built successfully in the past)
> Control: fixed -1 1.1.3-1
> 
> I've just uploaded ply 3.11-1, and the only thing this is going to break
> is python-yaql. Sorry for that, but the good news is that this is
> already fixed in 1.1.3-1.
> 
> So, please apply this patch or upload 1.1.3-1 to unstable.
> 
>> ======================================================================
>> FAIL: yaql.tests.test_yaqlization.TestYaqlization.test_yaqlify_decorator_with_parameters
>> yaql.tests.test_yaqlization.TestYaqlization.test_yaqlify_decorator_with_parameters
>> ----------------------------------------------------------------------
>> _StringException: Traceback (most recent call last):
>>   File "yaql/tests/test_yaqlization.py", line 189, in test_yaqlify_decorator_with_parameters
>>     self.assertEqual(555, self.eval('$.attr', C()))
>>   File "yaql/tests/__init__.py", line 90, in eval
>>     expr = self.engine(expression)
>>   File "yaql/language/factory.py", line 76, in __call__
>>     self.parser.parse(expression, lexer=self.lexer), self)
>>   File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 333, in parse
>>     return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
>>   File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1063, in parseopt_notrack
>>     lookahead = get_token()     # Get the next token
>>   File "/usr/lib/python2.7/dist-packages/ply/lex.py", line 393, in token
>>     newtok = self.lexerrorf(tok)
>>   File "yaql/language/lexer.py", line 148, in t_error
>>     raise exceptions.YaqlLexicalException(t.value[0], t.lexpos)
>> yaql.language.exceptions.YaqlLexicalException: Lexical error: illegal character '$' at position 0
>>
>>
>> ----------------------------------------------------------------------
>> Ran 363 tests in 1.488s
>>
>> FAILED (failures=332)
> 
> SR

Hi Stefano,

Thanks a lot for your care, this is greatly appreciated to see Python
people caring for their reverse (build-)dependencies.

I'll upload all of OpenStack Queens, currently in Experimental, and
which includes yaql, over the course of next week, so no need to worry,
this will close this bug.

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list