On Fri, Mar 1, 2013 at 1:24 PM, Tassilo Horn <t...@gnu.org> wrote:
> Michael Klishin <michael.s.klis...@gmail.com> writes:
>
>> 2013/3/1 Tassilo Horn <t...@gnu.org>
>>
>>> So to summarize:
>>>
>>>   clj 1.5.0-RC17 + ordered 1.3.2 => clj 1.5.0-RC17 is used
>>>   clj 1.5.0      + ordered 1.3.2 => clj 1.4.0 is used
>>>   clj 1.5.0     no ordered 1.3.2 => clj 1.3.0 is used
>>>
>>> Can anymone make sense of that?
>>
>> This reminds me of
>> https://github.com/technomancy/leiningen/issues/1035
>
> Yes, this sounds very similar.  And the report also contains a fix: just
> put
>
>   :exclusions [org.clojure/clojure]
>
> in every dependency that defines its own clojure dependency.
>
>> Maybe we can start another thread for this issue, though?
>> Doesn't seem to be Clojure 1.5's fault.
>
> Indeed.  If anybody is interested in playing around with this issue,
> here's a cut-down version of my project.clj to reproduce it.
>
> --8<---------------cut here---------------start------------->8---
> (defproject foo "0.1.0-SNAPSHOT"
>   :dependencies [[org.clojure/clojure "1.5.0"]
>                  [org.clojure/core.logic "0.8.0-rc2"]
>                  [ordered "1.3.2"]
>                  [org.clojure/tools.macro "0.1.2"]]
>   :profiles {:dev
>              {:dependencies
>               [[criterium "0.3.1"] ;; Benchmarking
>                [clj-ns-browser "1.3.0"]]}})
> --8<---------------cut here---------------end--------------->8---
>
> Bye,
> Tassilo
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

The chain causing problems for you is:

[clj-ns-browser "1.3.0"] -> [seesaw "1.4.2"] -> [j18n "1.0.1"] ->
[org.clojure/clojure "[1.2,1.5)"]

The last one there allows clojure below 1.5, which includes -RC17.  As
soon as you bump to to 1.5 it ignores the "soft" version in your
:dependencies, and chooses one in the range based on your other
dependencies.

You should just need the :exclusion in clj-ns-browser.

-
Nelson Morris

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to