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

FYI - Discussion for SIP-51: drop 2.13 library forwards binary compatibility #1520

Open
eed3si9n opened this issue Oct 26, 2023 · 0 comments

Comments

@eed3si9n
Copy link

This is a friendly reminder about SIP-51, a proposal to drop forward compatibility in Scala 2.13.x and discussion thread going on in the Contributors forum.

Traditionally scala-library on Scala 2.13.x has kept both backward and forward compatibility, so sbt and rules_scala could basically hardcode the scala-library version to the exact patch version the build user has specified. If SIP-51 is accepted, and a new Scala 2.13.x ships, it could potentially add new methods so not using the max scala-library patch version may result in a linkage error. Two potential routes we are considering for sbt are:

  1. automatically update scala-library version to max patch, i.e. scala-library would be treated as "a normal library"
  2. fail the build when the dependency graph finds scala-library greater than scalaVersion

In general, it might be useful to hear from Bazel users in a thread like the one for SIP-51, since most who work on Scala itself do not have good feel on how things are done with Bazel + rules_scala.

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