rattler-build compat: support root-dir setting in .condarc - #6044
Draft
jsmolic wants to merge 3 commits into
Draft
rattler-build compat: support root-dir setting in .condarc#6044jsmolic wants to merge 3 commits into
root-dir setting in .condarc#6044jsmolic wants to merge 3 commits into
Conversation
conda-build supports changing the build root directory with `root-dir` in `.condarc` file. This will get translated internally in conda-build to `config.croot` when initializing the Config object, which determines the final output path for v1 recipes. As rattler-build currently doesn't allow decoupling of the package output directory with the source cache and workspaces location, we don't have a way of independently setting the output directory. When both are specified, the configured output directory takes precedence and effectively overrides the `root-dir` setting. While at it, add support for passing `--croot` argument too. Closes: conda#6043
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
conda-build supports changing the build root directory with
root-dirin.condarcfile.This will get translated internally in conda-build to
config.crootwhen initializing the Config object, which determines the final output path for v1 recipes.As rattler-build currently doesn't allow decoupling of the package output directory with the source cache and workspaces location, we don't have a way of independently setting the output directory. When both are specified, the configured output directory takes precedence and effectively overrides the
root-dirsetting.While at it, add support for passing
--crootargument too.Closes: #6043
Description
Checklist - did you ...
newsdirectory (using the template) for the next release's release notes?