8 python = python3.override { self = python; packageOverrides = self: super: { pydantic = super.pydantic_1; }; };
10 python.pkgs.buildPythonApplication rec {
15 src = fetchFromGitHub {
16 owner = "databrickslabs";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-5qjEABNTSUD9I2uAn49HQ4n+gbAcmfnqS4Z2M9MvFXQ=";
29 pythonRemoveDeps = [ "mlflow-skinny" ];
31 build-system = with python.pkgs; [ setuptools ];
34 propagatedBuildInputs =
55 optional-dependencies = with python3.pkgs; {
61 gcp = [ google-cloud-storage ];
66 ++ (with python3.pkgs; [
74 export HOME=$(mktemp -d)
75 export PATH="$PATH:$out/bin"
78 pytestFlagsArray = [ "tests/unit" ];
81 # Fails because of dbfs CLI wrong call
82 "test_dbfs_unknown_user"
84 # Requires pylint, prospector, pydocstyle
85 "test_python_basic_sanity_check"
90 "tests/unit/api/test_build.py"
91 "tests/unit/api/test_destroyer.py"
92 "tests/unit/api/test_jinja.py"
93 "tests/unit/commands/test_configure.py"
94 "tests/unit/commands/test_deploy_jinja_variables_file.py"
95 "tests/unit/commands/test_deploy.py"
96 "tests/unit/commands/test_destroy.py"
97 "tests/unit/commands/test_execute.py"
98 "tests/unit/commands/test_help.py"
99 "tests/unit/commands/test_launch.py"
100 "tests/unit/models/test_deployment.py"
101 "tests/unit/models/test_destroyer.py"
102 "tests/unit/models/test_task.py"
103 "tests/unit/sync/test_commands.py"
104 "tests/unit/utils/test_common.py"
107 pythonImportsCheck = [ "dbx" ];
110 description = "CLI tool for advanced Databricks jobs management";
111 homepage = "https://github.com/databrickslabs/dbx";
112 changelog = "https://github.com/databrickslabs/dbx/blob/v${version}/CHANGELOG.md";
113 license = licenses.databricks-dbx;
114 maintainers = with maintainers; [ GuillaumeDesforges ];