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
If we have a dependency, let's say toml-f, and then we have another dependency, e.g. jonquil, that imports toml-f, we might have the case where two different versions of toml-f are requested within the same project. Since we currently haven't implemented version constraints, the default way is to specify a sha or tag. If two different versions of a dependency are requested within a project, I'd expect an error message, forcing the user to use the same version, but that is currently lacking in fpm.
Display error message and inform user which are the conflicting dependencies. The best case would be to also inform the user which versions (sha, tag) are currently requested for which dependency so the user can copy/paste to resolve the problem.
Description
If we have a dependency, let's say
toml-f
, and then we have another dependency, e.g.jonquil
, that importstoml-f
, we might have the case where two different versions oftoml-f
are requested within the same project. Since we currently haven't implemented version constraints, the default way is to specify a sha or tag. If two different versions of a dependency are requested within a project, I'd expect an error message, forcing the user to use the same version, but that is currently lacking in fpm.To reproduce:
main
.build
folder to make sure.fpm install
~/.local/bin/fpm build
You will get:
There are obviously conflicts, but these aren't resolved but more or less ignored.
It's also a follow-up to #843. @perazz
Expected Behaviour
Display error message and inform user which are the conflicting dependencies. The best case would be to also inform the user which versions (sha, tag) are currently requested for which dependency so the user can copy/paste to resolve the problem.
Version of fpm
main, 55d94b0
Platform and Architecture
MacOS/ARM
Additional Information
No response
The text was updated successfully, but these errors were encountered: