mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #184179 from Mic92/dbx
dbx: 0.5.0 -> 0.6.8 (also fix nixpkgs-review)
This commit is contained in:
commit
6311346951
@ -2,7 +2,7 @@
|
||||
, fetchFromGitHub
|
||||
, databricks-cli
|
||||
, scipy
|
||||
, pathpy
|
||||
, path
|
||||
, pathspec
|
||||
, pydantic
|
||||
, protobuf
|
||||
@ -18,29 +18,26 @@
|
||||
, 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
|
||||
pathpy
|
||||
path
|
||||
pathspec
|
||||
pydantic
|
||||
protobuf
|
||||
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user