we've hit a snag that i'm not sure how best to solve.
we use kondo as a library in our app, using :mvn/version "2020.09.09"
, and we also have carve
in our ~/.clojure/deps.edn
.
so now, we can't carve our code because of this issue:
Error building classpath. Unable to compare versions for clj-kondo/clj-kondo: {:git/url "<https://github.com/borkdude/clj-kondo>", :sha "f5e6c35ffaae2f5c7945887d5a124872b32db4c3", :deps/manifest :deps, :deps/root "/Users/robert/.gitlibs/libs/clj-kondo/clj-kondo/f5e6c35ffaae2f5c7945887d5a124872b32db4c3"} and {:mvn/version "2020.09.09", :deps/manifest :mvn}
i guess we'd have to switch to a git sha for our dep, and that'd solve it, but it does raise an interesting issue!
@robert-stuttaford isn't that what aliases are for?
clojure -A:carve ...
, clojure -A:clj-kondo ...
ah sorry, you are using clj-kondo in your app. hmm. I think it's an interesting point discussing in #tools-deps
as a workaround you might indeed want to use the same git SHA as 2020.09.09
I could also make a clojars release of carve if it's really an annoying thing
yes, that's what i did, switched to git sha