Skip to content

Commit

Permalink
bump org.clojure/tools.reader to version 1.3.7 (#248)
Browse files Browse the repository at this point in the history
* bump org.clojure/tools.reader to version 1.3.7

This is a rewrite-clj dep and will be picked up by users of rewrite-clj.

* lib tests: adjust refactor-nrepl patch

The refactor-nrepl project.clj enables pedantic only if running from a
continuous integration service.

Patch its version of tools.reader to match our new version.
  • Loading branch information
lread authored Dec 1, 2023
1 parent 48500fb commit c69a318
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ A release with known breaking changes is marked with:
// (adjust these in publish.clj as you see fit)
=== Unreleased

* bump `org.clojure/tools.reader` to version `1.3.7`

=== v1.1.47 - 2023-03-25 [[v1.1.47]]

* Clojure string to rewrite-clj node coercion fixes
Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{:paths ["src" "resources"]

:deps {org.clojure/clojure {:mvn/version "1.8.0"}
org.clojure/tools.reader {:mvn/version "1.3.6"}}
org.clojure/tools.reader {:mvn/version "1.3.7"}}

:aliases {;; we use babashka/neil for project attributes
;; publish workflow references these values (and automatically bumps patch component of version)
Expand Down
7 changes: 5 additions & 2 deletions script/test_libs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
(patch-deps {:filename (str (fs/file home-dir "project.clj"))
;; we remove and add tools.reader because project.clj has pedantic? :abort enabled
:removals #{'rewrite-clj 'org.clojure/tools.reader}
:additions [['org.clojure/tools.reader "1.3.6"]
:additions [['org.clojure/tools.reader "1.3.7"]
['rewrite-clj rewrite-clj-version]]}))

;;
Expand Down Expand Up @@ -193,7 +193,7 @@
(string/replace #"rewrite-clj \"(\d+\.)+.*\""
(format "rewrite-clj \"%s\"" rewrite-clj-version))
(string/replace #"org.clojure/tools.reader \"(\d+\.)+.*\""
"org.clojure/tools.reader \"1.3.6\"")
"org.clojure/tools.reader \"1.3.7\"")
(->> (spit p)))))

;;
Expand Down Expand Up @@ -225,6 +225,9 @@
;; done with exercising my rewrite-clj skills for now! :-)
(string/replace #"rewrite-clj \"(\d+\.)+.*\""
(format "rewrite-clj \"%s\"" rewrite-clj-version))
;; pedantic is enabled for CI, so adjust to match rewrite-clj so we don't fail
(string/replace #"org.clojure/tools.reader \"(\d+\.)+.*\""
"org.clojure/tools.reader \"1.3.7\"")
(->> (spit p)))))

;;
Expand Down

0 comments on commit c69a318

Please sign in to comment.