Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neil does not find a newer version of a library that antq does #171

Closed
bombaywalla opened this issue Mar 4, 2023 · 2 comments
Closed

neil does not find a newer version of a library that antq does #171

bombaywalla opened this issue Mar 4, 2023 · 2 comments

Comments

@bombaywalla
Copy link

I have an alias :outdated that runs antq.
antq finds a newer version of the library that neil dep upgrade does not.
Even though they both seem to use version-clj.
Admittedly, the name of this library wrt versioning is a bit on strange side.
A list of all the versions of this lib on Maven Central is at this link

Below is a small repro example.

dorabs-imac:test dorab$ cat deps.edn
{:paths ["src" "resources"]
 :deps {org.clojure/clojure {:mvn/version "1.11.1"}
        com.google.apis/google-api-services-sheets {:mvn/version "v4-rev20220927-2.0.0"}
        }
}

dorabs-imac:test dorab$ clojure -M:outdated 
[##################################################] 2/2

|    :file |                                      :name |             :current |              :latest |
|----------+--------------------------------------------+----------------------+----------------------|
| deps.edn | com.google.apis/google-api-services-sheets | v4-rev20220927-2.0.0 | v4-rev20221216-2.0.0 |

dorabs-imac:test dorab$ neil dep upgrade --dry-run
dorabs-imac:test dorab$ 
@borkdude
Copy link
Contributor

borkdude commented Mar 8, 2023

The issue is that there is a check for "stable version" which currently is implemented as "any qualifier like -foo indicates a non-stable version". This should probably be fine-tuned, maybe by filtering on "alpha", "beta", etc.

@borkdude
Copy link
Contributor

borkdude commented Mar 8, 2023

Should be fixed with 0.1.58

@borkdude borkdude closed this as completed Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants