This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-25
Channels
- # babashka (31)
- # beginners (38)
- # biff (1)
- # calva (10)
- # clj-kondo (10)
- # clj-otel (9)
- # clojure (9)
- # clojure-europe (4)
- # clojure-norway (4)
- # clojurescript (26)
- # cursive (2)
- # datahike (3)
- # datomic (4)
- # emacs (6)
- # inf-clojure (2)
- # missionary (11)
- # nbb (3)
- # off-topic (9)
- # portal (17)
- # re-frame (16)
- # reagent (1)
- # releases (3)
- # shadow-cljs (5)
- # tools-build (17)
- # tools-deps (2)
- # xtdb (6)
@seancorfield I've run into a problem with build.clj
: When I include tick/tick {:mvn/version "0.5.0-RC6"}
as a dep, build.clj
throws an exception as part of its conflict_data_readers
function.
I'm guessing there is a reader macro from tick
conflicts with a reader macro from another library. I have about 30 dependencies so it's hard to narrow down where the conflict is coming from.
Do you have a suggestion on how to debug?
That exception is coming from tools.build
itself, inside the core uber
task -- it is not coming from my wrapper.
Since it is complaining about #?
I'm guessing there's a reader conditional inside one of the data_readers.cljc
files in one or more of the libraries you are including.
tools.build
is reading those files as EDN -- I have no idea about reader conditional support in EDN but based on Qs on http://ask.clojure.org, it seems that they are supported in data_readers.cljc
files -- see various posts there https://ask.clojure.org/index.php/search?q=data_readers
@U064X3EF3 is best placed to provide more information but I suspect this is something that needs to be posted as an issue on http://ask.clojure.org @U2845S9KL and then Alex will turn it into a Jira issue if appropriate.
Yeah, I'd you file a question I'll look at it Monday
Thanks, guys. Posted question https://ask.clojure.org/index.php/12017/exception-in-ednreaderdispatchreader
hey, can you give this a try with:
io.github.clojure/tools.build {:git/sha "0d20256c40b5a6b6adbcbdf7d0c52cf9e22e994d"}
Thanks. I'll give it a try in a few minutes
If that looks good, I'll do a release
@U064X3EF3 Is there a danger that will execute arbitrary code while reading/merging those files? I know that would get executed when programs are run and that's such "arbitrary code" is very unlikely in data_readers
but just wondered whether it might be unexpected while building an uberjar?
@U064X3EF3 fix looks good. thanks!
@seancorfield I am binding read-eval to false
Oh, totally missed that -- sorry.
Line 87. I see it now!