-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 source-google-ads
on M1 Macs by pinning protobuf==3.14
#13624
Conversation
source-google-ads
to build for both AMD and ARMsource-google-ads
by pinning protobuf==3.14
source-google-ads
by pinning protobuf==3.14
source-google-ads
on M1 by pinning protobuf==3.14
/test connector=connectors/source-google-ads
Build FailedTest summary info:
|
source-google-ads
on M1 by pinning protobuf==3.14
source-google-ads
on M1 Macs by pinning protobuf==3.14
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.
do you know how did this pass tests before? 🤔
@sherifnada no clue. The problem only appears on M1 macs (which likely weren't used for development of this connector until now). It's also a transitive dependency (a dep of a dep) so the version was drifting under us without us knowing. Older versions did work. |
/test connector=connectors/source-google-ads
Build FailedTest summary info:
|
/test connector=connectors/source-google-ads
Build FailedTest summary info:
|
/test connector=connectors/source-google-ads
Build FailedTest summary info:
|
Codecov Report
@@ Coverage Diff @@
## master #13624 +/- ##
=========================================
Coverage ? 92.61%
=========================================
Files ? 6
Lines ? 406
Branches ? 0
=========================================
Hits ? 376
Misses ? 30
Partials ? 0 Continue to review full report at Codecov.
|
I guess we need to make further investigation as protobuff==3.14 slows down the connector more than 3 times! |
/test connector=connectors/source-google-ads
Build PassedTest summary info:
|
Finally, this looks much better. Docker run spec also works on Mac M1. @evantahler take a look please |
Thanks @davydov-d! I can't approve this PR because I started it, but approved by me! On my M1 mac: docker pull airbyte/source-google-ads:latest
docker run airbyte/source-google-ads:latest spec
# (error)
./gradlew :airbyte-integrations:connectors:source-google-ads:build
docker run airbyte/source-google-ads:dev spec
# (works!) SPEC works! As a note, I also tried to run integration tests locally ( |
/publish connector=connectors/source-google-ads
|
Closes #13580. Closes https://github.com/airbytehq/oncall/issues/263.
Looks like newer versions of Protobuf have some problems (protocolbuffers/protobuf#10075). We can likely remove this version pin in the future.