INSTALL_OR_SKIP: Support python3.X-freethreading-devel installation
It assumed python3.Xt-devel package name and that is not correct, this way, we go for files and we don't care what package they are in. All our Pythons have the -config file, but not PyPys, so we keep that installation optional (unchecked) and we keep the original -devel installation as well.
This commit is contained in:
parent
5a345b59d6
commit
018063867c
2 changed files with 4 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ cd "$workdir"
|
|||
|
||||
if [ "$INSTALL_OR_SKIP" == "true" ]; then
|
||||
[ ! -f "/usr/bin/$PYTHON" ] && dnf -y install "/usr/bin/$PYTHON" || :
|
||||
[ ! -f "/usr/bin/${PYTHON}-config" ] && dnf -y install "/usr/bin/${PYTHON}-config" || :
|
||||
dnf -y install "$PYTHON-devel" || :
|
||||
if [ ! -f "/usr/bin/$PYTHON" ]; then
|
||||
echo "/usr/bin/$PYTHON not installable, skipping this test"
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@
|
|||
- smoke312:
|
||||
dir: smoke
|
||||
run: runuser testuser -c 'VERSION=3.12 METHOD=venv ./venv.sh'
|
||||
- smoke314t_optional:
|
||||
dir: smoke
|
||||
run: VERSION=3.14t METHOD=venv INSTALL_OR_SKIP=true ./venv.sh
|
||||
- smoke39_seeder_pip:
|
||||
dir: smoke
|
||||
run: runuser testuser -c 'VERSION=3.9 METHOD=virtualenv-seeder-pip ./venv.sh'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue