librelist archives

« back to archive

Is leiningen.core supposed to be compatible with Clojure 1.3?

Is leiningen.core supposed to be compatible with Clojure 1.3?

From:
Brian Marick
Date:
2013-02-12 @ 19:01
Midje uses leiningen.core.project. Up through 2.0.0-preview10, that was 
compatible with Clojure 1.3. I just upgraded the Midje project.clj to use 
2.0.0. When I ran my compatibility tests, Midje blew up on 1.3 with 

	Unable to resolve symbol: fix in this context 

The problem is the use of `fix` from useful.fn (0.8.6) here:


https://github.com/technomancy/leiningen/blob/master/leiningen-core/src/leiningen/core/project.clj#L30

Useful's project file does have a "testall" that suggests it's tested 
against 1.3, so I don't know for sure what's going on. (I hope to live out
the rest of my life without having to understand Maven dependencies.) I've
tried tweaking my Midje's project.clj to include `useful` in a couple of 
ways, but nothing helps. So I've reverted back to preview 10.

--------
Looking for employment as a Clojure programmer
Latest book: /Functional Programming for the Object-Oriented Programmer/
https://leanpub.com/fp-oo

Re: [leiningen] Is leiningen.core supposed to be compatible with Clojure 1.3?

From:
Anthony Grimes
Date:
2013-02-12 @ 19:04
I don't know if this particular version of useful supports 1.3 or not, 
but don't count on any future versions supporting it either way.

> Brian Marick <mailto:marick@exampler.com>
> February 12, 2013 11:01 AM
> Midje uses leiningen.core.project. Up through 2.0.0-preview10, that 
> was compatible with Clojure 1.3. I just upgraded the Midje project.clj 
> to use 2.0.0. When I ran my compatibility tests, Midje blew up on 1.3 
> with
>
> Unable to resolve symbol: fix in this context
>
> The problem is the use of `fix` from useful.fn (0.8.6) here:
>
> 
https://github.com/technomancy/leiningen/blob/master/leiningen-core/src/leiningen/core/project.clj#L30
>
> Useful's project file does have a "testall" that suggests it's tested 
> against 1.3, so I don't know for sure what's going on. (I hope to live 
> out the rest of my life without having to understand Maven 
> dependencies.) I've tried tweaking my Midje's project.clj to include 
> `useful` in a couple of ways, but nothing helps. So I've reverted back 
> to preview 10.
>
> --------
> Looking for employment as a Clojure programmer
> Latest book: /Functional Programming for the Object-Oriented Programmer/
> https://leanpub.com/fp-oo
>