[
https://issues.apache.org/jira/browse/BEAM-10247?focusedWorklogId=444649&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-444649
]
ASF GitHub Bot logged work on BEAM-10247:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Jun/20 00:31
Start Date: 12/Jun/20 00:31
Worklog Time Spent: 10m
Work Description: davidyan74 opened a new pull request #11996:
URL: https://github.com/apache/beam/pull/11996
Pin google-api-core to 1.17.0, because otherwise the pulled version 1.20.0
is incompatible with the pinned grpc.
R: @aaltay
------------------------
Thank you for your contribution! Follow this checklist to help us
incorporate your contribution quickly and easily:
- [ ] [**Choose
reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and
mention them in a comment (`R: @username`).
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] Update `CHANGES.md` with noteworthy changes.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
See the [Contributor Guide](https://beam.apache.org/contribute) for more
tips on [how to make review process
smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Samza | Spark
--- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/)
| --- | --- | [](https://builds.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/)
Java | [](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Java11/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Java11/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_SparkStructuredStreaming/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python2/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Python35/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Python36/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Python37/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Python35_VR_Flink/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Python_VR_Spark/lastCompletedBuild/)
XLang | --- | --- | --- | [](https://builds.apache.org/job/beam_PostCommit_XVR_Flink/lastCompletedBuild/)
| --- | --- | [](https://builds.apache.org/job/beam_PostCommit_XVR_Spark/lastCompletedBuild/)
Pre-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
--- |Java | Python | Go | Website
--- | --- | --- | --- | ---
Non-portable | [](https://builds.apache.org/job/beam_PreCommit_Java_Cron/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Python_Cron/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PreCommit_PythonLint_Cron/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Go_Cron/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Website_Cron/lastCompletedBuild/)
Portable | --- | [](https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/lastCompletedBuild/)
| --- | ---
See
[.test-infra/jenkins/README](https://github.com/apache/beam/blob/master/.test-infra/jenkins/README.md)
for trigger phrase, status and link of all Jenkins jobs.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 444649)
Remaining Estimate: 0h
Time Spent: 10m
> google-api-core 1.20.0 is incompatible with the pinned version of grpc
> ----------------------------------------------------------------------
>
> Key: BEAM-10247
> URL: https://issues.apache.org/jira/browse/BEAM-10247
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-harness
> Reporter: David Yan
> Assignee: David Yan
> Priority: P1
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It looks like the google-api-core 1.20.0 has an issue with required
> dependency or the lack thereof. This is causing this issue when using
> datastore:
>
> {{Traceback (most recent call last):}}
> {{ File "./query_license.py", line 11, in <module>}}
> {{ from google.cloud import datastore}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/cloud/datastore/__init__.py",
> line 62, in <module>}}
> {{ from google.cloud.datastore.batch import Batch}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/cloud/datastore/batch.py",
> line 24, in <module>}}
> {{ from google.cloud.datastore import helpers}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/cloud/datastore/helpers.py",
> line 29, in <module>}}
> {{ from google.cloud.datastore_v1.proto import datastore_pb2}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/cloud/datastore_v1/__init__.py",
> line 18, in <module>}}
> {{ from google.cloud.datastore_v1.gapic import datastore_client}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/cloud/datastore_v1/gapic/datastore_client.py",
> line 22, in <module>}}
> {{ import google.api_core.gapic_v1.client_info}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/api_core/gapic_v1/__init__.py",
> line 26, in <module>}}
> {{ from google.api_core.gapic_v1 import method_async # noqa: F401}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/api_core/gapic_v1/method_async.py",
> line 20, in <module>}}
> {{ from google.api_core import general_helpers, grpc_helpers_async}}
> {{ File
> "/root/apache-beam-custom/lib/python3.7/site-packages/google/api_core/grpc_helpers_async.py",
> line 25, in <module>}}
> {{ from grpc.experimental import aio}}
> {{ ImportError: cannot import name 'aio' from 'grpc.experimental'
> (/root/apache-beam-custom/lib/python3.7/site-packages/grpc/experimental/__init__.py)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)