Skip to content

update jedi dependencies to add python 3.13 support - #24330

Merged
Karthik Nadig (karthiknadig) merged 1 commit into
microsoft:mainfrom
soda92:update-python-deps
Oct 28, 2024
Merged

update jedi dependencies to add python 3.13 support#24330
Karthik Nadig (karthiknadig) merged 1 commit into
microsoft:mainfrom
soda92:update-python-deps

Conversation

@soda92

Copy link
Copy Markdown

Once at a time I switched to jedi language server but find it didn't work.

I checked the error and find that the error was:

  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\jedi\inference\__init__.py", line 91, in __init__
    self.grammar = environment.get_grammar()
                   ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\jedi\cache.py", line 112, in wrapper
    result = method(self, *args, **kwargs)
  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\jedi\api\environment.py", line 37, in get_grammar
    return parso.load_grammar(version=version_string)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "***data\extensions\ms-python.python-2024.16.1-universal\python_files\lib\jedilsp\parso\grammar.py", line 264, in load_grammar
    raise NotImplementedError(message)
NotImplementedError: Python version 3.13 is currently not supported.

I tracked down and find that parso 0.8.4 added python3.13 support

So the dependencies needs to be updated

@soda92

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@soda92 Maple (soda92) changed the title update jedi dependencies update jedi dependencies to add python 3.13 support Oct 24, 2024
@soda92

Copy link
Copy Markdown
Author

@vs-code-engineering vs-code-engineering Bot added this to the November 2024 milestone Oct 28, 2024
@karthiknadig
Karthik Nadig (karthiknadig) merged commit b428ba5 into microsoft:main Oct 28, 2024
@soda92
Maple (soda92) deleted the update-python-deps branch October 28, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants