Skip to content

Commit

Permalink
CI: Adapt to Python 3.11 with rhel configs
Browse files Browse the repository at this point in the history
Default Python version on rhel 8.x was updated to 3.11.

Pick-to: 6.6
Change-Id: Iad60544ee81a2805f7e5ce2b4c9f44df9cf9fdf7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
  • Loading branch information
faltsi committed Nov 24, 2023
1 parent bf18e16 commit 3a058af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coin/instructions/common_environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ instructions:
equals_value: Linux
- type: EnvironmentVariable
variableName: interpreter
variableValue: "python3.8"
variableValue: "python3.11"
enable_if:
condition: property
property: host.osVersion
Expand Down
2 changes: 1 addition & 1 deletion coin_build_instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def call_setup(python_ver, phase):
del os.environ[env_var]
python_ver = "3"
if CI_TARGET_OS in ["Linux"] and CI_HOST_ARCH !="aarch64":
python_ver = "3.8"
python_ver = "3.11"
wheel_package_dir = "qfpa-p3.6"
if CI_TARGET_OS in ["Windows"]:
if (os.environ.get('HOST_OSVERSION_COIN')).startswith('windows_10'):
Expand Down
2 changes: 1 addition & 1 deletion coin_test_instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def run_test_instructions():
else:
call_testrunner("3.8.1", str(testRun))
elif CI_HOST_OS == "Linux":
call_testrunner("3.8", str(testRun))
call_testrunner("3.11", str(testRun))
else:
call_testrunner("3", str(testRun))

Expand Down

0 comments on commit 3a058af

Please sign in to comment.