AnandInguva commented on a change in pull request #16633:
URL: https://github.com/apache/beam/pull/16633#discussion_r794916852
##########
File path: sdks/python/container/piputil.go
##########
@@ -51,7 +51,7 @@ func pipInstallRequirements(files []string, dir, name string)
error {
// used without following their dependencies.
args := []string{"install", "-r", filepath.Join(dir,
name), "--disable-pip-version-check", "--no-index", "--no-deps",
"--find-links", dir}
if err := execx.Execute(pip, args...); err != nil {
- return err
+ fmt.Println("Requirements cache " + dir + " is empty.
Downloading packages from PyPI")
Review comment:
Printing this in case if the first Pip call fails(when user skips
populating requirements cache) to provide more context if user looks into the
logs
--
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]