Skip to content

Commit 7c842a7

Browse files
vanschelvenarjun024
authored andcommitted
Distinguish Vendored and Unvendored installs in logs
1 parent 9d8a898 commit 7c842a7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/python/supply/supply.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,8 @@ func (s *Supplier) UninstallUnusedDependencies() error {
593593
}
594594

595595
func (s *Supplier) RunPipUnvendored() error {
596+
s.Log.BeginStep("Running Pip Install (Unvendored)")
597+
596598
shouldContinue, requirementsPath, err := s.shouldRunPip()
597599
if err != nil {
598600
return err
@@ -652,6 +654,8 @@ func (s *Supplier) RunPipUnvendored() error {
652654
}
653655

654656
func (s *Supplier) RunPipVendored() error {
657+
s.Log.BeginStep("Running Pip Install (Vendored)")
658+
655659
shouldContinue, requirementsPath, err := s.shouldRunPip()
656660
if err != nil {
657661
return err
@@ -807,7 +811,6 @@ func writePyDistUtils(distUtils map[string][]string) error {
807811
}
808812

809813
func (s *Supplier) shouldRunPip() (bool, string, error) {
810-
s.Log.BeginStep("Running Pip Install")
811814
if os.Getenv("PIP_CERT") == "" {
812815
os.Setenv("PIP_CERT", "/etc/ssl/certs/ca-certificates.crt")
813816
}

0 commit comments

Comments
 (0)