[
https://issues.apache.org/jira/browse/BEAM-9510?focusedWorklogId=404477&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-404477
]
ASF GitHub Bot logged work on BEAM-9510:
----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Mar/20 06:29
Start Date: 17/Mar/20 06:29
Worklog Time Spent: 10m
Work Description: tvalentyn commented on issue #11142: [BEAM-9510] Fixing
version incompatibilities in base_image_requirements.txt
URL: https://github.com/apache/beam/pull/11142#issuecomment-599900258
LGTM
A few things out of scope of this PR:
1) This PR fixes the incompatibility in dependencies, but the list of
dependencies is in base_image_requirements.txt is still not exhaustive. So,
container builds may not be repeatable over time, and there is a risk that we
will introduce incompatible dependencies down the road and won't notice it.
2) We can consider switching the base image to `python:slim-stretch` instead
of `python:stretch` to reduce the size of the images:
https://github.com/apache/beam/blob/master/sdks/python/container/Dockerfile#L20
cc: @Hannah-Jiang
----------------------------------------------------------------
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: 404477)
Time Spent: 1h 10m (was: 1h)
> Dependencies in base_image_requirements.txt are not compatible with each other
> ------------------------------------------------------------------------------
>
> Key: BEAM-9510
> URL: https://issues.apache.org/jira/browse/BEAM-9510
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-harness
> Reporter: David Yan
> Assignee: Hannah Jiang
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> [https://github.com/apache/beam/blob/master/sdks/python/container/base_image_requirements.txt#L56]
> says it requires google-cloud-bigquery==1.24.0, google-cloud-core==1.0.2,
> google-cloud-bigtable==0.32.1, grpc-1.22.0 and tensorflow-2.1.0
> But they are incompatible with each other:
> ERROR: google-cloud-bigquery 1.24.0 has requirement
> google-cloud-core<2.0dev,>=1.1.0, but you'll have google-cloud-core 1.0.2
> which is incompatible.
> ERROR: google-cloud-bigtable 0.32.1 has requirement
> google-cloud-core<0.30dev,>=0.29.0, but you'll have google-cloud-core 1.0.2
> which is incompatible.
> ERROR: tensorboard 2.1.1 has requirement grpcio>=1.24.3, but you'll have
> grpcio 1.22.0 which is incompatible.
> ERROR: tensorflow 2.1.0 has requirement scipy==1.4.1; python_version >= "3",
> but you'll have scipy 1.2.2 which is incompatible.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)