Fork me on GitHub
#ring
<
2019-02-12
>
chadhs22:02:24

just a heads up, latest lein-ring-server and leiningen 2.9 aren’t playing well together right now on clojure 1.10; had to revert to lein 2.8.3

seancorfield22:02:19

@chadhs Did you open an issue against Leiningen that it broke things in 2.9?

seancorfield22:02:26

(perhaps you can share more details of what "aren't playing well together" means?)

chadhs23:02:14

@seancorfield i need to open an issue, i agree. in the #leiningen channel i posted a gist for mikerod and he looked at it a bit.

chadhs23:02:30

need to head out for the day, thanks for the kind reply

seancorfield23:02:58

@chadhs It's due to an old version of clojure.core.unify being pulled in by leinjacker (whatever that is) which seems to be pulled in from lein-ring-server.

seancorfield23:02:57

OK, so the problematic library is actually leinjacker https://github.com/sattvik/leinjacker/blob/master/project.clj pulling in really old versions of things, including core.contracts which is where I think core.unify comes from.

seancorfield23:02:59

Doesn't look like leinjacker is maintained any more... so lein-ring probably ought to override the transitive deps and bring in newer versions? @weavejester

weavejester23:02:01

If someone wants to submit a PR that mimics lein-jacker's dependency update function then that's fine by me.

weavejester23:02:22

But lein-ring should just need core.unify updated to 0.5.7 to get it working again.

weavejester23:02:27

Codox had the same issue.

seancorfield23:02:53

[org.clojure/core.contracts "0.0.6"] should do it...?

weavejester23:02:52

For Codox I just added a dependency for core.unify 0.5.7

seancorfield23:02:21

leinjacker depends on 0.0.1 😞 -- yeah, updating just core.unify might well be enough.

weavejester23:02:50

I just use leinjacker to insert dependencies.

seancorfield23:02:01

(I've never used lein-ring -- I've always managed my Ring apps "by hand")