You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "holdenk (JIRA)" <ji...@apache.org> on 2018/07/19 21:15:00 UTC

[jira] [Created] (BEAM-4833) Add support for users specifying a requirements.txt for their Python portable container

holdenk created BEAM-4833:
-----------------------------

             Summary: Add support for users specifying a requirements.txt for their Python portable container
                 Key: BEAM-4833
                 URL: https://issues.apache.org/jira/browse/BEAM-4833
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
            Reporter: holdenk
            Assignee: holdenk


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 code.

Another alternative could be a simple script to augment the existing base image.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)