Skip to content

_stream: Don't require runtime deps when building with --deps none#2102

Merged
juergbi merged 3 commits intomasterfrom
abderrahim/build-deps-none
Feb 6, 2026
Merged

_stream: Don't require runtime deps when building with --deps none#2102
juergbi merged 3 commits intomasterfrom
abderrahim/build-deps-none

Conversation

@abderrahim
Copy link
Contributor

@abderrahim abderrahim commented Jan 29, 2026

Before this change, running a build with --deps none would also build / pull runtime dependencies. This commit changes the elements on the command line to not require their runtime dependencies if we're using --deps none.

In addition to the config file option dependencies none and all, this PR adds run and makes it the
default instead of none. The previous commit changed the meaning of
--deps none to be different from --deps run, so we change the default to be
run.

Before this change, running a build with `--deps none` would also build / pull
runtime dependencies. This commit changes the elements on the command line to
not require their runtime dependencies if we're using `--deps none`
@juergbi
Copy link
Contributor

juergbi commented Jan 30, 2026

The proposed behavior seems reasonable. Looking at the documentation, the current none behavior might not have been intentional. It is technically still a breaking change from the CLI/config perspective but it may be acceptable for 2.7 given the default user config update which mitigates the change (and it won't break project config or element definitions).

I'd like to see at least minimal test coverage, though (could be a current test that is slightly expanded).

In addition to `none` and `all`, this commit adds `run` and makes it the
default instead of `none`. The previous commit changed the meaning of
`--deps none` to be different from `--deps run`, so we change the default to be
`run`.
@abderrahim abderrahim force-pushed the abderrahim/build-deps-none branch from 7a771c6 to ee23f26 Compare February 3, 2026 15:04
@abderrahim abderrahim force-pushed the abderrahim/build-deps-none branch from ee23f26 to 595e60e Compare February 5, 2026 15:11
@juergbi juergbi merged commit 1102d05 into master Feb 6, 2026
18 checks passed
@juergbi juergbi deleted the abderrahim/build-deps-none branch February 6, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants