-
Notifications
You must be signed in to change notification settings - Fork 59
Fix our build #524
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
Fix our build #524
Conversation
Pull Request Test Coverage Report for Build 1838
💛 - Coveralls |
tneymanov
left a comment
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.
Again, I would had preferred updating all the tests, but for now this works. we can fix the build and update the tests to supply region explicitly prior to the release.
setup.py
Outdated
| 'protobuf>=3.6.1', | ||
| 'mmh3<2.6', | ||
| # Need to explicitly install v<=1.14.0. apache-beam requires | ||
| # google-cloud-pubsub 0.39.1, which relies on google-cloud-core<0.30dev, |
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.
Remove this comment.
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.
run_presubmit.sh
Outdated
| pip install pylint | ||
| python -m pip install pylint | ||
| fi | ||
| pylint gcp_variant_transforms |
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.
This may not be needed, but for consistency, maybe modify this to python -m pylint?
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.
samanvp
left a comment
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.
Thanks Tural.
run_presubmit.sh
Outdated
| pip install pylint | ||
| python -m pip install pylint | ||
| fi | ||
| pylint gcp_variant_transforms |
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.
setup.py
Outdated
| 'protobuf>=3.6.1', | ||
| 'mmh3<2.6', | ||
| # Need to explicitly install v<=1.14.0. apache-beam requires | ||
| # google-cloud-pubsub 0.39.1, which relies on google-cloud-core<0.30dev, |
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.
allieychen
left a comment
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.
Thank you Saman, LGTM!
| # A helper script for ensuring all checks pass before submitting any change. | ||
|
|
||
| echo ========== Running unit tests. | ||
| if [[ -z `which coverage` ]];then |
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.
Just a general question: is it relatively fast to just install the tools required? eg, if this were apt, I'd just install everything rather than check/install.
Not something to change in this PR, just a general question about pip.
Two issues needed to be fixed:
pip installcommands withpython -m pip installdue to a new cloud-sdk:slim.--regionto all integrations tests due to new Apache Beam requires to send--regionto all pipeline executions.Note that this PR only fixes the build. We need to also enforce users to provide
--regionflag when running Variant Transforms. For more details refer to #525