Skip to content

Commit 06ac97e

Browse files
authored
test & dev: bump deps (#398)
I disabled lib tests for depot because its current release tests are not passing. See Olical/depot#57 But depot is using rewrite-clj v1 now, so updated README accordingly.
1 parent 6d82ba4 commit 06ac97e

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

README.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,23 @@ Some projects using rewrite-clj v1
4646
* https://github.com/fabricate-site/adorn[adorn] {canary-tested} - Extensible conversion of Clojure code to Hiccup forms
4747
* https://github.com/xsc/ancient-clj[ancient-clj] {canary-tested} - Version Metadata Retrieval for Maven Artifacts
4848
* https://github.com/liquidz/antq[antq] {canary-tested} - Point out your outdated dependencies
49-
// we already do sci testing and borkdude runs his own copies of rewrite-clj tests against bb:
49+
// we already do sci testing and borkdude runs his own copies of rewrite-clj tests against babashka:
5050
* https://github.com/babashka/babashka[babashka] {not-canary-tested} - Native, fast starting Clojure interpreter for scripting
5151
* https://github.com/borkdude/carve[carve] {canary-tested} - Carve out the essentials of your Clojure app
52-
// no unit tests:
52+
// classpath has no unit tests:
5353
* https://github.com/lambdaisland/classpath[classpath] {not-canary-tested} - Classpath/classloader/deps.edn related utilities
5454
* https://github.com/nextjournal/clerk[clerk] {canary-tested} - Local-First Notebooks for Clojure
5555
* https://github.com/kurtharriger/clj-mergetool[clj-mergetool] {canary-tested} - Smarter git mergetool for clojure and edn
5656
* https://github.com/weavejester/cljfmt[cljfmt] {canary-tested} - A tool for formatting Clojure code
5757
* https://github.com/greglook/cljstyle[cljstyle] {canary-tested} - A tool for formatting Clojure code
5858
* https://github.com/clojure-lsp/clojure-lsp[clojure-lsp] {canary-tested} - Language Server (LSP) for Clojure
5959
* https://github.com/bhauman/clojure-mcp[clojure-mcp] {canary-tested} - REPL-Driven Development with AI Assistance
60-
// repo is not version tagged:
60+
// depot tests are currently broken
61+
* https://github.com/Olical/depot[depot] {not-canary-tested} - Find newer versions of your dependencies in your deps.edn file
62+
// duck-repled repo is not version tagged:
6163
* https://github.com/mauricioszabo/duck-repled[duck-repled] {not-canary-tested} - Transform your REPL interation into Pathom queries
6264
* https://github.com/jonase/kibit[kibit] {canary-tested} - There's a function for that!
63-
// repo is not version tagged:
65+
// kit repo is not version tagged:
6466
* https://github.com/kit-clj/kit[kit] {not-canary-tested} - Lightweight, modular framework for scalable web development in Clojure
6567
* https://github.com/FiV0/kusonga[kusonga] {canary-tested} - Renaming and moving namespaces in Clojure(script)
6668
* https://github.com/clojure-emacs/refactor-nrepl[refactor-nrepl] {not-canary-tested} - nREPL middleware to support refactorings in an editor agnostic way
@@ -74,15 +76,14 @@ Some projects using rewrite-clj v1
7476

7577
Some projects using rewrite-clj v0 and/or rewrite-cljs
7678

77-
* https://github.com/Olical/depot[depot] {canary-tested} {canary-needed-patch} - Find newer versions of your dependencies in your deps.edn file
7879
// unit tests (unpatched after clone), at time of this writing, are failing for confair
7980
* https://github.com/magnars/confair[confair] {not-canary-tested} - A configuration library for Clojure
80-
// tests rely on datomic-pro
81+
// tests for gen-fn rely on datomic-pro
8182
* https://github.com/ivarref/gen-fn[gen-fn] {not-canary-tested} - Generate Datomic function literals from regular Clojure namespaces
8283
* https://github.com/xsc/lein-ancient[lein-ancient] {canary-tested} - Check your Projects for outdated Dependencies
8384
* https://github.com/benedekfazekas/mranderson[mranderson] {canary-tested} - Dependency inlining and shadowing
8485
* https://github.com/jstepien/mutant[mutant] {canary-tested} - Mutation testing for Clojure
85-
// could not easily figure out how to run tests:
86+
// could not easily figure out how to run tests for repl-tooling:
8687
* https://github.com/mauricioszabo/repl-tooling[repl-tooling] {not-canary-tested} - a base package for Clojure's editor tooling
8788
// tests frequently broken, skipping for now:
8889
* https://github.com/atomist-skills/update-leiningen-dependencies-skill[update-leiningen-dependencies-skill] {not-canary-tested} - Track project.clj dependencies across different projects

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
;;
3030
:nrepl
3131
{:extra-deps {nrepl/nrepl {:mvn/version "1.3.1"}
32-
cider/cider-nrepl {:mvn/version "0.56.0"}}
32+
cider/cider-nrepl {:mvn/version "0.57.0"}}
3333
:jvm-opts ["-XX:-OmitStackTraceInFastThrow"]}
3434

3535
:flowstorm

script/test_libs.clj

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@
136136
:removals #{'rewrite-clj 'rewrite-clj/rewrite-clj}
137137
:additions [['rewrite-clj/rewrite-clj rewrite-clj-version]]}))
138138

139-
(defn- replace-in-file [fname match replacement]
139+
;; needed by depot patch, we'll see if it still needed after depot fixes its tests
140+
#_(defn- replace-in-file [fname match replacement]
140141
(let [orig-filename (str fname ".orig")
141142
content (slurp fname)]
142143
(fs/copy fname orig-filename)
@@ -177,7 +178,8 @@
177178
;;
178179
;; depot
179180
;;
180-
(defn depot-patch [{:keys [home-dir] :as lib}]
181+
;; We'll see if this custom path is needed after next release of depot that fixes its tests
182+
#_(defn depot-patch [{:keys [home-dir] :as lib}]
181183
(deps-edn-v1-patch lib)
182184
(status/line :detail "=> depot uses but does not require rewrite-clj.node, need to adjust for rewrite-clj v1")
183185
(replace-in-file (str (fs/file home-dir "src/depot/zip.clj"))
@@ -336,17 +338,17 @@
336338
:test-cmds ["bb test"]}
337339
{:name "clojure-mcp"
338340
:platforms [:clj]
339-
:version "0.1.5-alpha"
341+
:version "0.1.6-alpha"
340342
:github-release {:repo "bhauman/clojure-mcp"
341343
:via :tag
342344
:version-prefix "v"}
343345
:patch-fn deps-edn-v1-patch
344346
:show-deps-fn cli-deps-tree
345347
:test-cmds ["clojure -M:test"]}
346-
{:name "depot"
348+
#_{:name "depot"
347349
:platforms [:clj]
348-
:note "1 patch required due to using, but not requiring, rewrite-clj.node"
349-
:version "2.2.0"
350+
:note "Depot tests are currently broken, re-enable when they are fixed"
351+
:version "2.4.0"
350352
:github-release {:repo "Olical/depot"
351353
:via :tag
352354
:version-prefix "v"}

0 commit comments

Comments
 (0)