CI: Fix all_supplementing_pythons wrt. freethreading Pythons
[skip changelog]
This commit is contained in:
@@ -66,10 +66,13 @@ for nvra in supplementing_pkgs:
|
||||
|
||||
|
||||
# We use this hack to treat -devel and -libs packages as if they were not such
|
||||
# We also convert the freethreading packages to the exectuable name
|
||||
def normalize_name(pkgname):
|
||||
for suffix in '-devel', '-libs':
|
||||
if pkgname.endswith(suffix):
|
||||
return pkgname.removesuffix(suffix)
|
||||
pkgname = pkgname.removesuffix(suffix)
|
||||
if pkgname.endswith('-freethreading'):
|
||||
pkgname = pkgname.removesuffix('-freethreading') + 't'
|
||||
return pkgname
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user