@@ -7,10 +7,10 @@ import scala.xml.transform.{RewriteRule, RuleTransformer}
7
7
import scala .xml .{Node => XmlNode , NodeSeq => XmlNodeSeq , _ }
8
8
9
9
val condaEnvName = " synapseml"
10
- val sparkVersion = " 3.4.1 "
10
+ val sparkVersion = " 3.3.3 "
11
11
name := " synapseml"
12
12
ThisBuild / organization := " com.microsoft.azure"
13
- ThisBuild / scalaVersion := " 2.12.17 "
13
+ ThisBuild / scalaVersion := " 2.12.15 "
14
14
15
15
val scalaMajorVersion = 2.12
16
16
@@ -20,27 +20,25 @@ val excludes = Seq(
20
20
)
21
21
22
22
val coreDependencies = Seq (
23
- // Excluding protobuf-java, as spark-core is bringing the older version transitively.
24
- " org.apache.spark" %% " spark-core" % sparkVersion % " compile" exclude(" com.google.protobuf" , " protobuf-java" ),
23
+ " org.apache.spark" %% " spark-core" % sparkVersion % " compile" ,
25
24
" org.apache.spark" %% " spark-mllib" % sparkVersion % " compile" ,
26
- " org.apache.spark" %% " spark-avro" % sparkVersion % " compile " ,
25
+ " org.apache.spark" %% " spark-avro" % sparkVersion % " provided " ,
27
26
" org.apache.spark" %% " spark-tags" % sparkVersion % " test" ,
28
27
" com.globalmentor" % " hadoop-bare-naked-local-fs" % " 0.1.0" % " test" ,
29
28
" org.scalatest" %% " scalatest" % " 3.2.14" % " test" )
30
29
val extraDependencies = Seq (
31
- " commons-lang" % " commons-lang" % " 2.6" ,
32
30
" org.scalactic" %% " scalactic" % " 3.2.14" ,
33
31
" io.spray" %% " spray-json" % " 1.3.5" ,
34
32
" com.jcraft" % " jsch" % " 0.1.54" ,
35
33
" org.apache.httpcomponents.client5" % " httpclient5" % " 5.1.3" ,
36
34
" org.apache.httpcomponents" % " httpmime" % " 4.5.13" ,
37
- " com.linkedin.isolation-forest" %% " isolation-forest_3.4.2 " % " 3.0.4"
35
+ " com.linkedin.isolation-forest" %% " isolation-forest_3.3.3 " % " 3.0.4"
38
36
exclude(" com.google.protobuf" , " protobuf-java" ) exclude(" org.apache.spark" , " spark-mllib_2.12" )
39
37
exclude(" org.apache.spark" , " spark-core_2.12" ) exclude(" org.apache.spark" , " spark-avro_2.12" )
40
38
exclude(" org.apache.spark" , " spark-sql_2.12" ),
41
- // Although breeze 2.1.0 is already provided by Spark, this is needed for Azure Synapse Spark 3.4 pools.
39
+ // Although breeze 1.2 is already provided by Spark, this is needed for Fabric Spark 3.3 pools.
42
40
// Otherwise a NoSuchMethodError will be thrown by interpretability code.
43
- " org.scalanlp" %% " breeze" % " 2.1.0 "
41
+ " org.scalanlp" %% " breeze" % " 1.2 "
44
42
).map(d => d excludeAll (excludes : _* ))
45
43
val dependencies = coreDependencies ++ extraDependencies
46
44
0 commit comments