diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 0784c1ed..91f3a616 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -575,13 +575,20 @@ func init() { } func init() { - artifactsM[PythonPyYAML] = newPypi( + const ( + version = "6.0.3" + checksum = "7wDv0RW9chBdu9l5Q4Hun5F2HHdo105ZSIixwdFPKbEYbftW9YxmsegfL-zafnbJ" + ) + artifactsM[PythonPyYAML] = newPythonPackage( "pyyaml", 4123, "a YAML parser and emitter for Python", - "6.0.3", "cp314", "cp314", "musllinux_1_2_"+linuxArch(), - perArch[string]{ - "amd64": "4_jhCFpUNtyrFp2HOMqUisR005u90MHId53eS7rkUbcGXkoaJ7JRsY21dREHEfGN", - "arm64": "sQ818ZYSmC7Vj9prIPx3sEYqSDhZlWvLbgHV9w4GjxsfQ63ZSzappctKM7Lb0Whw", - }.unwrap(), + "https://pyyaml.org/", + version, newFromGitHub( + "yaml/pyyaml", + version, checksum, + ), nil, &PipHelper{ + // ModuleNotFoundError: No module named 'yaml' + Install: true, + }, P{PythonSetuptools}, ) }