You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing upstream packages and building downstream packages it would be convenient to override dependencies from command line.
For example, building pkgB, dependent from pkgA. pkgB depends on version pkgA/1.0.0. I am changing pkgA and create a new version in local cache pkgA/1.1.0. Convenient command to test the new package would be:
conan install . --require pkgA/1.1.0
The result would be the same as changing the version in conanfile.py of pkgA.
Sorry about the original radio silence! I'm closing this as not planned at the moment.
The Conan 1 CLI won't be getting any more changes now that we're fully into Conan 2, and there the overrides are better handled with other approaches (Like explicit overrides in the recipe, or the new [replace_requires] functionality for temp fixes
When developing upstream packages and building downstream packages it would be convenient to override dependencies from command line.
For example, building
pkgB
, dependent frompkgA
.pkgB
depends on versionpkgA/1.0.0
. I am changingpkgA
and create a new version in local cachepkgA/1.1.0
. Convenient command to test the new package would be:The result would be the same as changing the version in
conanfile.py
ofpkgA
.The text was updated successfully, but these errors were encountered: