-
Notifications
You must be signed in to change notification settings - Fork 10
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
GeoTrellis 3.2.0 #112
GeoTrellis 3.2.0 #112
Conversation
- Cross version dependencies diverge - Minimize dependencies - switch to log4s
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.
Looks good - might want to upgrade scala 12 version to 2.12.10
while you're here
} | ||
} | ||
|
||
def spark(module: String) = Def.setting { |
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.
Why split spark
and geotrellis
out if the version doesn't change based on scala version?
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.
Frivolous honestly, mostly trying to minimize the amount of lines that can duplicate version information but not sure this that much better.
This is one of the API breaks sadly |
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.
I think we can minimize that compact
package to be a single type alias.
Scala 2.11
package com.azavea.maml
package object compact {
type ParallelCompact[M[_], F[_]] = cats.Parallel[M, F]
}
Scala 2.12
package object compact {
type ParallelCompact[M[_], F[_]] = cats.Parallel.Aux[M, F]
}
Yes the signature would still remain a legacy one, but we won't have to support two aobsolutely different Interpreter versions with different InterpreterSpecs.
I also will prepare a PR, so feel free to decline my review if you don't like it.
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.
Ah also a minor thing probably not related to this PR; but is there a plan to fix packages structure in this project?
Minimize compact package
Overview
Cross scala version dependencies diverge (ref: Switch to scala 2.12 as build default locationtech/geotrellis#3132)
Minimize dependencies for
mamlJVM
Test
spark-sql
dependency becomesTest
geotrellis-spark
dependencygeotrellis-s3
dependencyswitch from scala-logging to log4s
ParallelInterpreter
forked for scala 2.11 and 2.12 based on changes incats.Parallel
interfaceChecklist