This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 72ecba538406 [SPARK-47335][BUILD] Upgrade `mvn-scalafmt` to
`1.1.1684076452.9f83818` & `scalafmt` to `3.8.0`
72ecba538406 is described below
commit 72ecba5384060720b114037bec70ff4328625889
Author: panbingkun <[email protected]>
AuthorDate: Tue Mar 12 07:32:18 2024 -0700
[SPARK-47335][BUILD] Upgrade `mvn-scalafmt` to `1.1.1684076452.9f83818` &
`scalafmt` to `3.8.0`
### What changes were proposed in this pull request?
The pr aims to upgrade `mvn-scalafmt` from `1.1.1640084764.9f463a9` to
`1.1.1684076452.9f83818`.
### Why are the changes needed?
- mvn-scalafmt
The last `mvn-scalafmt` upgrade occurred 1 year ago,
https://github.com/apache/spark/pull/37727
The latest version of `mvn-scalafmt` release notes:
https://github.com/SimonJPegg/mvn_scalafmt/releases/tag/2.13-1.1.1684076452.9f83818
- scalafmt
The latest version of `scalafmt` release notes:
https://github.com/scalameta/scalafmt/releases/tag/v3.8.0
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- Manually test.
```
./build/mvn scalafmt:format -Dscalafmt.skip=false
...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.216 s
[INFO] Finished at: 2024-03-10T20:30:11+08:00
[INFO]
------------------------------------------------------------------------
```
```
./dev/scalafmt
...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 01:56 min
[INFO] Finished at: 2024-03-10T20:19:46+08:00
[INFO]
------------------------------------------------------------------------
```
- Pass GA.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #45452 from panbingkun/SPARK-47335.
Authored-by: panbingkun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
dev/.scalafmt.conf | 2 +-
pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/.scalafmt.conf b/dev/.scalafmt.conf
index b3a43a03651a..6d1ab0243dc5 100644
--- a/dev/.scalafmt.conf
+++ b/dev/.scalafmt.conf
@@ -32,4 +32,4 @@ fileOverride {
runner.dialect = scala213
}
}
-version = 3.7.17
+version = 3.8.0
diff --git a/pom.xml b/pom.xml
index 146ded53dd8d..49a951405408 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3564,7 +3564,7 @@
<plugin>
<groupId>org.antipathy</groupId>
<artifactId>mvn-scalafmt_${scala.binary.version}</artifactId>
- <version>1.1.1640084764.9f463a9</version>
+ <version>1.1.1684076452.9f83818</version>
<configuration>
<validateOnly>${scalafmt.validateOnly}</validateOnly> <!--
(Optional) skip formatting -->
<skipSources>${scalafmt.skip}</skipSources>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]