Piotr M created BEAM-12655:
------------------------------
Summary: Pip cannot install from git
Key: BEAM-12655
URL: https://issues.apache.org/jira/browse/BEAM-12655
Project: Beam
Issue Type: Bug
Components: runner-dataflow
Affects Versions: 2.31.0, 2.30.0
Environment: Dataflow
Reporter: Piotr M
I have a pipeline for GCP Dataflow.
In this pipeline I install dependencies from requirements.txt not only using
PyPI but also using links to github. Example link below:
git+https://${GITHUB_TOKEN}@github.com/my-org/my-repo.git@commit_sha#egg=egg_name
It was working flawlessly in apache-beam==2.16.0 but after upgrading to 2.31
(also checked 2.30) I get following error in worker logs:
ERROR: Error [Errno 2] No such file or directory: 'git': 'git' while executing
command git clone -q 'https://****@github.com/my-org/my-repo.git'
/tmp/pip-install-kwjqgr99/my-repo_87c34d2507fe456b892269fd4429a76b
--
This message was sent by Atlassian Jira
(v8.3.4#803005)