File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ buildvariants:
99 batchtime : 1440
1010 expansions :
1111 VERSION : latest
12+ PYTHON_BINARY : /usr/bin/python3.11
1213 NO_EXT : " 1"
1314 REQUIRE_FIPS : " 1"
1415 tags : []
@@ -21,6 +22,7 @@ buildvariants:
2122 batchtime : 1440
2223 expansions :
2324 VERSION : latest
25+ PYTHON_BINARY : /usr/bin/python3.11
2426 NO_EXT : " 1"
2527 tags : []
2628 - name : other-hosts-rhel8-power8-latest
@@ -32,6 +34,7 @@ buildvariants:
3234 batchtime : 1440
3335 expansions :
3436 VERSION : latest
37+ PYTHON_BINARY : /usr/bin/python3.11
3538 NO_EXT : " 1"
3639 tags : []
3740 - name : other-hosts-rhel8-arm64-latest
@@ -43,6 +46,7 @@ buildvariants:
4346 batchtime : 1440
4447 expansions :
4548 VERSION : latest
49+ PYTHON_BINARY : /usr/bin/python3.11
4650 NO_EXT : " 1"
4751 tags : []
4852 - name : other-hosts-amazon2023-latest
@@ -54,6 +58,7 @@ buildvariants:
5458 batchtime : 1440
5559 expansions :
5660 VERSION : latest
61+ PYTHON_BINARY : /usr/bin/python3.11
5762 NO_EXT : " 1"
5863 tags : [pr]
5964
Original file line number Diff line number Diff line change @@ -470,7 +470,8 @@ def create_alternative_hosts_variants():
470470
471471 version = "latest"
472472 for host_name in OTHER_HOSTS :
473- expansions = dict (VERSION = "latest" )
473+ # Use explicit Python 3.11 binary on the host since the default python3 is 3.9.
474+ expansions = dict (VERSION = "latest" , PYTHON_BINARY = "/usr/bin/python3.11" )
474475 handle_c_ext (C_EXTS [0 ], expansions )
475476 host = HOSTS [host_name ]
476477 tags = []
You can’t perform that action at this time.
0 commit comments