leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
chadhs 2019-02-12T22:21:01.001600Z

lein 2.9 and lein-ring-server do not place nicely

chadhs 2019-02-12T22:21:29.002100Z

reverting to self-installed 2.8.3 and all is ok

2019-02-12T22:40:43.002500Z

@chadhs haven’t tried, but what error?

chadhs 2019-02-12T22:46:34.003100Z

there’s my project.clj and the output when i run lein ring server

2019-02-12T22:47:34.003500Z

ah weird that the lein version affected that

2019-02-12T22:47:41.003800Z

at least it seems weird to me at first glance

2019-02-12T22:47:50.004100Z

looks like a clj version would be the cause of a spec failing in clojure.core

chadhs 2019-02-12T22:48:41.004900Z

the only reason i thought to try brew uninstalling lein and manually grabbing 2.8.3 was due to the fact the only thing i changed since i worked on that project last was updating homebrew stuff today and noticed the new lein release

chadhs 2019-02-12T22:49:26.005700Z

and that error message looked more daunting than the oauth stuff i was about to look at in my project so i gave up pretty quickly 😬

chadhs 2019-02-12T22:58:32.006700Z

@mikerod for now i just made a quick install-lein.sh $version script so i can grab whatever i want into ~/bin rather than rely on homebrew for now.

2019-02-12T22:59:26.007800Z

@chadhs I’ve used brew switch to toggle between them I think

2019-02-12T22:59:33.008Z

have to have both installed in cellar

2019-02-12T22:59:35.008200Z

but either way.

2019-02-12T22:59:55.008900Z

I still don’t understand how lein caused that error, but I guess it’d require more digging into what lein main has changed that may be triggering the spec failure

chadhs 2019-02-12T23:00:04.009100Z

also good to note that this image lets you get granular with the lein version as well, so even though that’s a dev dependency and running lein run makes my app run fine on 2.9, i updated my cicd to use 2.8.3 for now just to be safe

chadhs 2019-02-12T23:00:29.009600Z

no worries, just figured i’d raise the alarm here for now. mentioning in #ring as well

chadhs 2019-02-12T23:00:36.009900Z

thanks @mikerod

2019-02-12T23:00:51.010200Z

chadhs 2019-02-12T23:01:46.010500Z

@mikerod worth a github issue?

chadhs 2019-02-12T23:02:03.011Z

can toss one out there in the next couple days. have to bounce for now, to help the fam

alexmiller 2019-02-12T23:09:02.011800Z

Need a newer version of core.unify - it’s due to using Clojure 1.10

seancorfield 2019-02-12T23:15:16.013700Z

Yeah, I followed the chain of lein-ring -> leinjacker -> core.contracts (0.0.1) ... core.contracts is at 0.0.6 now and depends on core.unify 0.5.7. Given the abandoned status of leinjacker and the inactive status of core.contracts, asking lein-ring to add a dependency on core.unify 0.5.7 seems like the simplest path to a fix.