MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/buildpacks / MakerPipInstaller

Struct MakerPipInstaller

pkg/python/python.go:331–333  ·  view source on GitHub ↗

MakerPipInstaller implements the PipInstaller interface for the maker tool.

Source from the content-addressed store, hash-verified

329 // HACK: For backwards compatibility on App Engine and Cloud Functions Python 3.7 only report a
330 // warning.
331 if strings.HasPrefix(pyVer, "Python 3.7") {
332 ctx.Warnf("Found incompatible dependencies: %q", result.Stdout)
333 return nil
334 }
335 return gcp.UserErrorf("found incompatible dependencies: %q", result.Stdout)
336}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected