Skip to content

Commit

Permalink
maint: bump deps (clj-commons#510)
Browse files Browse the repository at this point in the history
* maint: bump deps

* lint: address warning

Not sure why I was getting an unused value warning here, maybe something
to do with one of etaoin's custom clj-kondo hooks?

Anyhoo, I don't need to figure out everything, do I?
I can argue the tweak I made to quiet linting also reads better.
  • Loading branch information
lread authored Nov 30, 2022
1 parent 8cab5d3 commit 829a899
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ A release with an intentional breaking changes is marked with:
== Unreleased

* https://github.com/clj-commons/etaoin/issues/503[#503]: Address Clojure interop issue introduced by new Thread/sleep signature in JDK 19
* bumped Etaoin dependencies
* docs:
** https://github.com/clj-commons/etaoin/issues/447[#447]: Describe testing without a display in the link:doc/01-user-guide.adoc#headless-testing[user guide], including a new requirement for a windows manager when using a virtual display on Linux

Expand Down
2 changes: 1 addition & 1 deletion bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:paths ["script"]
:deps {doric/doric {:mvn/version "0.9.0"}
lread/status-line {:git/url "https://github.com/lread/status-line.git"
:sha "35ed39645038e81b42cb15ed6753b8462e60a06d"}
:sha "cf44c15f30ea3867227fa61ceb823e5e942c707f"}
dev.nubank/docopt {:mvn/version "0.6.1-fix7"}}
:tasks
{;; setup
Expand Down
27 changes: 14 additions & 13 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.9.0"} ;; min clojure version
babashka/fs {:mvn/version "0.1.6"}
babashka/process {:mvn/version "0.1.7"}
babashka/fs {:mvn/version "0.2.12"}
babashka/process {:mvn/version "0.3.11"}
clj-http/clj-http {:mvn/version "3.12.3"} ;; for jvm use
org.clj-commons/clj-http-lite {:mvn/version "0.4.392"} ;; for babashka use
org.clj-commons/clj-http-lite {:mvn/version "1.0.13"} ;; for babashka use
cheshire/cheshire {:mvn/version "5.11.0"}
org.clojure/tools.cli {:mvn/version "1.0.206"}
org.clojure/tools.cli {:mvn/version "1.0.214"}
org.clojure/tools.logging {:mvn/version "1.2.4"}}
:aliases
{:1.11 {:replace-deps {org.clojure/clojure {:mvn/version "1.11.1"}}}
:debug {:extra-paths ["env/dev/resources"]}
:test {:extra-paths ["test" "env/test/resources"]
:extra-deps {io.github.cognitect-labs/test-runner {:git/tag "v0.5.1" :git/sha "dfb30dd"}
ch.qos.logback/logback-classic {:mvn/version "1.3.0-alpha16"}
ch.qos.logback/logback-classic {:mvn/version "1.4.5"}
;; for http-client which uses apache http client 4.x which uses commons logging
org.slf4j/jcl-over-slf4j {:mvn/version "2.0.0-alpha7"}}
org.slf4j/jcl-over-slf4j {:mvn/version "2.0.5"}}
:main-opts ["-m" "cognitect.test-runner"]}
:script {:extra-paths ["script"]}
;; for babashka testing, needed for etaoin.ide
Expand All @@ -39,22 +39,23 @@
"-d" "target/test-doc-blocks/test"]}

;; for consistent linting we use a specific version of clj-kondo through the jvm
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2022.08.03"}}
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2022.11.02"}}
:main-opts ["-m" "clj-kondo.main"]}

:build {:deps {io.github.clojure/tools.build {:git/tag "v0.8.3" :git/sha "0d20256"}
:build {:deps {io.github.clojure/tools.build {:git/tag "v0.8.5" :git/sha "9c738da"}
slipset/deps-deploy {:mvn/version "0.2.0"}}
:ns-default build}

:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "1.9.874"}
org.slf4j/slf4j-simple {:mvn/version "1.7.36"} ;; to rid ourselves of logger warnings
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.2.962"}
org.clojure/clojure {:mvn/version "1.11.1"}
org.slf4j/slf4j-simple {:mvn/version "2.0.5"} ;; to rid ourselves of logger warnings
}
:main-opts ["-m" "antq.core"]}

:repl/cider
{:extra-deps {nrepl/nrepl {:mvn/version "0.9.0"}
cider/cider-nrepl {:mvn/version "0.28.5"}
refactor-nrepl/refactor-nrepl {:mvn/version "3.5.4"}}
{:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"}
cider/cider-nrepl {:mvn/version "0.28.7"}
refactor-nrepl/refactor-nrepl {:mvn/version "3.6.0"}}
:jvm-opts ["-XX:-OmitStackTraceInFastThrow"]
:main-opts ["-m" "nrepl.cmdline"
"--middleware" "[refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]"
Expand Down
5 changes: 3 additions & 2 deletions test/etaoin/api_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
;; tests failed in safari 13.1.1 https://bugs.webkit.org/show_bug.cgi?id=202589 use STP newest
(defn fixture-browsers [f]
(let [url (-> "html/test.html" io/resource str)]
(doseq [type drivers]
(e/with-driver type (get default-opts type {}) driver
(doseq [type drivers
:let [opts (get default-opts type {})]]
(e/with-driver type opts driver
(e/go driver url)
(e/wait-visible driver {:id :document-end})
(binding [*driver* driver
Expand Down

0 comments on commit 829a899

Please sign in to comment.