Hi there - it seems the recent 0.5 release of the SLY dependency has broken json-five:
>>> json5.loads('{"foo": 123}')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/json5/loader.py", line 49, in loads
model = parse_source(s)
File "/usr/local/lib/python3.10/site-packages/json5/parser.py", line 479, in parse_source
model = parse_tokens(tokens)
File "/usr/local/lib/python3.10/site-packages/json5/parser.py", line 474, in parse_tokens
return parser.parse(raw_tokens)
File "/usr/local/lib/python3.10/site-packages/json5/parser.py", line 449, in parse
model = super().parse(tokens)
File "/usr/local/lib/python3.10/site-packages/sly/yacc.py", line 2148, in parse
sym.end = symstack[-1].end
AttributeError: 'JSON5Token' object has no attribute 'end'
Perhaps the bug could be in SLY itself? But the situation for dependants is complicated by this announcement.
Hi there - it seems the recent 0.5 release of the SLY dependency has broken json-five:
>>> json5.loads('{"foo": 123}') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.10/site-packages/json5/loader.py", line 49, in loads model = parse_source(s) File "/usr/local/lib/python3.10/site-packages/json5/parser.py", line 479, in parse_source model = parse_tokens(tokens) File "/usr/local/lib/python3.10/site-packages/json5/parser.py", line 474, in parse_tokens return parser.parse(raw_tokens) File "/usr/local/lib/python3.10/site-packages/json5/parser.py", line 449, in parse model = super().parse(tokens) File "/usr/local/lib/python3.10/site-packages/sly/yacc.py", line 2148, in parse sym.end = symstack[-1].end AttributeError: 'JSON5Token' object has no attribute 'end'Perhaps the bug could be in SLY itself? But the situation for dependants is complicated by this announcement.