Merge pull request #218579 from fabaff/dbx-fix

dbx: 0.7.6 -> 0.8.8

Changed files
+23 -9
pkgs
applications
misc
+23 -9
pkgs/applications/misc/dbx/default.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "dbx";
-
version = "0.7.6";
+
version = "0.8.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "databrickslabs";
repo = "dbx";
-
rev = "v${version}";
-
hash = "sha256-P/cniy0xYaDoUbKdvV7KCubCpmOAhYp3cg2VBRA+a6I=";
+
rev = "refs/tags/v${version}";
+
hash = "sha256-nx6fz+atlnB/KxdznnZArHpyv41cuBDQauG0irq1Zyc=";
};
+
+
postPatch = ''
+
substituteInPlace setup.py \
+
--replace "mlflow-skinny>=1.28.0,<3.0.0" "mlflow" \
+
--replace "rich==12.6.0" "rich"
+
'';
propagatedBuildInputs = with python3.pkgs; [
aiohttp
···
watchdog
] ++ typer.optional-dependencies.all;
+
passthru.optional-dependencies = with python3.pkgs; {
+
aws = [
+
boto3
+
];
+
azure = [
+
azure-storage-blob
+
azure-identity
+
];
+
gcp = [
+
google-cloud-storage
+
];
+
};
+
nativeCheckInputs = [
git
] ++ (with python3.pkgs; [
···
pytest-timeout
pytestCheckHook
]);
-
-
postPatch = ''
-
substituteInPlace setup.py \
-
--replace "mlflow-skinny>=1.28.0,<=2.0.0" "mlflow" \
-
--replace "rich==12.5.1" "rich"
-
'';
preCheck = ''
export HOME=$(mktemp -d)
···
meta = with lib; {
description = "CLI tool for advanced Databricks jobs management";
homepage = "https://github.com/databrickslabs/dbx";
+
changelog = "https://github.com/databrickslabs/dbx/blob/v${version}/CHANGELOG.md";
license = licenses.databricks-dbx;
maintainers = with maintainers; [ GuillaumeDesforges ];
};