@seancorfield (or others), do you know of places where polylith or anything is creating a tools.deps basis using a custom :project deps.edn, particularly in a directory other than the current directory?
we use polylith too and every .cpcache/**.basis is created in the same path where deps.edn is located.
Thanks, good to know
> local deps are resolved relative to the current directory,
I had this issue a while ago in my internal tooling.
I ended up wrapping resolve-deps with clojure.tools.deps.util.session/with-session and`clojure.tools.deps.util.dir/with-dir` . That did the job for me.
that's by design and how you should address - the problem above is actually different
ok
I'm looking at https://clojure.atlassian.net/browse/TDEPS-256 where I believe the problem is that if a :project deps.edn is provided in some other directory, local deps are resolved relative to the current directory, not relative to the project deps.edn, which seems wrong. I would like to fix this but want to make sure I'm not going to horribly break something someone is depending on
I'll check our repo... just a sec...
...nope, not in our Polylith repo...
I imagine someone probably would have mentioned this if so, but trying to be cautious