You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2023/06/18 04:09:17 UTC

[spark] branch master updated: [SPARK-43832][BUILD] Upgrade Scala to 2.12.18

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 e38c586b92c [SPARK-43832][BUILD] Upgrade Scala to 2.12.18
e38c586b92c is described below

commit e38c586b92c406581f59c53a2f865f8c25cedc01
Author: yangjie01 <ya...@baidu.com>
AuthorDate: Sat Jun 17 21:09:07 2023 -0700

    [SPARK-43832][BUILD] Upgrade Scala to 2.12.18
    
    ### What changes were proposed in this pull request?
    This PR aims to upgrade Scala to 2.12.18
    - https://www.scala-lang.org/news/2.12.18
    
    ### Why are the changes needed?
    This release adds support for JDK 20 and 21:
    - https://github.com/scala/scala/pull/10185
    - https://github.com/scala/scala/pull/10362
    - https://github.com/scala/scala/pull/10397
    - https://github.com/scala/scala/pull/10400
    
    The full release notes as follows:
    
    - https://github.com/scala/scala/releases/tag/v2.12.18
    
    ### Does this PR introduce _any_ user-facing change?
    Yes, this is a Scala version change.
    
    ### How was this patch tested?
    Existing Test
    
    Closes #41627 from LuciferYang/SPARK-43832.
    
    Authored-by: yangjie01 <ya...@baidu.com>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 dev/deps/spark-deps-hadoop-3-hive-2.3 | 6 +++---
 docs/_config.yml                      | 2 +-
 pom.xml                               | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3 b/dev/deps/spark-deps-hadoop-3-hive-2.3
index d9a5bf20eed..2b97a343de6 100644
--- a/dev/deps/spark-deps-hadoop-3-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-3-hive-2.3
@@ -225,10 +225,10 @@ py4j/0.10.9.7//py4j-0.10.9.7.jar
 remotetea-oncrpc/1.1.2//remotetea-oncrpc-1.1.2.jar
 rocksdbjni/8.1.1.1//rocksdbjni-8.1.1.1.jar
 scala-collection-compat_2.12/2.7.0//scala-collection-compat_2.12-2.7.0.jar
-scala-compiler/2.12.17//scala-compiler-2.12.17.jar
-scala-library/2.12.17//scala-library-2.12.17.jar
+scala-compiler/2.12.18//scala-compiler-2.12.18.jar
+scala-library/2.12.18//scala-library-2.12.18.jar
 scala-parser-combinators_2.12/2.2.0//scala-parser-combinators_2.12-2.2.0.jar
-scala-reflect/2.12.17//scala-reflect-2.12.17.jar
+scala-reflect/2.12.18//scala-reflect-2.12.18.jar
 scala-xml_2.12/2.1.0//scala-xml_2.12-2.1.0.jar
 shims/0.9.44//shims-0.9.44.jar
 slf4j-api/2.0.7//slf4j-api-2.0.7.jar
diff --git a/docs/_config.yml b/docs/_config.yml
index 6f6383a82ab..57376b8e393 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -22,7 +22,7 @@ include:
 SPARK_VERSION: 3.5.0-SNAPSHOT
 SPARK_VERSION_SHORT: 3.5.0
 SCALA_BINARY_VERSION: "2.12"
-SCALA_VERSION: "2.12.17"
+SCALA_VERSION: "2.12.18"
 MESOS_VERSION: 1.0.0
 SPARK_ISSUE_TRACKER_URL: https://issues.apache.org/jira/browse/SPARK
 SPARK_GITHUB_URL: https://github.com/apache/spark
diff --git a/pom.xml b/pom.xml
index 9786ba04704..23fe4b11b71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -168,7 +168,7 @@
     <!-- managed up from 3.2.1 for SPARK-11652 -->
     <commons.collections.version>3.2.2</commons.collections.version>
     <commons.collections4.version>4.4</commons.collections4.version>
-    <scala.version>2.12.17</scala.version>
+    <scala.version>2.12.18</scala.version>
     <scala.binary.version>2.12</scala.binary.version>
     <scalatest-maven-plugin.version>2.2.0</scalatest-maven-plugin.version>
     <!-- dont update scala-maven-plugin to version 4.8.1 SPARK-42809 and SPARK-43595 -->   
@@ -3556,7 +3556,7 @@
          SPARK-34774 Add this property to ensure change-scala-version.sh can replace the public `scala.version`
          property correctly.
         -->
-        <scala.version>2.12.17</scala.version>
+        <scala.version>2.12.18</scala.version>
       </properties>
       <build>
         <pluginManagement>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org