-
Notifications
You must be signed in to change notification settings - Fork 83
Labels
bugSomething isn't workingSomething isn't workingfeat/cliactions that are visible to the useractions that are visible to the user
Description
Category of Bug / Issue
Application crashed
Current Behavior
Installing the transpilers using python 3.10.0 will fail because the installer relies on a python attribute that was introduced in python 3.10.1.
Expected Behavior
Our documentation (and databricks labs metadata) lists Python 3.10 as supported, so this should work.
The easiest fix is to update our documentation and
Steps To Reproduce
Analysis was based on python sources. This hasn't been tested, but to reproduce the bug (and verify the solution works) this should work:
- Install Python 3.10.0.
- Modify
PATHto ensure that no higher version of Python is available. - Run
databricks labs install lakebridge --debugand verify in the logs that it chose to create the venv with Python 3.10.0. - Run
databricks labs lakebridge install-transpile --debug
Relevant log output or Exception details
File "C:\Users\xxx\.databricks\labs\lakebridge\lib\src\databricks\labs\lakebridge\transpiler\installers.py", line 238, in _ensure_pip
install_pip_cmd = [venv_context.env_exec_cmd, "-m", "ensurepip", "--upgrade"]
AttributeError: 'types.SimpleNamespace' object has no attribute 'env_exec_cmd'Operating System
Windows
Version
latest via Databricks CLI
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfeat/cliactions that are visible to the useractions that are visible to the user