Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Enable override of requirements from "conan install" CLI #8017

Closed
1 task done
klimkin opened this issue Nov 5, 2020 · 1 comment
Closed
1 task done

[feature] Enable override of requirements from "conan install" CLI #8017

klimkin opened this issue Nov 5, 2020 · 1 comment

Comments

@klimkin
Copy link
Contributor

klimkin commented Nov 5, 2020

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.

@AbrilRBS
Copy link
Member

AbrilRBS commented Apr 22, 2024

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

@AbrilRBS AbrilRBS closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
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

No branches or pull requests

2 participants