babashka-sci-dev 2026-02-18

I may have hit a regression between babashka v1.12.213 and babashka v1.12.215, see ๐Ÿงต Edit: conclusion is Babashka is not at fault.

โœ… 2

babashka v1.12.213: no crash.

babashka v1.12.215: crash.

This commands appears to be run automatically for me by Clojure-LSP. It hit us in our work project.

I can reproduce the error in an open source repo I've got.

$ git rev-parse HEAD
7099450eae5cd03a3e35e417961a0e546d144693

I don't see what the issue is?

$ clojure -Sdeps '{:deps {selmer/selmer {:mvn/version "1.12.70"}}}'
Downloading: selmer/selmer/1.12.70/selmer-1.12.70.pom from clojars
Downloading: selmer/selmer/1.12.70/selmer-1.12.70.jar from clojars
Clojure 1.12.1
user=>

I mean: I don't see the problem with selmer 1.12.70 locally

oh, so when you run bb print-deps --format classpath, it works on your machine?

also print-deps works fine here... I can try to erase my .m2 folder to see if that helps. yup

๐Ÿ‘ 1
๐Ÿ™ 1

In that case, I'm lead to believe that our weird work network VPN may be at fault. Let me try without the VPN.

The raw Clojure command also fails on my machine, with the same error. That leads me to conclude that Babashka is not involved! Sorry for the disturbance, and thanks for the help with diagnostics! ๐Ÿซก

$ clojure -Sdeps '{:deps {selmer/selmer {:mvn/version "1.12.70"}}}'
Error building classpath. Could not transfer artifact selmer:selmer:jar:1.12.70 from/to clojars (): status code: 416, reason phrase: Range Not Satisfiable (416)

and how about selmer 1.13.1?

Succeeds.

$ clojure -Sdeps '{:deps {selmer/selmer {:mvn/version "1.13.1"}}}'
Downloading: selmer/selmer/1.13.1/selmer-1.13.1.pom from clojars
Downloading: selmer/selmer/1.13.1/selmer-1.13.1.jar from clojars
Clojure 1.12.0
user=>

that should have actually been the version since I bumped that in bb, but it didn't make it into the print-deps map somehow. however, 1.12.70 does exist in clojars, can you double check?

Corrupt ~/.m2 was at fault. Removed the selmer version from m2, then everything works.

I appear to be getting Selmer 1.12.70 with the latest Babashka.

$ pwd
/Users/teodorlu
$ /opt/homebrew/bin/bb print-deps --format classpath | split-lines-on : | grep selmer
/Users/teodorlu/.m2/repository/selmer/selmer/1.12.70/selmer-1.12.70.jar
$ bb --version
babashka v1.12.215

๐Ÿ‘ 1