CI: Fix all_supplementing_pythons wrt. freethreading Pythons
[skip changelog]
This commit is contained in:
parent
bfcb4db415
commit
de396d650b
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue