tools-deps

Alex Miller (Clojure team) 2025-02-06T22:20:20.366329Z

hey all, I worked through an internal bug report today and released a new dev version of the Clojure CLI (1.12.0.1506) that has a couple changes: • Modify dep expansion to reenqueue same version children in case previous parent was omitted • Memoize dep lookups during dep expansion to avoid unnecessary calls These are likely only relevant in larger dep expansions so I would very much appreciate any testing that folks are able to try before I make this a stable release. If you're on Linux, you can just install specifically from that version, usual instructions except:

curl -L -O 
If you're on Mac with brew, you can do (might also require unlinking - it will tell you how if so):
brew uninstall clojure
brew install clojure/tools/clojure@1.12.0.1506
thanks

👍 1
🎉 1
seancorfield 2025-02-06T23:24:59.536119Z

I would normally rush to try this out, but I'm in Ohio this week, working remotely, with only intermittent Wi-Fi access 🙁 I won't get to testing it until Tuesday which probably won't be soon enough for you?

Alex Miller (Clojure team) 2025-02-06T23:35:43.158359Z

no worries, just check in to the current state when you do get to it, I think I'm going to need some more mods to this before then

👍🏻 1
Alex Miller (Clojure team) 2025-02-07T20:20:42.113419Z

If you are interested in playing along, there is an updated version at 1.12.0.1514 that addresses an issue I found that reworks this issue to not encounter trouble with cycles (rolls back previous dep expansion change)

2025-02-07T21:01:11.484439Z

@alexmiller I tried both 1.12.0.1506 and 1.12.0.1514 and they worked for my project, not sure if that's helpful

Alex Miller (Clojure team) 2025-02-07T21:01:43.835389Z

it is! thank you

👍 1