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

Function isPackageManagerConfigured

pkg/python/python.go:486–489  ·  view source on GitHub ↗

isPackageManagerConfigured checks if the environment is configured to use the specified package manager.

(pm string)

Source from the content-addressed store, hash-verified

484 }
485 return nil
486}
487
488// Checks if the Python version is an unstable supported release candidate.
489func isSupportedUnstablePythonVersion(constraint string) bool {
490 return strings.Count(constraint, ".") == 2 && strings.Count(constraint, "rc") == 1
491}
492

Callers 3

IsUVRequirementsFunction · 0.85
IsUVPyprojectFunction · 0.85
IsPipPyprojectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected