Loading pkgs/applications/misc/dbx/default.nix +45 −58 Original line number Diff line number Diff line { lib , fetchFromGitHub , git , python3 { lib, fetchFromGitHub, git, python3, }: let python = python3.override { packageOverrides = self: super: { pydantic = super.pydantic_1; }; }; in python.pkgs.buildPythonApplication rec { python = python3.override { packageOverrides = self: super: { pydantic = super.pydantic_1; }; }; in python.pkgs.buildPythonApplication rec { pname = "dbx"; version = "0.8.18"; pyproject = true; Loading @@ -28,19 +26,15 @@ in python.pkgs.buildPythonApplication rec { "typer" ]; pythonRemoveDeps = [ "mlflow-skinny" ]; pythonRemoveDeps = [ "mlflow-skinny" ]; build-system = with python.pkgs; [ setuptools ]; build-system = with python.pkgs; [ setuptools ]; nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; propagatedBuildInputs = with python.pkgs; [ propagatedBuildInputs = with python.pkgs; [ aiohttp click cookiecutter Loading @@ -57,24 +51,21 @@ in python.pkgs.buildPythonApplication rec { tenacity typer watchdog ] ++ typer.optional-dependencies.all; ] ++ typer.optional-dependencies.all; passthru.optional-dependencies = with python3.pkgs; { aws = [ boto3 ]; aws = [ boto3 ]; azure = [ azure-storage-blob azure-identity ]; gcp = [ google-cloud-storage ]; gcp = [ google-cloud-storage ]; }; nativeCheckInputs = [ git ] ++ (with python3.pkgs; [ nativeCheckInputs = [ git ] ++ (with python3.pkgs; [ pytest-asyncio pytest-mock pytest-timeout Loading @@ -86,9 +77,7 @@ in python.pkgs.buildPythonApplication rec { export PATH="$PATH:$out/bin" ''; pytestFlagsArray = [ "tests/unit" ]; pytestFlagsArray = [ "tests/unit" ]; disabledTests = [ # Fails because of dbfs CLI wrong call Loading Loading @@ -117,9 +106,7 @@ in python.pkgs.buildPythonApplication rec { "tests/unit/utils/test_common.py" ]; pythonImportsCheck = [ "dbx" ]; pythonImportsCheck = [ "dbx" ]; meta = with lib; { description = "CLI tool for advanced Databricks jobs management"; Loading Loading
pkgs/applications/misc/dbx/default.nix +45 −58 Original line number Diff line number Diff line { lib , fetchFromGitHub , git , python3 { lib, fetchFromGitHub, git, python3, }: let python = python3.override { packageOverrides = self: super: { pydantic = super.pydantic_1; }; }; in python.pkgs.buildPythonApplication rec { python = python3.override { packageOverrides = self: super: { pydantic = super.pydantic_1; }; }; in python.pkgs.buildPythonApplication rec { pname = "dbx"; version = "0.8.18"; pyproject = true; Loading @@ -28,19 +26,15 @@ in python.pkgs.buildPythonApplication rec { "typer" ]; pythonRemoveDeps = [ "mlflow-skinny" ]; pythonRemoveDeps = [ "mlflow-skinny" ]; build-system = with python.pkgs; [ setuptools ]; build-system = with python.pkgs; [ setuptools ]; nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; propagatedBuildInputs = with python.pkgs; [ propagatedBuildInputs = with python.pkgs; [ aiohttp click cookiecutter Loading @@ -57,24 +51,21 @@ in python.pkgs.buildPythonApplication rec { tenacity typer watchdog ] ++ typer.optional-dependencies.all; ] ++ typer.optional-dependencies.all; passthru.optional-dependencies = with python3.pkgs; { aws = [ boto3 ]; aws = [ boto3 ]; azure = [ azure-storage-blob azure-identity ]; gcp = [ google-cloud-storage ]; gcp = [ google-cloud-storage ]; }; nativeCheckInputs = [ git ] ++ (with python3.pkgs; [ nativeCheckInputs = [ git ] ++ (with python3.pkgs; [ pytest-asyncio pytest-mock pytest-timeout Loading @@ -86,9 +77,7 @@ in python.pkgs.buildPythonApplication rec { export PATH="$PATH:$out/bin" ''; pytestFlagsArray = [ "tests/unit" ]; pytestFlagsArray = [ "tests/unit" ]; disabledTests = [ # Fails because of dbfs CLI wrong call Loading Loading @@ -117,9 +106,7 @@ in python.pkgs.buildPythonApplication rec { "tests/unit/utils/test_common.py" ]; pythonImportsCheck = [ "dbx" ]; pythonImportsCheck = [ "dbx" ]; meta = with lib; { description = "CLI tool for advanced Databricks jobs management"; Loading