RutledgePaulV / kube-api

A kubernetes api client for Clojure
MIT License
12 stars 1 forks source link

Dependency (`malli`) no longer available in Maven #9

Open leifericf opened 10 months ago

leifericf commented 10 months ago

I've added kube-api to my deps.edn like so:

kube-api/kube-api {:mvn/version "0.1.0-SNAPSHOT"}

Upon starting my REPL via VS Code with Calva, it downloads successfully.

However, I get this error when the REPL starts up:

⚡️ Starting the REPL ⚡️ using the below command line:
pushd /Users/my-user/Code/my-project ; clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"1.0.0"},cider/cider-nrepl {:mvn/version,"0.28.5"}}}'  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]" ; popd
Error building classpath. Could not find artifact metosin:malli:jar:c80215c6bb1c8907345702f9c82eb597e1b753e3 in central (https://repo1.maven.org/maven2/)
Jack-in process exited. Status: 1

It seems like the version of malli (link) has been deleted from Maven.

leifericf commented 10 months ago

Interesting! I added this to my deps.edn:

metosin/malli {:mvn/version "0.7.0"}

And now it works! That's odd since kube-api already includes that dependency as well.

leifericf commented 10 months ago

Huh! Peculiar. The same issue occured with another dependency:

⚡️ Starting the REPL ⚡️ using the below command line:
pushd /Users/my-user/Code/my-project ; clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"1.0.0"},cider/cider-nrepl {:mvn/version,"0.28.5"}}}'  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]" ; popd
Error building classpath. Could not find artifact org.jetbrains.jediterm:jediterm-pty:jar:2.31 in central (https://repo1.maven.org/maven2/)
Jack-in process exited. Status: 1

Perhaps there's something funky on my machine or with VS Code or Calva.