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

Scala 2.13 cross compilation #2893

Closed
10 tasks
pomadchin opened this issue Apr 6, 2019 · 6 comments · Fixed by #3294
Closed
10 tasks

Scala 2.13 cross compilation #2893

pomadchin opened this issue Apr 6, 2019 · 6 comments · Fixed by #3294
Assignees

Comments

@pomadchin
Copy link
Member

pomadchin commented Apr 6, 2019

Basing on the following information

https://spark.apache.org/news/spark-2-4-1-released.html

In Apache Spark 2.4.1, Scala 2.12 support is GA, and it's no longer experimental. 
We will drop Scala 2.11 support in Spark 3.0, so please provide us feedback.

And this JIRA ticket, I suppose we need to move along with the Spark.

Probably 2.13 support would be in Spark 3.0 release. The result of this issue would be to drop Scala 2.11 and to add Scala 2.12 and 2.13 cross compilation (for sure if there would be Spark binaries).

This issue will also contain changes that would be nice to have to simplify Scala 3 migration:

Scala 2.13

  • Remove usage of Traversable (it is possible to replace it with Iterable)
  • Remove usage of TraversableOnce (it is possible to replace it with IterableOnce)
  • Drop Scala 2.11

Scala 3

@pomadchin
Copy link
Member Author

@jessewebb
Copy link

This issue is closed because the MR (#3294) above was merged. However, when I look on Maven Central for the Scala 2.13 versions, it appears they weren't published as part of the 3.6.0 release.

i.e. https://search.maven.org/search?q=org.locationtech.geotrellis
i.e. https://mvnrepository.com/artifact/org.locationtech.geotrellis/geotrellis-vector

Both links above show no 2.13 binaries available.

When can we expect 2.13 binaries to be published?

@pomadchin
Copy link
Member Author

pomadchin commented Jul 8, 2021

Hey @jessewebb, that's correct. We are blocked by the Spark 3.2.0 release now. I think the ETA for that is ~ September / October. The 2.13 crosscompilation relies on the Spark 3.2.0-SNAPSHOT, because of this reason we publish only 2.13 snapshots that can be found here: https://repo.eclipse.org/content/groups/snapshots/org/locationtech/geotrellis/

@jessewebb
Copy link

Thank you for the quick response! We are moving our codebases to 2.13 and we are just using the -vector JAR right now for some Point datatypes and we don't rely on Spark. I think it will be safe for us to use the SNAPSHOT versions for now until you release an official build. Thanks!

@waveskimmer
Copy link

With Spark 3.2.0 released in Oct, would it be possible to get a 2.13 build?

@pomadchin
Copy link
Member Author

hey @waveskimmer will publish it soon, for now I would recommend you to use SNAPSHOTS, we don't really plan to do any changes before the release.

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

Successfully merging a pull request may close this issue.

3 participants