Skip to content

Commit

Permalink
Do not build Spark-4.0.0-SNAPSHOT [skip ci] (#12068)
Browse files Browse the repository at this point in the history
This PR to stop building SPARK-4.0.0-SNAPSHOT in pre-merge and
nightlies.
A massive change went in Spark-4.0-
apache/spark#49713 recently which breaks the
builds and causes jenkins jobs failure.
We stop building it temporarily until we fix the issue.
---------

Signed-off-by: Niranjan Artal <[email protected]>
  • Loading branch information
nartal1 authored Feb 6, 2025
1 parent 602b16a commit c35cac8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion build/get_buildvers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2024, NVIDIA CORPORATION.
# Copyright (c) 2024-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,6 +29,8 @@ def _get_buildvers(buildvers, pom_file, logger=None):

for release in releases:
spark_version = pom.find(".//pom:spark{}.version".format(release), ns)
if spark_version is None:
continue
if spark_version.text.endswith("SNAPSHOT"):
snapshots.append(release)
else:
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@
<spark352.version>3.5.2</spark352.version>
<spark353.version>3.5.3</spark353.version>
<spark354.version>3.5.4</spark354.version>
<spark400.version>4.0.0-SNAPSHOT</spark400.version>
<!-- spark400.version>4.0.0-SNAPSHOT</spark400.version -->
<mockito.version>3.12.4</mockito.version>
<!-- same as Apache Spark 4.0.0 for Scala 2.13 except for cloudera shims -->
<scala.plugin.version>4.9.1</scala.plugin.version>
Expand Down Expand Up @@ -974,8 +974,8 @@
<jdk17.buildvers>
</jdk17.buildvers>
<jdk17.scala213.buildvers>
330,
400
330
<!-- 400 -->
</jdk17.scala213.buildvers>
<shimplify.shims/>
<cpd.sourceType>main</cpd.sourceType>
Expand Down
6 changes: 3 additions & 3 deletions scala2.13/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@
<spark352.version>3.5.2</spark352.version>
<spark353.version>3.5.3</spark353.version>
<spark354.version>3.5.4</spark354.version>
<spark400.version>4.0.0-SNAPSHOT</spark400.version>
<!-- spark400.version>4.0.0-SNAPSHOT</spark400.version -->
<mockito.version>3.12.4</mockito.version>
<!-- same as Apache Spark 4.0.0 for Scala 2.13 except for cloudera shims -->
<scala.plugin.version>4.9.1</scala.plugin.version>
Expand Down Expand Up @@ -974,8 +974,8 @@
<jdk17.buildvers>
</jdk17.buildvers>
<jdk17.scala213.buildvers>
330,
400
330
<!-- 400 -->
</jdk17.scala213.buildvers>
<shimplify.shims/>
<cpd.sourceType>main</cpd.sourceType>
Expand Down

0 comments on commit c35cac8

Please sign in to comment.