taoensso / nippy

The fastest serialization library for Clojure
https://www.taoensso.com/nippy
Eclipse Public License 1.0
1.04k stars 60 forks source link

2.6.0-beta1 requires many more dependencies #40

Closed mbossenbroek closed 10 years ago

mbossenbroek commented 10 years ago

When upgrading from 2.6.0-alpha1 to 2.6.0-beta1, I noticed that nippy is pulling in the phone book of dependencies. When running in jar-sensitive places (hadoop), this increases the likelihood of a conflict.

Here's alpha:

+--- com.taoensso:nippy:2.6.0-alpha1 | +--- org.clojure:clojure:1.4.0 -> 1.5.1 | +--- org.clojure:tools.reader:0.8.3 | +--- org.iq80.snappy:snappy:0.3 | --- org.tukaani:xz:1.4

Here's beta:

+--- com.taoensso:nippy:2.6.0-beta1 | +--- org.clojure:clojure:1.6.0-beta1 | +--- org.clojure:tools.reader:0.8.3 | +--- org.iq80.snappy:snappy:0.3 | +--- org.tukaani:xz:1.4 | +--- com.taoensso:encore:0.8.0 | | +--- com.cemerick:austin:0.1.4 | | | +--- org.clojure:clojure:1.5.1 -> 1.6.0-beta1 | | | +--- org.clojure:clojurescript:0.0-2014 -> 0.0-2173 | | | | +--- com.google.javascript:closure-compiler:v20131014 | | | | | +--- args4j:args4j:2.0.16 | | | | | +--- com.google.guava:guava:15.0 | | | | | +--- com.google.protobuf:protobuf-java:2.4.1 | | | | | +--- org.json:json:20090211 | | | | | --- com.google.code.findbugs:jsr305:1.3.9 | | | | +--- org.clojure:google-closure-library:0.0-20130212-95c19e7f0f5f | | | | | --- org.clojure:google-closure-library-third-party:0.0-20130212-95c19e7f0f5f | | | | +--- org.clojure:data.json:0.2.3 | | | | +--- org.mozilla:rhino:1.7R4 | | | | --- org.clojure:tools.reader:0.8.3 | | | --- com.cemerick:piggieback:0.1.3 | | | +--- org.clojure:clojure:1.5.1 -> 1.6.0-beta1 | | | +--- org.clojure:tools.nrepl:0.2.3 | | | --- org.clojure:clojurescript:0.0-2080 -> 0.0-2173 () | | +--- com.keminglabs:cljx:0.3.2 | | | +--- org.clojure:clojure:1.5.1 -> 1.6.0-beta1 | | | +--- org.clojure:core.match:0.2.0 | | | +--- org.clojars.trptcolin:sjacket:0.1.0.3 | | | | +--- org.clojure:clojure:[1.3.0,) -> 1.6.0-beta1 | | | | +--- net.cgrand:regex:1.1.0 | | | | | --- org.clojure:clojure:[1.2.0,) -> 1.6.0-beta1 | | | | --- net.cgrand:parsley:0.9.1 | | | | +--- org.clojure:clojure:[1.2.0,) -> 1.6.0-beta1 | | | | --- net.cgrand:regex:1.1.0 () | | | +--- com.cemerick:piggieback:0.1.0 -> 0.1.3 () | | | --- watchtower:watchtower:0.1.1 | | | --- org.clojure:clojure:1.3.0 -> 1.6.0-beta1 | | +--- com.cemerick:clojurescript.test:0.2.2 | | | +--- org.clojure:clojure:1.5.1 -> 1.6.0-beta1 | | | --- org.clojure:clojurescript:0.0-1934 -> 0.0-2173 () | | +--- org.clojure:clojure:1.6.0-beta1 | | +--- expectations:expectations:1.4.56 | | | +--- org.clojure:clojure:1.5.1 -> 1.6.0-beta1 | | | +--- erajure:erajure:0.0.3 | | | | +--- org.clojure:clojure:1.4.0 -> 1.6.0-beta1 | | | | --- org.mockito:mockito-all:1.8.0 | | | --- junit:junit:4.8.1 | | +--- reiddraper:simple-check:0.5.6 | | +--- org.clojure:clojurescript:0.0-2173 () | | --- org.clojure:core.async:0.1.278.0-76b25b-alpha | +--- expectations:expectations:1.4.56 () | +--- reiddraper:simple-check:0.5.6 | +--- org.xerial.snappy:snappy-java:1.1.1-M1 | --- org.clojure:data.fressian:0.2.0 | +--- org.clojure:clojure:1.5.1 -> 1.6.0-beta1 | --- org.fressian:fressian:0.6.3

ptaoussanis commented 10 years ago

Hi Matt,

That's definitely a bug - will try look into it later today. Thanks for the report!

ptaoussanis commented 10 years ago

Hi Matt, fixed in 2.6.0-beta2:

https://clojars.org/com.taoensso/nippy lists:

org.clojure/clojure 1.4.0
org.clojure/tools.reader 0.8.3
com.taoensso/encore 0.9.2
org.iq80.snappy/snappy 0.3
org.tukaani/xz 1.4

Thanks again for the report, hadn't noticed.

mbossenbroek commented 10 years ago

Looks great - thanks!

-Matt

On Wednesday, February 26, 2014 at 2:19 AM, Peter Taoussanis wrote:

Hi Matt, fixed in 2.6.0-beta2: https://clojars.org/com.taoensso/nippy lists: org.clojure/clojure 1.4.0 org.clojure/tools.reader 0.8.3 com.taoensso/encore 0.9.2 org.iq80.snappy/snappy 0.3 org.tukaani/xz 1.4
Thanks again for the report, hadn't noticed.

— Reply to this email directly or view it on GitHub (https://github.com/ptaoussanis/nippy/issues/40#issuecomment-36110675).