Skip to content

Work around sbt#8376 and re-enable shapeless-3 community build#24709

Merged
Gedochao merged 1 commit intoscala:mainfrom
Gedochao:bugfix/workaround-sbt-library-eviction
Dec 9, 2025
Merged

Work around sbt#8376 and re-enable shapeless-3 community build#24709
Gedochao merged 1 commit intoscala:mainfrom
Gedochao:bugfix/workaround-sbt-library-eviction

Conversation

@Gedochao Gedochao changed the title Work around https://github.com/sbt/sbt/issues/8376 and re-enable shapeless-3 community build Work around sbt#8376 and re-enable shapeless-3 community build Dec 9, 2025
@Gedochao Gedochao changed the title Work around sbt#8376 and re-enable shapeless-3 community build Work around sbt#8376 and re-enable shapeless-3 community build Dec 9, 2025
@Gedochao Gedochao marked this pull request as ready for review December 9, 2025 09:40
@Gedochao Gedochao requested a review from hamzaremmal December 9, 2025 09:40
@Gedochao Gedochao added this to the 3.8.0 milestone Dec 9, 2025
@Gedochao Gedochao added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Dec 9, 2025
publishLocalConfiguration ~= (_.withOverwrite(true)),
projectID ~= {id =>
val line = "scala.versionLine" -> versionLine
val line = "info.scala.versionLine" -> versionLine
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Assuming we can do this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I haven't seen any usages of that so far in any OSS tooling. It would definitely would be something to announce in release notes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When was it added actually? I had no idea there was anything like that available 😅

Also how will it work for 3.9? Would we set it to next or LTS? Doesn't seem altogether that useful

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

at a glance, we should be ok to do this.
if there's some obscure usage somewhere, we should catch it during RC.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We commented almost simultanously 😅

When was it added actually? I had no idea there was anything like that available 😅

git blame says 26.03.2024

Also how will it work for 3.9? Would we set it to next or LTS? Doesn't seem altogether that useful

This is a good question... I'd say it would be LTS for 3.9 line. We shouldn't consider 3.9.0 LTS even for the brief moment when it's the newest version (content-wise, it wouldn't be very different from another patch in 3.8). 3.10.0 would follow soon after.
I guess we'll discuss it on a future Scala Core.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@tgodzik it seems we've had it since Scala 3.4.2, but it wasn't widely known, since we seemingly didn't mention it in the release notes 😅

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I had planed to used it in Scala Steward.... but that didn't happen, yet. 😄
scala-steward-org/scala-steward#3328

@Gedochao Gedochao added the release-notes Should be mentioned in the release notes label Dec 9, 2025
@Gedochao Gedochao merged commit 577721f into scala:main Dec 9, 2025
46 checks passed
@Gedochao Gedochao deleted the bugfix/workaround-sbt-library-eviction branch December 9, 2025 10:33
@tgodzik
Copy link
Copy Markdown
Contributor

tgodzik commented Dec 9, 2025

Looks like it could be used for Scala Steward, but currently it's not scala-steward-org/scala-steward#3328

WojciechMazur pushed a commit that referenced this pull request Dec 21, 2025
@WojciechMazur WojciechMazur added backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Dec 21, 2025
WojciechMazur pushed a commit that referenced this pull request Dec 21, 2025
WojciechMazur added a commit that referenced this pull request Dec 22, 2025
…build" to 3.8.0 (#24795)

Backports #24709 to the 3.8.0-RC4.

PR submitted by the release tooling.
[skip ci]

---------

Co-authored-by: odersky <odersky@gmail.com>
Co-authored-by: Piotr Chabelski <ged.subfan@gmail.com>
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Dec 22, 2025
tgodzik pushed a commit to scala/scala3-lts that referenced this pull request Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:done This PR was successfully backported. release-notes Should be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants