[
https://issues.apache.org/jira/browse/BEAM-4032?focusedWorklogId=724798&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-724798
]
ASF GitHub Bot logged work on BEAM-4032:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Feb/22 21:52
Start Date: 10/Feb/22 21:52
Worklog Time Spent: 10m
Work Description: tvalentyn commented on a change in pull request #16633:
URL: https://github.com/apache/beam/pull/16633#discussion_r804137553
##########
File path: CHANGES.md
##########
@@ -62,8 +62,9 @@
## New Features / Improvements
-* X feature added (Java/Python)
([BEAM-X](https://issues.apache.org/jira/browse/BEAM-X)).
-
+* Added support for downloading and staging wheels/bdists for the PyPI
packages. Currently supported for `linux_86_64 platforms`.
Review comment:
possible wording to consider:
Pipeline dependencies supplied through --requirements_file, will now be
staged to the runner using their binary distributions (wheels) of the PyPI
packages for `linux_x86_64 platform`
([BEAM-4032](https://issues.apache.org/jira/browse/BEAM-4032)). To restore the
behavior to use source distributions, set pipeline option
`--requirements_cache_only_sources`. To skip staging the packages at submission
time, set pipeline option `--requirements_cache=skip`(Python)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 724798)
Time Spent: 24h 10m (was: 24h)
> Support staging binary distributions of dependency packages.
> ------------------------------------------------------------
>
> Key: BEAM-4032
> URL: https://issues.apache.org/jira/browse/BEAM-4032
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-core
> Reporter: Valentyn Tymofieiev
> Assignee: Anand Inguva
> Priority: P2
> Time Spent: 24h 10m
> Remaining Estimate: 0h
>
> requirements.txt only supports source-distribution dependencies [1].
> --extra_packages does not officially support wheel files [2].
> It is possible to expand this to support binary distributions as long as we
> have the knowledge of the target platform.
> We should take into consideration the mechanisms of staging dependencies
> through portability framework, and perhaps consolidate some of the existing
> options.
> [https://github.com/apache/beam/blob/a79d1b4fc27eb81db0d9a773047820a206f3d238/sdks/python/apache_beam/runners/dataflow/internal/dependency.py#L260]
> [https://github.com/apache/beam/blob/a79d1b4fc27eb81db0d9a773047820a206f3d238/sdks/python/apache_beam/runners/dataflow/internal/dependency.py#L188]
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)