This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 265
Support Scala 2.12 #724
Merged
Merged
Support Scala 2.12 #724
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6ed856f
Remove scala 2.10 and add scala 2.12
e91ffe6
Bump versions of deps
473517d
Fix algebird related issues based on https://github.com/twitter/summi…
67d32fb
Fix finagle related compilation error
99fbe79
Fix ClientStoreLaws
0ab0998
Merge remote-tracking branch 'upstream/develop' into scala_2.12
856c9e1
Merge remote-tracking branch 'upstream/develop' into scala_2.12
68dcc4e
Merge remote-tracking branch 'upstream/develop' into scala_2.12
a6bd6e3
Bump scalding version
8a693b7
Rename TimeStamp.scala to Timestamp.scala and fix serialization of ti…
93d48ef
Remove usage of JavaConversions
4977e9b
Trying to fix travis scalacheck fail
8ac1b9a
Introduce ArbitraryWorkaround object
b860fb9
Bump scalding version
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ import com.typesafe.tools.mima.plugin.MimaPlugin.mimaDefaultSettings | |
import sbtassembly.Plugin._ | ||
|
||
def scalaBinaryVersion(scalaVersion: String) = scalaVersion match { | ||
case version if version startsWith "2.10" => "2.10" | ||
case version if version startsWith "2.11" => "2.11" | ||
case version if version startsWith "2.12" => "2.12" | ||
case _ => sys.error("Unsupported scala version: " + scalaVersion) | ||
|
@@ -15,25 +14,23 @@ def isScala210x(scalaVersion: String) = scalaBinaryVersion(scalaVersion) == "2.1 | |
def sequentialExecution: Boolean = | ||
Option(System.getProperty("sequentialExecution")).map(_.toBoolean).getOrElse(false) | ||
|
||
val algebirdVersion = "0.12.0" | ||
val bijectionVersion = "0.9.1" | ||
val chillVersion = "0.8.3" | ||
val commonsHttpClientVersion = "3.1" | ||
val algebirdVersion = "0.13.0" | ||
val bijectionVersion = "0.9.5" | ||
val chillVersion = "0.8.4" | ||
val commonsLangVersion = "2.6" | ||
val finagleVersion = "6.35.0" | ||
val hadoopVersion = "1.2.1" | ||
val junitVersion = "4.11" | ||
val log4jVersion = "1.2.16" | ||
val novocodeJunitVersion = "0.10" | ||
val scalaCheckVersion = "1.13.4" | ||
val scalatestVersion = "3.0.1" | ||
val scaldingVersion = "0.16.1-RC3" | ||
val scaldingVersion = "0.17.1" | ||
val slf4jVersion = "1.6.6" | ||
val storehausVersion = "0.15.0-RC1" | ||
val storehausVersion = "0.15.0" | ||
val stormDep = "org.apache.storm" % "storm-core" % "1.0.2" | ||
val tormentaVersion = "0.12.0" | ||
val utilVersion = "6.34.0" | ||
val chainVersion = "0.1.0" | ||
val utilVersion = "6.43.0" | ||
val chainVersion = "0.2.0" | ||
|
||
val extraSettings = mimaDefaultSettings | ||
|
||
|
@@ -50,8 +47,8 @@ val executionSettings = if (sequentialExecution) { | |
|
||
val sharedSettings = extraSettings ++ executionSettings ++ Seq( | ||
organization := "com.twitter", | ||
scalaVersion := "2.11.7", | ||
crossScalaVersions := Seq("2.10.5", "2.11.7"), | ||
scalaVersion := "2.11.11", | ||
crossScalaVersions := Seq("2.11.11", "2.12.2"), | ||
// To support hadoop 1.x | ||
javacOptions ++= Seq("-source", "1.6", "-target", "1.6"), | ||
|
||
|
@@ -188,7 +185,7 @@ def youngestForwardCompatible(subProj: String) = | |
// Uncomment after release. | ||
// Some(subProj) | ||
// .filterNot(unreleasedModules.contains(_)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we delete these commented lines? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, we need to uncomment after each version bump. Deleting seems like a good way to keep making mima mistakes like the scalding one. |
||
// .map { s => "com.twitter" % ("summingbird-" + s + "_2.10") % "0.9.0" } | ||
// .map { s => "com.twitter" % ("summingbird-" + s + "_2.11") % "0.9.0" } | ||
|
||
/** | ||
* Empty this each time we publish a new version (and bump the minor number) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we roll back to
0.17.0
here or wait for0.17.2
due to the recently discovered semver issue with0.17.1
cc @piyushnarangThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.17.0
breaks SB tests so we can't roll back. I'm going to publish0.17.2
today.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done