Giter Club home page Giter Club logo

Comments (6)

MegaIng avatar MegaIng commented on September 17, 2024
  • Those line numbers do not correspond to anything that could cause this issue in our version of that file see

    lark/lark/utils.py

    Lines 163 to 164 in 262ab71

    _ID_START = 'Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'Mn', 'Mc', 'Pc'
  • We already fixed this warning quite some time ago

    lark/lark/utils.py

    Lines 123 to 128 in 262ab71

    if sys.version_info >= (3, 11):
    import re._parser as sre_parse
    import re._constants as sre_constants
    else:
    import sre_parse
    import sre_constants

Are you sure you are importing version 1.1.9?

from lark.

MohammedShokr avatar MohammedShokr commented on September 17, 2024

Yes, I am using version 1.1.9
Here's a snap shot from my poetry.lock file
image

And here are the lines causing the issue
image

from lark.

MegaIng avatar MegaIng commented on September 17, 2024

What does import lark; print(lark.__version__) show? There is a reason I asked for the imported version, not what you have installed.

Clearly, the file you have does not come from our 1.1.9 distribution, you can check that manually by opening of the tar.gz/.whl files yourself and checking the utils.py file: https://pypi.org/project/lark/#files

from lark.

MohammedShokr avatar MohammedShokr commented on September 17, 2024

Yes you are right, I found out that the imported version is 0.12.0

from lark.

MegaIng avatar MegaIng commented on September 17, 2024

You probably have lark-parser installed as well. That's the old install name of this package.

from lark.

MohammedShokr avatar MohammedShokr commented on September 17, 2024

Yes, I had lark-parser with version 0.12.0 and that what caused the confusion.
Thanks for the clarification,
Closing the issue.

from lark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.