diff --git a/bundled/tool/lsp_server.py b/bundled/tool/lsp_server.py index e9d8d78..94265b3 100644 --- a/bundled/tool/lsp_server.py +++ b/bundled/tool/lsp_server.py @@ -15,9 +15,6 @@ from dataclasses import dataclass from typing import Any, Dict, List, Optional, Sequence -from packaging.version import Version -from packaging.version import parse as parse_version - # ********************************************************** # Update sys.path before importing any bundled libraries. @@ -46,6 +43,8 @@ def update_sys_path(path_to_add: str, strategy: str) -> None: # ********************************************************** import lsp_utils as utils import lsprotocol.types as lsp +from packaging.version import Version +from packaging.version import parse as parse_version from pygls import server, uris, workspace WORKSPACE_SETTINGS = {}