beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-4833) Add support for users specifying a requirements.txt for their Python portable container
Date Mon, 06 Aug 2018 03:25:00 GMT


ASF GitHub Bot logged work on BEAM-4833:

                Author: ASF GitHub Bot
            Created on: 06/Aug/18 03:24
            Start Date: 06/Aug/18 03:24
    Worklog Time Spent: 10m 
      Work Description: holdenk commented on a change in pull request #6005: [BEAM-4833] Add
support for user req.txt for portable python

 File path: sdks/python/container/Dockerfile
 @@ -79,14 +80,18 @@ RUN \
     pip install "tensorflow == 1.4.0" && \
     pip install "protorpc == 0.11.1" && \
     pip install "python-gflags == 3.0.6" && \
-    # Remove pip cache.
 Review comment:
   This is addressed I believe, it's just moved to the end of the same RUN cmd

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 131301)
    Time Spent: 2h 10m  (was: 2h)

> Add support for users specifying a requirements.txt for their Python portable container
> ---------------------------------------------------------------------------------------
>                 Key: BEAM-4833
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: holdenk
>            Assignee: holdenk
>            Priority: Minor
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
> It's pretty common that Python scripts require extra dependencies, even the tensorflow
model analysis TFMA example requires a different version of TF than the one we install by
default. While users can roll their own container or edit the Dockerfile, it would probably
be useful to provide an easier path to integrating their dependencies.
> While we support automatically installing the dependencies at runtime on the workers,
this can be very slow, especially for things like tensorflow, arrow, or other numeric heavy
> Another alternative could be a simple script to augment the existing base image.

This message was sent by Atlassian JIRA

View raw message