In this build:
https://app.circleci.com/pipelines/github/cljdoc/builder/56854/workflows/ed2bacd8-86e7-42b9-94db-e2d3ce6fc69c/jobs/73229
cljdoc shows me an error in a "dependency" of my library ( mine is {:project "org.scicloj/metamorph.ml",
:version "0.10.1")
in this line:
https://app.circleci.com/pipelines/github/cljdoc/builder/56854/workflows/ed2bacd8-86e7-42b9-94db-e2d3ce6fc69c/jobs/73229?invite=true#step-105-13544_186
it complains about an missing dependencies in aerial.hanami.data/eval47203$loading which is not part of my code.
How can this be ?
In any case I checked the project.clj of it, and it looks good to me:
It complains about this line
https://github.com/jsa-aerial/hanami/blob/7a22930e69f7640b230b3ca4a57aca3955797218/src/clj/aerial/hanami/data.clj#L4
but the project.clj has the needed dependency:
https://github.com/jsa-aerial/hanami/blob/7a22930e69f7640b230b3ca4a57aca3955797218/project.clj#L9
(but to me this should not even matter)
good point.
My code does never executes (require '[aerial.hanami.data :as data])
So I still wonder why "cljdoc" does it ...
Ok, I answered my last question.
I exclude it here:
https://github.com/scicloj/metamorph.ml/blob/b39eb2169825f09868bb9b43618c17335aba460f/deps.edn#L13
but: my code never calls (require '[aerial.hanami.data :as data])
why is it called when cljdoc analyses my code ?
I think I undertstood it. was my mistake, I excluded data.csv (wrongly), but my tests aliases re-added it., so I did never see the error. And only cljdoc loads all names spaces (without running tests), and that failed.
so basically my library is broken in current version.
yep, that’s my understanding too!
Hi @carsten.behring, thanks for reaching out, I can take a peek soon.
Let's start by taking cljdoc out of the equation and see what we learn:
$ clojure -Sdeps '{:deps {org.scicloj/metamorph.ml {:mvn/version "0.10.1"}}}'Clojure 1.12.0
user=> (require '[aerial.hanami.data :as data])
Execution error (FileNotFoundException) at aerial.hanami.data/eval138$loading (data.clj:1).
Could not locate clojure/data/csv__init.class, clojure/data/csv.clj or clojure/data/csv.cljc on classpath.
This seems to reflect the error you reported above. Does that help?