Looking at
|
if (this.connectionManager.serverless) { |
you'll see that for serverless compute the DBR version is hardcoded to 15, which means the local environment Python is limited to 3.11
The most recent stable serverless environment version is 4, which supports Python 3.12 and databricks-connect 17.
When I try to update my local env to databricks-connect 17, it of course wants python 3.12, but then the extension complains that I need to install python 3.11 to support DBR 15, which will of course not satisfy databricks-connect 17
Even the tutorial at https://docs.databricks.com/aws/en/dev-tools/databricks-connect/python/tutorial-serverless recommends installing Python 3.12 with the vscode extension, but that will generate this same warning.
AFAICS now, the warning is otherwise harmless, i.e. it doesn't look like it will prevent anything from working, it's just terribly confusing.