scicloj / tablecloth.time

Tools for the processing and manipulation of time-series data in Clojure.
Other
18 stars 1 forks source link

Switch project to use tools.deps.alpha #28

Open ezmiller opened 3 years ago

ezmiller commented 3 years ago

We had a discussion with Florian who works on PinkGorilla etc who suggested that we might be able to use tools.deps.alpha and shed leinigen and that there are real benefits for doing that because tools.deps handles dependency conflicts in a much better way. Unlike leinigen, which pulls in the version of a dependency that is first referenced by some other dependency, tools.deps resolves common dependencies and takes the most recent. This can save end users a lot of time.

awb99 commented 3 years ago

https://github.com/pink-gorilla/nrepl-middleware

I just refactored this project from leiningen to tools.deps.

https://github.com/clojure-quant/trateg/blob/master/demo/deps.edn in trateg I do experiments with using local only projects. The link is a demo project that uses the library I am building. But it consumes it directly without needing to publish on clojars. Also the aot stuff in demo is separate from main library

In the notebook I go one step further. I publish two artefacs rom one git repo. >And the deps.edn file for the second artefact is generated by code: https://github.com/pink-gorilla/notebook/blob/master/src/pinkgorilla/bconfig.clj