You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/05/27 17:53:00 UTC

[jira] [Commented] (BEAM-10115) Staging requirements.txt fails but staging setup.py succeeds

    [ https://issues.apache.org/jira/browse/BEAM-10115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17117955#comment-17117955 ] 

Kenneth Knowles commented on BEAM-10115:
----------------------------------------

The code paths are different. See https://github.com/apache/beam/blob/80a2ff66c4ce403ae183bcaa59bbd52959d2b3da/sdks/python/apache_beam/runners/portability/stager.py#L28

The requirements.txt is staged directly. The setup.py file is used to build an sdist and the tarball is staged.

> Staging requirements.txt fails but staging setup.py succeeds
> ------------------------------------------------------------
>
>                 Key: BEAM-10115
>                 URL: https://issues.apache.org/jira/browse/BEAM-10115
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-dataflow, sdk-py-core
>            Reporter: Kenneth Knowles
>            Priority: P2
>
> User reports on StackOverflow: https://stackoverflow.com/questions/62032382/dataflow-fails-when-i-add-requirements-txt-python
> The issue appears to be a problem with staging, and a difference between using `requirements.txt` and `setup.py` for some reason.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)