Skip to content

improve error message for build-scripts with deps - #18869

Merged
memsharded merged 1 commit into
conan-io:develop2from
memsharded:fix/error_msg_build_scripts_deps
Sep 5, 2025
Merged

memsharded merged 1 commit into
conan-io:develop2from
memsharded:fix/error_msg_build_scripts_deps

Conversation

@memsharded

@memsharded memsharded commented Sep 3, 2025

Copy link
Copy Markdown
Member

Changelog: Fix: Improve the error message and avoid the traceback when a build-scripts package tries to depend on a library in the "host" context.
Docs: conan-io/docs#4245

Close #18856

@memsharded memsharded added this to the 2.21.0 milestone Sep 3, 2025
@memsharded
memsharded merged commit 589bffe into conan-io:develop2 Sep 5, 2025
15 checks passed
@memsharded
memsharded deleted the fix/error_msg_build_scripts_deps branch September 5, 2025 10:37
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.

[bug] assertion failure when using build-scripts package type

3 participants