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
[SW-1211] Automatically download H2O Wheel during build #1139
Conversation
Waiting for tests |
py/build.gradle
Outdated
@@ -17,6 +17,7 @@ ext { | |||
pkgDir = file("$buildDir/pkg") | |||
distDir = file("$buildDir/dist") | |||
condaDir = file("$buildDir/conda/h2o_pysparkling_${sparkMajorVersion}") | |||
wheelFile = file("${rootDir.toString()}/.gradle/wheels/h2o-${h2oMajorVersion}.${h2oBuild}-py2.py3-none-any.whl") |
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.
Is .toString()
necessary here?
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.
nope, good point
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.
it will resolve to string automatically
py/build.gradle
Outdated
} else if (H2O_PYTHON_WHEEL != null) { | ||
copyH2OFromH2OWheel(H2O_PYTHON_WHEEL) | ||
} else { | ||
copyH2OFromH2OWheel(H2O_PYTHON_WHEEL.toString()) |
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.
Is .toString()
necessary here?
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.
Yup, H2O_PYTHON_WHEEL
is File
. I made it more obvious. thx!
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.
Actually no even here, we can pass in file directly
Thanks for review @mn-mikke. Incorporated the changes in, let's wait for tests |
(cherry picked from commit ce6a134)
(cherry picked from commit ce6a134)
(cherry picked from commit ce6a134)
(cherry picked from commit ce6a134)
No description provided.