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

Detect mill plugins, that require an incompatible Mill version #4310

Open
lefou opened this issue Jan 13, 2025 · 0 comments
Open

Detect mill plugins, that require an incompatible Mill version #4310

lefou opened this issue Jan 13, 2025 · 0 comments

Comments

@lefou
Copy link
Member

lefou commented Jan 13, 2025

This is a successor to #466.

Some plugins in the Mill ecosystem tend to depend on the latest Mill version and might no longer be compatible to lower versions.

Example: plugin mill-foo depends on Mill 0.11.9 and (accidentally) uses a new API. A projects still on Mill 0.11.8 that bumps it's dependency on mill-foo suddenly errors but there is no clear indicator of the cause, just some arbitrary exception about some missing class or so.

Technically, coursier should be able to inspect the provided-scoped dependencies of mill-foo and match it against a version range of [0.11.0,0.11.8], which represents all supported Mill APIs. If there is no match, it should fail with a actionable or at least reasonable error message.

See also:

@lefou lefou changed the title Detect mill plugins, that require a newer Mill version Detect mill plugins, that require an incompatible Mill version Jan 13, 2025
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

1 participant