apache / apache/beam

Pip cannot install from git

Open
#21,084 0 comments 0 reactions 0 assignees View on GitHub
bug dataflow P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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

```

Imported from Jira [BEAM-12655](https://issues.apache.org/jira/browse/BEAM-12655). Original Jira may contain additional context.
Reported by: piotr.mazur.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.