diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-20 02:35:30 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-20 02:35:30 +0900 |
| commit | 6a3248d4725513c32d37c18990d628c9fb179920 (patch) | |
| tree | bbdc45ee7a00f571df5c04b823436eba31a74441 /internal | |
| parent | 67404c98d9090e25988816f2f44f0d1a2e6db0c5 (diff) | |
internal/rosa/python: install pyyaml from source
Required by mesa.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/python.go | 19 |
1 files changed, 13 insertions, 6 deletions
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}, ) } |
