xsc / lein-ancient

Check your Projects for outdated Dependencies
MIT License
561 stars 33 forks source link

False positive on Kaocha #126

Open fuadsaud opened 2 years ago

fuadsaud commented 2 years ago

Steps to reproduce

Minimal project.clj:

(defproject ancient-minimal "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
            :url "https://www.eclipse.org/legal/epl-2.0/"}
  :dependencies [[org.clojure/clojure "1.11.1"]
                 [lambdaisland/kaocha-cloverage "1.0.75"]]

  :plugins [[lein-ancient "1.0.0-RC3"]]
  :repl-options {:init-ns ancient-minimal.core})
lein ancient

Expected output

all artifacts are up-to-date.

Actual output

[lambdaisland/kaocha-cloverage "1.0-45"] is available but we use "1.0.75"

Notes

This issue on version-clj appears to refer to the same problem. Indeed I was not able to reproduce this using the latest version of version-clj (2.0.2), which is the one that lein-ancient 1.0.0-RC3 appears to be using.