beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Wegner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-678) Python executable should be overridable
Date Mon, 26 Sep 2016 17:05:20 GMT
Scott Wegner created BEAM-678:
---------------------------------

             Summary: Python executable should be overridable
                 Key: BEAM-678
                 URL: https://issues.apache.org/jira/browse/BEAM-678
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Scott Wegner
            Assignee: Scott Wegner
            Priority: Minor


Since [PR 962|https://github.com/apache/incubator-beam/pull/962], dependency.py will use {{sys.executable}}
to source the python executable to use for managing dependencies. However, as stated in the
[python docs|https://docs.python.org/2/library/sys.html#sys.executable]:

bq. If Python is unable to retrieve the real path to its executable, sys.executable will be
an empty string or None.

To mitigate this, we should allow setting the python executable to use via an environment
variable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message