Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help port more of eco-system to Scala 2.13 #563

Closed
adriaanm opened this issue Sep 27, 2018 · 33 comments
Closed

Help port more of eco-system to Scala 2.13 #563

adriaanm opened this issue Sep 27, 2018 · 33 comments

Comments

@adriaanm
Copy link
Contributor

adriaanm commented Sep 27, 2018

We at Lightbend are seeking to collaborate with OSS project maintainers to help port projects from 2.12 to 2.13. This ticket serves to coordinate the effort -- please comment here with any projects you'd like to nominate (including your own ;-)).

@jvican
Copy link
Member

jvican commented Sep 27, 2018

Migrating anything that is an sbt and Zinc dependency would help so that we can publish a 2.13 version of the incremental compiler before the release of the RC. We're currently blocked by:

  • scalatest
  • sbt-io
  • sbt-util-logging
  • scalacheck

@sjrd
Copy link
Member

sjrd commented Sep 27, 2018

I'd like to nominate scala-parallel-collections. ;)

@adriaanm
Copy link
Contributor Author

Haha, of course the parallel collections were already on the list :-)

@SethTisue
Copy link
Member

as usual, https://github.com/scala/make-release-notes/blob/2.13.x/projects-2.13.md lists published projects and has links to open tickets for projects that haven't published yet

@dsilvasc
Copy link

Are macwire, com.softwaremill.common:tagging, circe, circe-derivation, twilio's guardrail, sttp, gradle-scoverage, gradle-scalastyle-plugin, wartremover, sangria, and gatling already tracked?

@martijnhoekstra
Copy link

https://github.com/twitter/util could probably use some help, and is often a deep transitive dependency

@martijnhoekstra
Copy link

Also, https://github.com/apache/spark

@da-liii
Copy link

da-liii commented Sep 28, 2018

Any guide to port a project from 2.12 to 2.13 ?

I'm willing to work on Apache Spark.

@da-liii
Copy link

da-liii commented Sep 28, 2018

Get the dependents:

$ ./build/mvn -Phive-thriftserver -DskipTests package
$ ls assembly/target/scala-2.12/jars  | grep _2.12 | grep -v spark

Well, Apache Spark depends on ...

  • breeze-macros_2.12-0.13.2.jar
  • breeze_2.12-0.13.2.jar
  • chill_2.12-0.9.3.jar
  • jackson-module-scala_2.12-2.9.6.jar
  • json4s-ast_2.12-3.5.3.jar (3.6.1)
  • json4s-core_2.12-3.5.3.jar
  • json4s-jackson_2.12-3.5.3.jar
  • json4s-scalap_2.12-3.5.3.jar
  • machinist_2.12-0.6.1.jar (0.6.6)
  • macro-compat_2.12-1.1.1.jar (1.1.1)
  • shapeless_2.12-2.3.2.jar (2.3.3)
  • spire-macros_2.12-0.13.0.jar
  • spire_2.12-0.13.0.jar

Related Issues

Check on M5

The Spark Jira

https://issues.apache.org/jira/browse/SPARK-25075

@jvican
Copy link
Member

jvican commented Sep 28, 2018

@sadhen's suggestions are great. I would prioritize those deps to make sure we don't repeat the same mistake with Apache Spark in 2.13. Even if it's not going to be released this year, the closer we are from having a working 2.13 Apache Spark port available, the better.

(I don't know how much does Spark use Scala collections, but if it does I also think it would be a good real-world use case to assess the performance of the new collections.)

@szeiger
Copy link

szeiger commented Sep 28, 2018

If you're porting code to 2.13, check out the presentation on this topic by @julienrf and myself from ScalaDays. For the new collections library we have an updated documentation on scala-lang. For cross-building on 2.12 and 2.13 you may want to use the collection-compat library.

@smarter
Copy link
Member

smarter commented Oct 9, 2018

It looks like scala/bug#11030 is preventing fs2 and probably other projects from compiling with 2.13: typelevel/fs2#1232, so fixing it would definitely count as helping the ecosystem migrate :).

@dsilvasc
Copy link

Gatling request: gatling/gatling#3566

@slandelle
Copy link

Regarding Gatling, we depend on (listing only libs that haven't started supporting 2.13):

@Sciss
Copy link

Sciss commented Dec 10, 2018

We have a ticket for scala-swing now:

scala/scala-swing#84

@Rich2
Copy link

Rich2 commented Dec 11, 2018

I'd certainly like to see help for Scala-Native. Getting to 2.12 seems to be the big challenge for them. Hopefully 2.12 => 2.13 will be relatively straightforward.

@SethTisue
Copy link
Member

volunteer to port boopickle? it's blocking http4s and gatling (and perhaps other projects)

@skonto
Copy link

skonto commented May 10, 2019

For spark here is the dependency tree (no profile used, we need to verify with profiles to see what they bring in). Verified @sadhen's list. Pending issues:

@szeiger
Copy link

szeiger commented May 13, 2019

Spire depends on Algebra which doesn't have a 2.13 release yet. WIP here: typelevel/algebra#226

@adriaanm
Copy link
Contributor Author

See also https://github.com/scalacommunitybuild/algebra/tree/community-build-2.13 (and generally, the same pattern of branch name in that org for many projects)

@adriaanm
Copy link
Contributor Author

FYI, 2.13.0-RC2 is tagged and on Maven Central! We'll announce after the weekend.

@adriaanm
Copy link
Contributor Author

Looks like spire and algebra are up to date with 2.13.0-RC1, and I don't expect RC2 to be an issue for them!

@adriaanm
Copy link
Contributor Author

For chill & breeze, we should start with twitter-util and scrooge, which are already in the community build. To see the errors, grep for [twitter-util] [error] in https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/2208/consoleText.

@martijnhoekstra
Copy link

I have a WIP for twitter-util at twitter/util#248 -- would particularly appreciate ideas for https://github.com/twitter/util/pull/248/files#r279409022

@dsilvasc
Copy link

Looks like monadless isn't in the community build. There's a question about 2.13 support here: monadless/monadless#9

@Philippus
Copy link
Member

Any reason scalamock is not pointing to https://github.com/paulbutcher/ScalaMock ?

@SethTisue
Copy link
Member

SethTisue commented Jun 19, 2019

over at https://github.com/scala/make-release-notes/blob/2.13.x/projects-2.13.md I'm not really doing any more maintenance on the list of what is published for 2.13 (except merging PRs on it), but I am definitely maintaining the list of "please publish for 2.13" tickets at https://github.com/scala/make-release-notes/blob/2.13.x/projects-2.13.md#pending, so that's a place to look for projects to help upgrade

@ayoub-benali
Copy link

For spark here is the dependency tree (no profile used, we need to verify with profiles to see what they bring in). Verified @sadhen's list. Pending issues:

Spire has a 0.17.0-M1 release which is available for Scala 2.13

@SethTisue
Copy link
Member

this is an open-ended/never-ending task, but I think this ticket has now served its purpose. thanks all!

@SethTisue
Copy link
Member

I'm continuing to maintain https://github.com/scala/make-release-notes/blob/2.13.x/projects-2.13.md — it lists projects that are known not to support 2.13 yet

@rafalmag
Copy link

rafalmag commented Mar 9, 2020

I would like to nominate zinc (see sbt/zinc#697) , which seems to block gatling (see gatling/gatling#3566).

@SethTisue
Copy link
Member

@rafalmag I added the link to https://github.com/scala/make-release-notes/blob/2.13.x/projects-2.13.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests