Skip to content

Configure which Python interpreter assest bundels uses #1048

Description

@JCZuurmond

Describe the issue

Asset bundles uses the default Python interpreter on Windows; I want to choose which python interpreter it uses.

Motivation

To chose which Python version it is using and to not globally install additional dependencies, like bdist_wheel and setuptools-scm.

Configuration

Windows laptop

Steps to reproduce the behavior

Please list the steps required to reproduce the issue, for example:

  1. Run databricks bundle deploy ... -> uses default windows Python interpreter

Expected Behavior

I expect to configure which interpreter asset bundles uses.

Actual Behavior

It selects the default python interpreter

OS and CLI version

Databricks CLI v0.210.1
Windows 10 Pro

Debug Logs

Relevant log line

time=2023-12-08T14:49:52.474+01:00 level=DEBUG source="background.go 31}" msg="running: C:\\Users\\<USER NAME>\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe setup.py bdist_wheel" pid=11680 mutator=seq mutator=build mutator=seq mutator=artifacts.BuildAll mutator=seq mutator=artifacts.Build(default) mutator=artifacts.whl.Build(default)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DABsDABs related issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions