-
Notifications
You must be signed in to change notification settings - Fork 380
Description
What is your question?
Hi,
Let's consider a requirement using a version range, for example module/[~4].
When Conan installs the requirement for a given profile, for instance doing something like this:
$ conan install -u --requires=module/[~4] -pr=profileit will download recipe and package for the requested profile of the most recent version 4.*.* of module found on a remote (if it isn't in cache yet).
This happens despite some less recent version 4.*.* already present in cache because of the -u argument.
If only the recipe of the most recent version is found, but no package, Conan returns with an error:
ERROR: Missing prebuilt package for 'module/4(...)'which is something expected when no --build=missing or similar is given.
First question is of course if I understood correctly.
And now the actual (hopefully not too weird) question:
Is there a way to tell Conan to look for the most recent module's version whose binary package for a certain profile is available too?
In other words, if only the recipe of, say, version 4.8.0 is available on a remote, while an older (unknown by us) version, say 4.7.1, has the binaries too, can we tell Conan to get the requested binaries of 4.7.1 from the remote instead of trying 4.8.0 and rise an error?
TIA and kind regards.
Have you read the CONTRIBUTING guide?
- I've read the CONTRIBUTING guide