This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-07
Channels
- # announcements (2)
- # beginners (30)
- # calva (7)
- # cherry (15)
- # clerk (21)
- # clojure (1)
- # clojure-losangeles (12)
- # clojure-norway (1)
- # clojure-spec (3)
- # clojurescript (31)
- # conjure (2)
- # cursive (44)
- # datomic (13)
- # emacs (13)
- # honeysql (15)
- # hyperfiddle (7)
- # malli (2)
- # off-topic (17)
- # overtone (6)
- # reitit (7)
- # ring (58)
- # shadow-cljs (12)
- # squint (14)
- # tools-deps (14)
- # web-security (1)
- # xtdb (29)
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').
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 @U064X3EF3?)
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. 🙂
It was relative vs absolute
well, not sure it will stay :)