Skip to content

allow conan run [tool_requires] - #20214

Merged
czoido merged 1 commit into
conan-io:develop2from
memsharded:feature/conan_run_tool_requires
Jul 27, 2026
Merged

allow conan run [tool_requires]#20214
czoido merged 1 commit into
conan-io:develop2from
memsharded:feature/conan_run_tool_requires

Conversation

@memsharded

@memsharded memsharded commented Jul 24, 2026

Copy link
Copy Markdown
Member

Changelog: Feature: Allow conan run without a conanfile to run the executables from the profiles [tool_requires]
Docs: conan-io/docs#4511

For #20206 (comment), seems doable

Comment thread conan/api/subapi/graph.py
lockfile, remotes, update, check_updates=False,
python_requires=None):
if not python_requires and not requires and not tool_requires:
raise ConanException("Provide requires or tool_requires")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was actually dead, not in current CI coverage

@memsharded
memsharded marked this pull request as ready for review July 27, 2026 09:01
@memsharded memsharded added this to the 2.32.0 milestone Jul 27, 2026
@czoido
czoido merged commit 117a52e into conan-io:develop2 Jul 27, 2026
20 checks passed
@memsharded
memsharded deleted the feature/conan_run_tool_requires branch July 27, 2026 09:16
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.

3 participants