I have a piece of code using package A, and other piece using package B. Now I want to use them in the same project, but turns out packages A and B depend on a different version of a common dependence C - so
add them both. I’m not an author of neither A nor B (nor C for that matter), so cannot just update
Project.toml in one of them to bump a version.
I hoped there is a way to force
Pkg into installing a package ignoring its dependencies, or override this check in another way, but could not find anything related in the docs. Basically any other package manager I interacted with has an override flag for something like this, so that the user can quickly make it work and properly deal with the issue later. Of course, assuming that the needed parts of both A and B will actually work with a single version of C - seems like a reasonable assumption in many cases.
In my particular case A = LocalFilters.jl, B = NamedPlus.jl, and C = Compat.jl, if that’s important.
Any suggestions on how to install both packages together?