Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### CLI

* An explicitly selected profile (`--profile` or a bundle's `workspace.profile`) now takes precedence over auth environment variables (`DATABRICKS_HOST`, `DATABRICKS_TOKEN`, etc.) instead of being silently shadowed by them; env vars still fill auth fields the profile leaves empty ([#5096](https://github.com/databricks/cli/issues/5096)).
* Add `databricks local-env python sync` to provision a local Python environment (Python version, `databricks-connect` pin, and dependency constraints) matched to the selected Databricks compute target. A project with no `pyproject.toml` is initialized from scratch; an existing one is merged in place. Supports `--cluster`/`--serverless`/`--job` target selection, `--constraints-only` (skip `databricks-connect`), `--check` (dry run), and `--output json` for the VS Code extension.

### Bundles

Expand Down
1 change: 1 addition & 0 deletions acceptance/help/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Environments

Developer Tools
bundle Declarative Automation Bundles let you express data/AI/analytics projects as code.
local-env Manage local development environments matched to Databricks compute
sync Synchronize a local directory to a workspace directory

Additional Commands:
Expand Down
5 changes: 0 additions & 5 deletions cmd/localenv/localenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ import (
// New returns the local-env command group. The group, subgroup, and verb names
// come from the single command-name constants in libs/localenv so a rename is a
// one-location change (spec §0 / invariant 8).
//
// The command is Hidden while the feature lands across the stacked PRs: it is
// wired and runnable for dogfooding, but stays out of help and completion until
// the final PR unveils it (removes this flag, adds the help line and changelog).
func New() *cobra.Command {
cmd := &cobra.Command{
Use: libslocalenv.CommandGroup,
Short: "Manage local development environments matched to Databricks compute",
GroupID: "development",
Hidden: true,
Long: `Manage local development environments matched to a Databricks compute target.

Derives the Python version, databricks-connect version, and dependency
Expand Down
Loading