Commit 03029484 authored by Jérome Perrin's avatar Jérome Perrin

software/slapos-sr-testing: also disable python3.(minor)

Some configure scripts, such as cmake's FindPython3, use explicit
python version such as python3.9 and can find system python, although
using python3 would be catched by the disabled python. With this change
we also catch attempt of using python3.9

We also print the executed command, it helps guessing what executed
python
parent ebb3655d
Pipeline #30649 failed with stage
......@@ -284,14 +284,34 @@ entry-points =
python2=${:eggs}:ignored
python2.7=${:eggs}:ignored
python3=${:eggs}:ignored
python3.5=${:eggs}:ignored
python3.6=${:eggs}:ignored
python3.7=${:eggs}:ignored
python3.8=${:eggs}:ignored
python3.9=${:eggs}:ignored
python3.10=${:eggs}:ignored
python3.11=${:eggs}:ignored
python3.12=${:eggs}:ignored
python3.13=${:eggs}:ignored
python3.14=${:eggs}:ignored
scripts =
python
python2
python2.7
python3
python3.5
python3.6
python3.7
python3.8
python3.9
python3.10
python3.11
python3.12
python3.13
python3.14
initialization =
import sys
print("Error: attempt to use system python", file=sys.stderr)
print("Error: attempt to use system python. Executed with: %s" % sys.argv, file=sys.stderr)
sys.exit(2)
[recurls-repository]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment