Skip to content
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

fix VyperException import #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

salustiana
Copy link

Fixes the import error preventing the lsp to run (at least on neovim):

[ERROR][2025-03-19 14:10:49] .../vim/lsp/rpc.lua:770 "rpc" "vyper-lsp" "stderr" " File \"/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper_lsp/main.py\", line 33, in <module>\n from vyper_lsp.handlers.signatures import SignatureHandler\n File \"/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper_lsp/handlers/signatures.py\", line 14, in <module>\n from vyper_lsp.ast import AST\n File \"/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper_lsp/ast.py\", line 12, in <module>\n from vyper.utils import VyperException\nImportError: cannot import name 'VyperException' from 'vyper.utils' (/home/salus/si/contracts/.venv/lib/python3.13/site-packages/vyper/utils.py)\n"

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant