Fork me on GitHub
#cider
<
2020-11-02
>
timsgardner08:11:50

Hey all, another question (and I'm not even sure it's a cider question specifically): is there a way to suppress warnings? I'm doing something vaguely hacky and don't want to see my repl light up with red warnings all the time

practicalli-johnny09:11:07

Evaluate code in source code buffers is way more efficient way of coding (hacking). With that approach you don't need to have the REPL buffer shown...

bruno.bonacci10:11:28

Hi all, @bozhidar will be presenting the Dark CIDER to the London Clojurians Meetup. We will learn all the dark secrects of CIDER directly from its author. RSVP: https://www.meetup.com/London-Clojurians/events/274159509/

Jimmy Miller17:11:02

So, I'm trying to deal with a boot project and use cider-jack-in-clojurescript. Sadly, this ends in an error. I have tracked down the issue, to classpath conflicts on clojure/clojurescript versions in cider/piggieback 0.5.x. In cider/piggieback 0.4.2 there is no direct dependency on a clojure version. Using that version things work fine. I am curious why the explicit reference to clojure 1.8? This project is using clojure 1.10.

dpsutton17:11:21

nothing of note seems to have changed. i'm surprised

dpsutton17:11:03

i also can't determine where the specific dep comes from

dpsutton17:11:19

clj -Sdeps '{:deps {cider/piggieback {:mvn/version "0.4.2"}}}' -Stree
org.clojure/clojure 1.10.1
  org.clojure/spec.alpha 0.2.176
  org.clojure/core.specs.alpha 0.2.44
cider/piggieback 0.4.2

Jimmy Miller17:11:45

You can see on clojars that 1.8 is listed as a dependency https://clojars.org/cider/piggieback/versions/0.5.1

dpsutton17:11:04

and with

(defproject foo "0.0.1"
  :dependencies [[cider/piggieback "0.4.2"]])
....
/t/piggie ❯❯❯ lein deps :tree
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
 [cider/piggieback "0.4.2"]
 [clojure-complete "0.2.5" :exclusions [[org.clojure/clojure]]]
 [nrepl "0.7.0" :exclusions [[org.clojure/clojure]]]
/t/piggie ❯❯❯

dpsutton17:11:25

ah, i was checking with 0.4.2 like an idiot 😞

lein deps :tree
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
 [cider/piggieback "0.5.1"]
   [javax.xml.bind/jaxb-api "2.3.1"]
     [javax.activation/javax.activation-api "1.2.0"]
   [org.clojure/clojure "1.8.0"]
   [org.clojure/clojurescript "1.8.51"]
     [com.google.javascript/closure-compiler "v20160315"]
       [args4j "2.0.26"]
       [com.google.code.findbugs/jsr305 "1.3.9"]
       [com.google.code.gson/gson "2.2.4"]
       [com.google.guava/guava "19.0"]
       [com.google.javascript/closure-compiler-externs "v20160315"]
       [com.google.protobuf/protobuf-java "2.5.0"]
     [org.clojure/data.json "0.2.6"]
     [org.clojure/google-closure-library "0.0-20151016-61277aea"]
       [org.clojure/google-closure-library-third-party "0.0-20151016-61277aea"]
     [org.clojure/tools.reader "1.0.0-beta1"]
     [org.mozilla/rhino "1.7R5"]
 [clojure-complete "0.2.5" :exclusions [[org.clojure/clojure]]]
 [nrepl "0.7.0" :exclusions [[org.clojure/clojure]]]

dpsutton17:11:28

this seems fatal

dpsutton17:11:51

the fact that it has clojure, clojurescript and closure-compiler around seems pretty fatal

dpsutton18:11:23

no problem. sorry about that. hopefully @bozhidar can create a clean jar soon. i'm a bit surprised the version profile is put in there

dpsutton18:11:48

if i do lein jar and then

clj -Sdeps '{:deps {cider/piggieback {:local/root "target/piggieback-0.5.1.jar"}}}' -Stree
org.clojure/clojure 1.10.1
  org.clojure/spec.alpha 0.2.176
  org.clojure/core.specs.alpha 0.2.44
cider/piggieback /Users/dan/projects/dev/piggieback/target/piggieback-0.5.1.jar
it seems to work

dpsutton18:11:06

so perhaps if you clone it, lein jar && lein install it will work for you? then you could confirm that all is well

Jimmy Miller18:11:15

That does indeed fix the issue for me locally

dpsutton19:11:30

can you add that to the issue then @jimmy? with this stuff its nice that there's some confirmation that the new jar has a good chance of being correct

bozhidar21:11:15

Piggieback 0.5.2 is out with fixed dependencies. Thanks for spotting and reporting this!

🙂 9
dpsutton21:11:09

thanks for the release @bozhidar!