PYTHON-5588 Fix python binary used in FIPS tests (#2581)
This commit is contained in:
parent
84772bd8a9
commit
491f5ba77f
@ -9,6 +9,7 @@ buildvariants:
|
||||
batchtime: 1440
|
||||
expansions:
|
||||
VERSION: latest
|
||||
PYTHON_BINARY: /usr/bin/python3.11
|
||||
NO_EXT: "1"
|
||||
REQUIRE_FIPS: "1"
|
||||
tags: []
|
||||
@ -21,6 +22,7 @@ buildvariants:
|
||||
batchtime: 1440
|
||||
expansions:
|
||||
VERSION: latest
|
||||
PYTHON_BINARY: /usr/bin/python3.11
|
||||
NO_EXT: "1"
|
||||
tags: []
|
||||
- name: other-hosts-rhel8-power8-latest
|
||||
@ -32,6 +34,7 @@ buildvariants:
|
||||
batchtime: 1440
|
||||
expansions:
|
||||
VERSION: latest
|
||||
PYTHON_BINARY: /usr/bin/python3.11
|
||||
NO_EXT: "1"
|
||||
tags: []
|
||||
- name: other-hosts-rhel8-arm64-latest
|
||||
@ -43,6 +46,7 @@ buildvariants:
|
||||
batchtime: 1440
|
||||
expansions:
|
||||
VERSION: latest
|
||||
PYTHON_BINARY: /usr/bin/python3.11
|
||||
NO_EXT: "1"
|
||||
tags: []
|
||||
- name: other-hosts-amazon2023-latest
|
||||
@ -54,6 +58,7 @@ buildvariants:
|
||||
batchtime: 1440
|
||||
expansions:
|
||||
VERSION: latest
|
||||
PYTHON_BINARY: /usr/bin/python3.11
|
||||
NO_EXT: "1"
|
||||
tags: [pr]
|
||||
|
||||
|
||||
@ -470,7 +470,8 @@ def create_alternative_hosts_variants():
|
||||
|
||||
version = "latest"
|
||||
for host_name in OTHER_HOSTS:
|
||||
expansions = dict(VERSION="latest")
|
||||
# Use explicit Python 3.11 binary on the host since the default python3 is 3.9.
|
||||
expansions = dict(VERSION="latest", PYTHON_BINARY="/usr/bin/python3.11")
|
||||
handle_c_ext(C_EXTS[0], expansions)
|
||||
host = HOSTS[host_name]
|
||||
tags = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user