Skip to content

[SPARK-44536][BUILD] Upgrade sbt to 1.9.3#42141

Closed
panbingkun wants to merge 2 commits intoapache:masterfrom
panbingkun:SPARK-44536
Closed

[SPARK-44536][BUILD] Upgrade sbt to 1.9.3#42141
panbingkun wants to merge 2 commits intoapache:masterfrom
panbingkun:SPARK-44536

Conversation

@panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Jul 25, 2023

What changes were proposed in this pull request?

The pr aims to upgrade sbt from 1.9.2 to 1.9.3.

Why are the changes needed?

1.The new version brings some improvment:
Actionable diagnostics (aka quickfix)
Actionable diagnostics, or quickfix, is an area in Scala tooling that's been getting attention since Chris Kipp presented it in the March 2023 Tooling Summit. Chris has written the roadmap and sent sbt/sbt#7242 that kickstarted the effort, but now there's been steady progress in build-server-protocol/build-server-protocol#527, scala/scala3#17337, scala/scala#10406, IntelliJ, Zinc, etc. Metals 1.0.0, for example, is now capable of surfacing code actions as a quickfix.
sbt 1.9.3 adds a new interface called AnalysisCallback2 to relay code actions from the compiler(s) to Zinc's Analysis file. Future version of Scala 2.13.x (and hopefully Scala 3) will release with proper code actions, but as a demo I've implemented a code action for procedure syntax usages even on current Scala 2.13.11 with -deprecation flag.

2.Full release notes:
https://github.com/sbt/sbt/releases/tag/v1.9.3

3.v1.9.2 VS v1.9.3
sbt/sbt@v1.9.2...v1.9.3

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass GA.

@github-actions github-actions bot added the BUILD label Jul 25, 2023
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM.

@srowen
Copy link
Member

srowen commented Jul 25, 2023

Can you try tests again?

@panbingkun
Copy link
Contributor Author

Can you try tests again?

Done.

@LuciferYang
Copy link
Contributor

Merge into master. Thanks @panbingkun @HyukjinKwon @dongjoon-hyun @yaooqinn and @srowen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants