Skip to content

[1.x] bport: Restore Scala 2 artifact version unification#8707

Merged
eed3si9n merged 1 commit intosbt:1.12.xfrom
eed3si9n:bport/scala-version-unification
Feb 7, 2026
Merged

[1.x] bport: Restore Scala 2 artifact version unification#8707
eed3si9n merged 1 commit intosbt:1.12.xfrom
eed3si9n:bport/scala-version-unification

Conversation

@eed3si9n
Copy link
Copy Markdown
Member

@eed3si9n eed3si9n commented Feb 7, 2026

This is a backport of #8700

Commit 92b0564 (fix for #8632) changed csrSameVersions so that Scala 2.13+ only aligned scala-library and scala3-library. This removed scala-compiler and scala-reflect from version unification, so transitive dependencies pulling in an older scala-compiler (e.g. 2.13.15 via refined_2.13) were no longer evicted to match scalaVersion (e.g. 2.13.18).

…bt#8700)

Commit 92b0564 (fix for sbt#8632) changed `csrSameVersions` so that Scala 2.13+ only aligned `scala-library` and `scala3-library`. This removed `scala-compiler` and `scala-reflect` from version
unification, so transitive dependencies pulling in an older `scala-compiler` (e.g. 2.13.15 via `refined_2.13`) were no longer evicted to match `scalaVersion` (e.g. 2.13.18).
@eed3si9n eed3si9n changed the title [1.x] fix: Restore Scala 2 artifact version unification (#8689) (#8700) [1.x] fix: Restore Scala 2 artifact version unification Feb 7, 2026
@eed3si9n eed3si9n merged commit 810f459 into sbt:1.12.x Feb 7, 2026
10 checks passed
@eed3si9n eed3si9n deleted the bport/scala-version-unification branch February 7, 2026 07:36
@eed3si9n eed3si9n changed the title [1.x] fix: Restore Scala 2 artifact version unification [1.x] bport: Restore Scala 2 artifact version unification Feb 8, 2026
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.

2 participants