dbx: 0.5.0 -> 0.6.8

This commit is contained in:
Jörg Thalheim 2022-07-31 11:10:14 +02:00
parent 0215750ba7
commit cb83d392fe

View file

@ -18,25 +18,22 @@
, pytestCheckHook
, pytest-asyncio
, pytest-timeout
, pytest-mock
, lib
, git
}:
buildPythonPackage rec {
pname = "dbx";
version = "0.5.0";
version = "0.6.8";
src = fetchFromGitHub {
owner = "databrickslabs";
repo = "dbx";
rev = "v${version}";
sha256 = "gd466hhyTfPZwC3B3LlydRrkDtfzjY7SvTKy13HDFG8=";
sha256 = "sha256-Ou+VdHFVQzmsxJiyaeDd/+FqHvJZeNGB+OXyoagJwtk=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "protobuf==4.21.1" "protobuf>=3.19.4"
'';
propagatedBuildInputs = [
databricks-cli
scipy
@ -59,36 +56,15 @@ buildPythonPackage rec {
pytestCheckHook
pytest-asyncio
pytest-timeout
pytest-mock
git
];
preCheck = ''
export HOME=$TMPDIR
'';
disabledTests = [
# require a HOME for cookiecutter
"test_configure"
"test_datafactory_deploy"
"test_deploy_incorrect_artifact_location"
"test_deploy_listed_jobs"
"test_deploy_multitask_json"
"test_deploy_multitask_yaml"
"test_deploy_non_existent_env"
"test_deploy_path_adjustment_json"
"test_deploy_path_adjustment_yaml"
"test_deploy_with_jobs"
"test_deploy_with_requirements_and_branch"
"test_deployment_with_bad_env_variable"
"test_update_job_negative"
"test_update_job_positive"
"test_with_permissions"
"test_write_specs_to_file"
"test_awake_cluster"
"test_execute"
"test_preprocess_cluster_args"
"test_launch"
"test_launch_run_submit"
"test_launch_with_parameters"
"test_no_runs"
"test_no_runs_run_submit"
"test_payload_keys"
"test_trace_runs"
# fails because of dbfs CLI wrong call
"test_dbfs_unknown_user"
"test_dbfs_no_root"