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/13 03:51:00 UTC

[spark] branch branch-3.4 updated: [SPARK-44031][BUILD] Upgrade silencer to 1.7.13

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new b04232c65dc [SPARK-44031][BUILD] Upgrade silencer to 1.7.13
b04232c65dc is described below

commit b04232c65dc593c22db5fb5e18eab79aebf3a2ca
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Mon Jun 12 20:50:37 2023 -0700

    [SPARK-44031][BUILD] Upgrade silencer to 1.7.13
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade `silencer` to 1.7.13.
    
    ### Why are the changes needed?
    
    `silencer` 1.7.13 supports `Scala 2.12.18 & 2.13.11`.
    - https://github.com/ghik/silencer/releases/tag/v1.7.13
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    Pass the CIs.
    
    Closes #41560 from dongjoon-hyun/silencer_1.7.13.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
    (cherry picked from commit 04d84df87e33111f79525b88ad78c6d1bddab78c)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 pom.xml                  | 2 +-
 project/SparkBuild.scala | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index e5baf199914..875aa3603a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2911,7 +2911,7 @@
               <compilerPlugin>
                 <groupId>com.github.ghik</groupId>
                 <artifactId>silencer-plugin_${scala.version}</artifactId>
-                <version>1.7.10</version>
+                <version>1.7.13</version>
               </compilerPlugin>
             </compilerPlugins>
           </configuration>
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 05b88bc8b14..c5dd1c1d198 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -225,12 +225,12 @@ object SparkBuild extends PomBuild {
   // Silencer: Scala compiler plugin for warning suppression
   // Aim: enable fatal warnings, but suppress ones related to using of deprecated APIs
   // depends on scala version:
-  // <2.13.2 - silencer 1.7.12 and compiler settings to enable fatal warnings
+  // <2.13.2 - silencer 1.7.13 and compiler settings to enable fatal warnings
   // 2.13.2+ - no silencer and configured warnings to achieve the same
   lazy val compilerWarningSettings: Seq[sbt.Def.Setting[_]] = Seq(
     libraryDependencies ++= {
       if (VersionNumber(scalaVersion.value).matchesSemVer(SemanticSelector("<2.13.2"))) {
-        val silencerVersion = "1.7.12"
+        val silencerVersion = "1.7.13"
         Seq(
           "org.scala-lang.modules" %% "scala-collection-compat" % "2.2.0",
           compilerPlugin("com.github.ghik" % "silencer-plugin" % silencerVersion cross CrossVersion.full),


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