You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2023/01/11 08:08:23 UTC
[kyuubi] branch master updated: [KYUUBI #4127] Align ScalaTest Plus plugin versions and bump ScalaTest from 3.2.9 to 3.2.15
This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new faecd8f23 [KYUUBI #4127] Align ScalaTest Plus plugin versions and bump ScalaTest from 3.2.9 to 3.2.15
faecd8f23 is described below
commit faecd8f23d9839e425da98387ae87ce1bc9d3f47
Author: liangbowen <li...@gf.com.cn>
AuthorDate: Wed Jan 11 16:08:12 2023 +0800
[KYUUBI #4127] Align ScalaTest Plus plugin versions and bump ScalaTest from 3.2.9 to 3.2.15
### _Why are the changes needed?_
- bump `ScalaTest` version from `3.2.9` to `3.2.15`, updated to use same scala version `2.12.17` in Kyuubi. (Release notes: https://github.com/scalatest/scalatest/releases/tag/release-3.2.15)
- bump `scalatest-maven-plugin` from `2.0.2` to `2.2.0` (https://github.com/scalatest/scalatest-maven-plugin/releases/tag/release-2.2.0)
- align `scalatestplus` versions to the version above, removing the misleading `scalacheck.version` property, (ScalaTest + ScalaCheck Version: https://www.scalatest.org/plus/scalacheck/versions)
- bump scalatestplus plugins to `3.2.15.0` with bumping dependency
- scalatestplus-scalacheck (https://github.com/scalatest/scalatestplus-scalacheck/releases/tag/release-3.2.15.0-for-scalacheck-1.17)
- scalatestplus-mockito (https://github.com/scalatest/scalatestplus-mockito/releases/tag/release-3.2.15.0-for-mockito-4.6)
- mockito from `3.4` to `4.6` (https://github.com/mockito/mockito/releases/tag/v4.6.0)
- scalacheck from `1.15` to `1.17` (https://github.com/typelevel/scalacheck/releases/tag/v1.17.0)
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
Closes #4127 from bowenliang123/scalatest-3.2.15.
Closes #4127
ac661a55 [liangbowen] bump scalatest and plugin versions
Authored-by: liangbowen <li...@gf.com.cn>
Signed-off-by: Cheng Pan <ch...@apache.org>
---
extensions/spark/kyuubi-extension-spark-3-1/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-3-2/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-3-3/pom.xml | 2 +-
extensions/spark/kyuubi-extension-spark-common/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-common/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-hive/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-kudu/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-tpcds/pom.xml | 2 +-
extensions/spark/kyuubi-spark-connector-tpch/pom.xml | 2 +-
kyuubi-server/pom.xml | 2 +-
pom.xml | 13 ++++++-------
11 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/extensions/spark/kyuubi-extension-spark-3-1/pom.xml b/extensions/spark/kyuubi-extension-spark-3-1/pom.xml
index 6f1af08ca..5bd4b2fd5 100644
--- a/extensions/spark/kyuubi-extension-spark-3-1/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-3-1/pom.xml
@@ -85,7 +85,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/extensions/spark/kyuubi-extension-spark-3-2/pom.xml b/extensions/spark/kyuubi-extension-spark-3-2/pom.xml
index 808ca35be..daab162b7 100644
--- a/extensions/spark/kyuubi-extension-spark-3-2/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-3-2/pom.xml
@@ -85,7 +85,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/extensions/spark/kyuubi-extension-spark-3-3/pom.xml b/extensions/spark/kyuubi-extension-spark-3-3/pom.xml
index af444927d..cc8291213 100644
--- a/extensions/spark/kyuubi-extension-spark-3-3/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-3-3/pom.xml
@@ -85,7 +85,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/extensions/spark/kyuubi-extension-spark-common/pom.xml b/extensions/spark/kyuubi-extension-spark-common/pom.xml
index 761c984b2..2c587fd78 100644
--- a/extensions/spark/kyuubi-extension-spark-common/pom.xml
+++ b/extensions/spark/kyuubi-extension-spark-common/pom.xml
@@ -71,7 +71,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/extensions/spark/kyuubi-spark-connector-common/pom.xml b/extensions/spark/kyuubi-spark-connector-common/pom.xml
index 1b0e4b65f..e9fa8fcb4 100644
--- a/extensions/spark/kyuubi-spark-connector-common/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-common/pom.xml
@@ -84,7 +84,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/extensions/spark/kyuubi-spark-connector-hive/pom.xml b/extensions/spark/kyuubi-spark-connector-hive/pom.xml
index 168bd18eb..a97dfa053 100644
--- a/extensions/spark/kyuubi-spark-connector-hive/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-hive/pom.xml
@@ -91,7 +91,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/extensions/spark/kyuubi-spark-connector-kudu/pom.xml b/extensions/spark/kyuubi-spark-connector-kudu/pom.xml
index 06bcdf0c3..f3d667fce 100644
--- a/extensions/spark/kyuubi-spark-connector-kudu/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-kudu/pom.xml
@@ -75,7 +75,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml b/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml
index f4cb8a093..53557aea3 100644
--- a/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-tpcds/pom.xml
@@ -90,7 +90,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/extensions/spark/kyuubi-spark-connector-tpch/pom.xml b/extensions/spark/kyuubi-spark-connector-tpch/pom.xml
index f0580557c..4625cdf1a 100644
--- a/extensions/spark/kyuubi-spark-connector-tpch/pom.xml
+++ b/extensions/spark/kyuubi-spark-connector-tpch/pom.xml
@@ -89,7 +89,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/kyuubi-server/pom.xml b/kyuubi-server/pom.xml
index 84901a866..748d8d028 100644
--- a/kyuubi-server/pom.xml
+++ b/kyuubi-server/pom.xml
@@ -469,7 +469,7 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>mockito-3-4_${scala.binary.version}</artifactId>
+ <artifactId>mockito-4-6_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
diff --git a/pom.xml b/pom.xml
index 27cfd4776..b7da49088 100644
--- a/pom.xml
+++ b/pom.xml
@@ -177,9 +177,8 @@
<protobuf.version>3.21.7</protobuf.version>
<py4j.version>0.10.7</py4j.version>
<ranger.version>2.3.0</ranger.version>
- <scalacheck.version>3.2.9.0</scalacheck.version>
- <scalatest.version>3.2.9</scalatest.version>
- <scalatestplus.version>3.2.9.0</scalatestplus.version>
+ <scalatest.version>3.2.15</scalatest.version>
+ <scalatestplus.version>3.2.15.0</scalatestplus.version>
<scopt.version>4.1.0</scopt.version>
<slf4j.version>1.7.36</slf4j.version>
<snakeyaml.version>1.31</snakeyaml.version>
@@ -215,7 +214,7 @@
<maven.plugin.enforcer.mojo.rules.version>1.6.1</maven.plugin.enforcer.mojo.rules.version>
<maven.plugin.scala.version>4.6.1</maven.plugin.scala.version>
<maven.plugin.surefire.version>3.0.0-M7</maven.plugin.surefire.version>
- <maven.plugin.scalatest.version>2.0.2</maven.plugin.scalatest.version>
+ <maven.plugin.scalatest.version>2.2.0</maven.plugin.scalatest.version>
<maven.plugin.scalatest.exclude.tags>org.scalatest.tags.Slow,org.apache.kyuubi.tags.HudiTest</maven.plugin.scalatest.exclude.tags>
<maven.plugin.scalatest.include.tags></maven.plugin.scalatest.include.tags>
<maven.plugin.spotless.version>2.27.2</maven.plugin.spotless.version>
@@ -1051,14 +1050,14 @@
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>scalacheck-1-15_${scala.binary.version}</artifactId>
- <version>${scalacheck.version}</version>
+ <artifactId>scalacheck-1-17_${scala.binary.version}</artifactId>
+ <version>${scalatestplus.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scalatestplus</groupId>
- <artifactId>mockito-3-4_${scala.binary.version}</artifactId>
+ <artifactId>mockito-4-6_${scala.binary.version}</artifactId>
<version>${scalatestplus.version}</version>
</dependency>