Fork me on GitHub
#tools-deps
<
2022-01-29
>
nivekuil07:01:53

$ clj -Sdeps "{:deps {org.clojure/clojure {:mvn/version \"1.11.0-alpha4\"}}}"
Clojure 1.10.1
user=> 
running this inside a project dir, and it's starting the older clojure version instead of 1.11. works as expected anywhere else. is there some cache I have to clear? cli version is 1.10.3.1069

hiredman08:01:41

Try with -Stree at the end

nivekuil08:01:39

tree has the expected version

org.clojure/clojure 1.11.0-alpha4
  . org.clojure/spec.alpha 0.3.218
  . org.clojure/core.specs.alpha 0.2.62

dpsutton08:01:45

❯ echo '{:deps {org.clojure/clojure {:mvn/version "1.9.0"}}}' > deps.edn


❯ clj -Sdeps "{:deps {org.clojure/clojure {:mvn/version \"1.11.0-alpha4\"}}}"
Clojure 1.11.0-alpha4
user=>



❯ clj
Clojure 1.9.0
user=>
i recreated this with a deps.edn with an explicit version and the Sdeps version still won

nivekuil08:01:03

yeah, it should be merged last and works in other projects, but for some reason this one really likes 1.10.1

nivekuil08:01:16

ok, I bisected my deps.edn. turns out it will only load 1.10.1 if meander/epsilon {:mvn/version "0.0.643"} is there

nivekuil08:01:42

if I comment that line out I can load any clojure version.. odd

dpsutton08:01:43

looks like they've got a clojure in the jar: clojure/core$inc.class

dpsutton08:01:51

meander 239 doesn't have this issue

nivekuil08:01:36

I bumped it to 650 and it's fine there too :)

dpsutton08:01:15

yeah. they just had a bad build i guess