Netflix/PigPen

Upgrade to Clojure 1.6.0

mbossenbroek opened this issue · 1 comments

I tried upgrading some libraries, but ran into problems with projects that declare a 1.5.1 dependency.

Tried this:

-    compile 'org.clojure:clojure:1.5.1'
+    provided 'org.clojure:clojure:1.6.0'
     compile 'org.clojure:data.json:0.2.2'
     compile 'org.clojure:core.async:0.1.267.0-0d7780-alpha'
     compile 'clj-time:clj-time:0.5.0'
-    compile 'instaparse:instaparse:1.2.14'
-    compile 'com.taoensso:nippy:2.6.0-RC1'
+    compile 'instaparse:instaparse:1.3.4'
+    compile 'com.taoensso:nippy:2.6.3'
     compile 'rhizome:rhizome:0.1.9'
     compile 'com.netflix.rxjava:rxjava-core:0.9.2'
     compile 'com.netflix.rxjava:rxjava-clojure:0.9.2'

     provided 'org.apache.pig:pig:0.11.1'
     provided 'org.apache.hadoop:hadoop-core:1.1.2'

Got this:

=> (require '[pigpen.core :as pig])
ClassCastException clojure.lang.Var$Unbound cannot be cast to clojure.lang.IFn$LLL  instaparse.auto-flatten-seq.AutoFlattenSeq (auto_flatten_seq.clj:123)
nil
ExceptionInInitializerError 
    java.lang.Class.forName0 (Class.java:-2)
    java.lang.Class.forName (Class.java:270)
    clojure.lang.RT.loadClassForName (RT.java:2098)
    clojure.lang.RT.load (RT.java:430)
    clojure.lang.RT.load (RT.java:411)
    clojure.core/load/fn--5018 (core.clj:5530)
    clojure.core/load (core.clj:5529)
    clojure.core/load-one (core.clj:5336)
    clojure.core/load-lib/fn--4967 (core.clj:5375)
    clojure.core/load-lib (core.clj:5374)
    clojure.core/apply (core.clj:619)
    clojure.core/load-libs (core.clj:5413)
Caused by:
ClassCastException clojure.lang.Var$Unbound cannot be cast to clojure.lang.IFn$LLL
    instaparse.auto-flatten-seq.AutoFlattenSeq (auto_flatten_seq.clj:123)
    instaparse.gll/CatListener/fn--3975 (gll.clj:394)
    instaparse.gll/push-message/f--3905 (gll.clj:173)
    instaparse.gll/step (gll.clj:328)
    instaparse.gll/run (gll.clj:344)
    instaparse.gll/run (gll.clj:332)
    instaparse.gll/parse (gll.clj:758)
    instaparse.cfg/ebnf (cfg.clj:273)
    instaparse.abnf__init.load (:189)
    instaparse.abnf__init.<clinit> (:-1)
    java.lang.Class.forName0 (Class.java:-2)
    java.lang.Class.forName (Class.java:270)

Done. Released in 0.2.10