Repository navigation
Document when and why Conan skips binaries - #4584
Merged
Merged
Conversation
Add a new "Skipped binaries" page to the binary model reference explaining how Conan decides which dependency binaries are necessary, how skipping interacts with build modes (missing skipped binaries are not errors, --build=missing does not build them, forced builds always build), and how to disable it (tools.graph:skip_binaries, no_skip, package_type_traits). Link it from the embed/non-embed package_id docs, requirement traits, build modes, generate() dependencies, deployers, tutorials showing "Skip" output, and add a FAQ entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
memsharded
approved these changes
Nov 19, 2026
|
|
||
| consumer -> direct-dep -> transitive-dep | ||
|
|
||
| .. list-table:: |
Member
There was a problem hiding this comment.
Isn't it enough to refer to the "embed" and "non-embed" use cases for the package types (besides the tools and test requires)?
|
|
||
| .. code-block:: bash | ||
|
|
||
| $ conan install --requires=app/0.1 -c tools.graph:skip_binaries=False |
Member
There was a problem hiding this comment.
Add a reminder somewhere that -c:a would be necessary if we want to not skip binaries for tools and things in the build context
franramirez688
approved these changes
Nov 19, 2026
Replace the package-type table with a short mapping to the embed and non-embed cases from the dependencies page, and make it explicit that -c only applies to the host context, so -c:a is needed to avoid skipping build context binaries too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
memsharded
approved these changes
Nov 19, 2026
czoido
reviewed
Nov 20, 2026
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
czoido
approved these changes
Nov 20, 2026
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.
Add a new "Skipped binaries" page to the binary model reference explaining how Conan decides which dependency binaries are necessary, how skipping interacts with build modes (missing skipped binaries are not errors, --build=missing does not build them, forced builds always build), and how to disable it (tools.graph:skip_binaries, no_skip, package_type_traits).
Link it from the embed/non-embed package_id docs, requirement traits, build modes, generate() dependencies, deployers, tutorials showing "Skip" output, and add a FAQ entry.
For conan-io/conan#20540