Skip to content

Conversation

alexarchambault
Copy link
Member

Seems it was unused.

I think dropping dependencies is supposed to break binary compatibility though 🤔 (if a library compiled with coursier 2.1.14 relies on shapeless via it, and users bump coursier to 2.1.15 at runtime, shapeless is likely to be missing)

@lefou
Copy link
Collaborator

lefou commented Oct 12, 2024

I think dropping dependencies is supposed to break binary compatibility though 🤔 (if a library compiled with coursier 2.1.1

This isn't a binary compatibility isssue but a incomplete declared dependencies issue. Dropping unused dependencies should always be ok, unless you claim to provide some kind of framework that provides all that is needed, which shouldn't be the case for coursier as a library.

Copy link
Collaborator

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's fine. Unless anyone depends on a library transitively, but that's their own problem really.

@alexarchambault alexarchambault merged commit f248a38 into coursier:main Oct 16, 2024
23 checks passed
@alexarchambault alexarchambault deleted the tweak-jvm-module branch October 16, 2024 08:36
@alexarchambault
Copy link
Member Author

Thanks for your feedback, @tgodzik and @lefou. I'm pretty sure this breaks bin compat strictly speaking though (pulling coursier brings in less classes), but it's unlikely to be a problem here.

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

Successfully merging this pull request may close these issues.

3 participants