New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking changes / docs out of date #1353
Comments
Considering that Line 209 in ba5ae31
Not sure what you mean with the rename? Are you sure you are actually looking at |
Having uninstalled 1.1.5 and installed 1.1.7 again, I can't reproduce the argument order problem, so maybe something funny happened with my pip version locally. If that's the case, the only problems seem to be the reference to |
No, |
Ah! I found it. I had this (I guess defunct?) package installed in my global site_packages: https://pypi.org/project/lark-parser/ It's a bit confusing that the readthedocs project is called |
I don't want to take lark-parser offline from pypi, because it might break existing projects that use an old version. However, we don't publish any new packages there. What sort of warning do you think I should place, and where? Yes, https://lark.readthedocs.io/ is occupied by an unmaintained project. @MegaIng IIRC he willingly relinquished |
Yeah, we should ask. |
Perhaps you could publish a final version under https://www.dampfkraft.com/code/how-to-deprecate-a-pypi-package.html People should be able to keep the old behaviour if they depend on |
Describe the bug
After updated from Lark 1.1.5 to 1.1.7, the parser fails with (at least) two problems. These seem to be due to a rename of
ParseTree
toTree
(contrary to the docs e.g. onparse
: https://lark-parser.readthedocs.io/en/stable/classes.html#lark.Lark.parse) and a re-ordering ofv_args
in theTransformer
methods to no longer match what's documented here:https://lark-parser.readthedocs.io/en/stable/visitors.html#v-args
Also, the docs don't seem to have been building for the past few weeks:
https://readthedocs.org/projects/lark-parser/builds/
To Reproduce
Write a transformer with something like this:
and it will fail by saying
Meta
object not subscriptable. This works fine in 1.1.5, but it looks like 1.1.7 expects this instead:The text was updated successfully, but these errors were encountered: