Skip to content

Databricks bundle deploy triggers whl.Autodetect  #673

@PaulMaksud

Description

@PaulMaksud

On version Databricks CLI v0.203.1 on windows intel 64 i face this error :
$ databricks bundle deploy -e dev artifacts.whl.AutoDetect: Detecting Python wheel project... artifacts.whl.AutoDetect: Found Python wheel project at C:\Users\Sesa653627\Desktop\ml integ\pilot-databricks artifacts.whl.Build(artifact1692195769): Building... Error: artifacts.whl.Build(artifact1692195769): Failed exit status 9009, output: Python est introuvable. Ex�cutez sans argument pour proc�der � l
even though i have no python wheel task declared in my bundle.yml, however i do have a setup.py file at root level and a pyproject.toml file

here is the content of my setup.py if that helps:


import os

from setuptools import setup

# To build with nuitka (compiled version), set your envar BUILD_WITH_NUITKA to True
BUILD_WITH_NUITKA = bool(os.environ.get("BUILD_WITH_NUITKA", False))

setup(
    # All other options are managed in the `pyproject.toml` file
    build_with_nuitka=BUILD_WITH_NUITKA,
    # Lib `ordered-set` is needed to speedup compilation with N uitka
    setup_requires=["nuitka>=0.6.17.2,<1", "ordered-set>=4.1.0,<5"] if BUILD_WITH_NUITKA else [],
    command_options={
        "nuitka": {
            "python-flag": "-OO",
            "no-pyi-file": True,
            "assume-yes-for-downloads": True,  # Nuitka can download and install a compiler by itself
        }
    },
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingDABsDABs related issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions