mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
databricks-cli: 0.290.2 -> 1.1.0
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
- `databricks-cli` has been updated from `0.290.2` to `1.x.x`, the first major release. OAuth tokens for interactive logins (`auth_type = databricks-cli`) are now stored in the OS-native secure store by default (Secret Service on Linux) instead of `~/.databricks/token-cache.json`; cached tokens from older versions are not migrated, so run `databricks auth login` once per profile after upgrading. To keep the previous file-backed storage, set `DATABRICKS_AUTH_STORAGE=plaintext` or add `auth_storage = plaintext` under `[__settings__]` in `~/.databrickscfg`. Additionally, the `vector_search_endpoints` DABs resource renamed `min_qps` to `target_qps` (and the `vector-search-endpoints` command renamed `--min-qps` to `--target-qps`). See the [upstream changelog](https://github.com/databricks/cli/blob/main/CHANGELOG.md) for details.
|
||||
|
||||
- `hurl` has been updated to `8.x.x` which has some breaking changes. See [upstream changelog](https://github.com/Orange-OpenSource/hurl/releases/tag/8.0.0) for details.
|
||||
- `python3Packages.django-health-check` has been updated to major version 4. See its [migration guide](https://codingjoe.dev/django-health-check/migrate-to-v4/) and [changelog](https://github.com/codingjoe/django-health-check/releases/tag/4.0.0) for breaking changes.
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "databricks-cli";
|
||||
version = "0.290.2";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "databricks";
|
||||
repo = "cli";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-kIliLlOd6/1lddWK3VtxoXvP30SajDWB6zVO4gKe9Fo=";
|
||||
hash = "sha256-MMVwypMxnFBYVlBmuJ2KWwfL1hXuro5BH7V5wrgl3lc=";
|
||||
};
|
||||
|
||||
# Otherwise these tests fail asserting that the version is 0.0.0-dev
|
||||
@@ -25,7 +25,7 @@ buildGoModule (finalAttrs: {
|
||||
--replace-fail "cli/0.0.0-dev" "cli/${finalAttrs.version}"
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-8PJ2M5L8DkL4ydtUQbw0wKvt+5rVYbOAAGvURkSMm/o=";
|
||||
vendorHash = "sha256-OK7P+0pBaL/sn+iTrVr0m3EuqA/Pssp19JRKo6nGipk=";
|
||||
|
||||
excludedPackages = [
|
||||
"bundle/internal"
|
||||
@@ -33,6 +33,12 @@ buildGoModule (finalAttrs: {
|
||||
"integration"
|
||||
"tools/testrunner"
|
||||
"tools/testmask"
|
||||
"cmd/auth"
|
||||
"cmd/root"
|
||||
"cmd/labs/project"
|
||||
"libs/auth"
|
||||
"libs/databrickscfg"
|
||||
"libs/hostmetadata"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
@@ -49,14 +55,17 @@ buildGoModule (finalAttrs: {
|
||||
# Need network
|
||||
"TestConsistentDatabricksSdkVersion"
|
||||
"TestTerraformArchiveChecksums"
|
||||
"TestExpandPipelineGlobPaths"
|
||||
"TestExpandGlobPathsInPipelines"
|
||||
"TestRelativePathTranslationDefault"
|
||||
"TestRelativePathTranslationOverride"
|
||||
"TestWorkspaceVerifyProfileForHost"
|
||||
"TestWorkspaceVerifyProfileForHost/default_config_file_with_match"
|
||||
"TestWorkspaceResolveProfileFromHost"
|
||||
"TestWorkspaceResolveProfileFromHost/no_config_file"
|
||||
"TestBundleConfigureDefault"
|
||||
"TestWorkspaceClientNormalizesHostBeforeProfileResolution"
|
||||
"TestClearWorkspaceClient"
|
||||
"TestValidateFolderPermissions"
|
||||
"TestFilesToSync"
|
||||
# Use uv venv which doesn't work with nix
|
||||
# https://github.com/astral-sh/uv/issues/4450
|
||||
"TestVenvSuccess"
|
||||
|
||||
Reference in New Issue
Block a user