In 1.11.1.1435, it doesn't work correctly when passing the :project argument in tools.deps/create-basis. (there was no problem in 1.11.1.1420)
My guess is that this is a regression introduced in TDEPS-256.
slurp-deps seems to try to read the file 'a/a/deps.edn'. (rather than 'a/deps.edn').
oh, passing the absolute path is one workaround
Can you share the repro for what youβre doing?
According to Jira, TDEPS-256 was fixed in 1.11.1.1420 so that was the release the behavior changed in, not 1.11.1.1435 (does that sound right @alexmiller?)
yes, but I'm confused by the original post which gives CLI version numbers but talks about tools.deps apis, so would like to know what is actually being done
https://github.com/clojure/tools.deps/blob/master/CHANGELOG.md is the tools.deps changelog, this changed in tools.deps 0.18.1370
the official https://clojure.org/releases/tools#_releases is really a combination of tools.deps and CLI and sometimes tools.deps.cli or tools.tools changes
all of the latter depend on tools.deps, but sometimes at a lag
I think I can repro, not sure why the tests I wrote for this are passing though, but I'll track it down
Thanks! The reason I mentioned the CLI version is because the real impact comes from using -X:deps. In testcase, adeps and bdeps are converted to absolute. Relativizing adeps might break the test. I will share my repro soon. π
Iβve fixed it, will do a release later this week
It was relative vs absolute
This is the first time I've seen anaphoric in use. eye-opening technique!
well, not sure it will stay :)