Fork me on GitHub
#cider
<
2023-08-03
>
Frank Henard15:08:27

;;  Startup: /usr/local/bin/lein update-in :dependencies conj \[nrepl/nrepl\ \"1.0.0\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.30.0\"\] -- repl :headless :host localhost
WARNING: CIDER 1.7.0 requires cider-nrepl 0.30.0, but you're currently using cider-nrepl 0.21.1. The version mismatch might break some functionality! (More information)
Notice the warning I'm using cider-nrepl 0.21.1, though I'm requesting 0.30.0. Any ideas why this might be?

βœ… 2
vemv15:08:41

a Lein plugin or profile? Do you use ~/.lein/profiles.clj?

Frank Henard15:08:40

@U45T93RA6, yes, here it is:

{:repl {:plugins [[cider/cider-nrepl "0.30.0"]]}}

Frank Henard15:08:10

it may be another plugin, I'll dig into that

πŸ‘ 2
Frank Henard15:08:42

yep, that was it, thanks!

vemv15:08:50

🍻

🍻 2
prnc18:08:02

Is there a way to disable those warnings cider-shadow-cljs-global-options is obsolete (since 1.8.0); use 'cider-shadow-cljs-parameters' instead (CIDER 1.8.0-snapshot)? Want to β€˜hide’ them until I have a minute to figure out how this has changed (as it seems there is a semantics shift, not only naming).

practicalli-johnny18:08:48

There's a long list of Cider variables on https://practical.li/spacemacs/reference/cider/configuration-variables/ Maybe one of them does the trick?

rolt07:08:50

obsolete variables is an emacs thing, not cider specific, so either modify that variable in cider or disable warnings entirely i guess ?

prnc11:08:50

thanks @U05254DQM, thanks @U02F0C62TC1 β€” tried suppressing this with setting warning-minimum-log-level to :error but no luck πŸ˜› at this point I’ll probably take the time to understand the actual changes in cider πŸ™‚

rolt13:08:18

i think you're looking for warning-minimum-level instead of warning-minimum-log-level but i really can't recommend hiding warning in emacs

prnc13:08:08

thanks & true

rolt14:08:29

apparently you can also suppress specific types but i've no idea how it works

bozhidar14:08:53

@U7MHWDLD8 Basically two similar variables were folded into one. If you had something in global options you should move it to parameters.

prnc14:08:54

makes sense, thanks @U051BLM8F!