Conversation
|
✅ 13/13 passed, 1 skipped, 9s total Running from acceptance #342 |
pyproject.toml
Outdated
| ] | ||
| dependencies = [ | ||
| "databricks-sdk>=0.29,<0.42", | ||
| "databricks-connect==15.1", |
There was a problem hiding this comment.
Need to understand why this change is needed, databricks-connect is dependant on cluster_id or warehouse_id, so we can't fix it to specific version, it is driven by labs.yml configuration hence it is a test only depadancy.
Also why is the standard-distuilts is tagged to python version above the base line 3.10 we support?
There was a problem hiding this comment.
distutils is part of python 3.10, but removed starting with 3.11. If running python > 3.10 it needs to be added.
There was a problem hiding this comment.
databricks-connect is required when running the cli locally. Happy to remove it if it's in the way, but please provide a means to run the cli locally
There was a problem hiding this comment.
labs.yml should have this, but I want to understand why is databricks-connect needed for transpile.
install:
min_runtime_version: 13.3
require_running_cluster: false
require_databricks_connect: true
There was a problem hiding this comment.
IIRC it's needed during install-transpile , because it loads all configs and recon related code
There was a problem hiding this comment.
Thats why moving it as part of the configure instead of run will avoid this.
def configure(self, module: str) -> RemorphConfigs:
There was a problem hiding this comment.
@ericvergnaud I was able to reproduce and understood the bug better, these changes should fix this.
#1495
There was a problem hiding this comment.
Noted. Updated this PR accordingly.
…nto patch/reorganise_recon_config
* main: Improve lsp resiliency (#1491) Hot Fix for Dashboard Names (#1476) Improve installer resiliency (#1484) Patch Contributing Document (#1506) Introduce Documentation for Remorph (#1460) Fix missing dependencies (#1485) Installation Improvements (#1495) Update transpilers.md (#1486) Drop proxy commands (#1493) Fix labs.yml (#1490) Configure lsp custom options (#1487) Add support for DBT (#1456) Introduce table definition (#1450) Add Error handling Pipeline Execution (#1466) Enhance Profiler config to execute Python Script (#1465) Pipeline Executor for Profiling (#1453) Updated document On Python requirement (#1473) # Conflicts: # src/databricks/labs/remorph/transpiler/lsp/lsp_engine.py
* main: Improve lsp resiliency (#1491) Hot Fix for Dashboard Names (#1476) Improve installer resiliency (#1484) Patch Contributing Document (#1506) Introduce Documentation for Remorph (#1460) Fix missing dependencies (#1485) Installation Improvements (#1495) Update transpilers.md (#1486) Drop proxy commands (#1493) Fix labs.yml (#1490) Configure lsp custom options (#1487) Add support for DBT (#1456) # Conflicts: # pyproject.toml # src/databricks/labs/remorph/config.py # src/databricks/labs/remorph/install.py # src/databricks/labs/remorph/transpiler/execute.py # tests/unit/test_install.py
This PR:
standard-distutilsconditional dependency. Starting with Python 3.11,distutilsis no longer part of python, so needs to be installed.