PYTHON-5147 Do not run OCSP on MongoDB 4.2 (#2153)

This commit is contained in:
Steven Silvester 2025-02-20 10:54:20 -06:00 committed by GitHub
parent 691ab8e783
commit b56605cc1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 35 deletions

View File

@ -817,23 +817,10 @@ buildvariants:
PYTHON_BINARY: /opt/python/3.13/bin/python3
# Ocsp tests
- name: ocsp-rhel8-v4.2-python3.9
- name: ocsp-rhel8-v4.4-python3.9
tasks:
- name: .ocsp
display_name: OCSP RHEL8 v4.2 Python3.9
run_on:
- rhel87-small
batchtime: 20160
expansions:
AUTH: noauth
SSL: ssl
TOPOLOGY: server
VERSION: "4.2"
PYTHON_BINARY: /opt/python/3.9/bin/python3
- name: ocsp-rhel8-v4.4-python3.10
tasks:
- name: .ocsp
display_name: OCSP RHEL8 v4.4 Python3.10
display_name: OCSP RHEL8 v4.4 Python3.9
run_on:
- rhel87-small
batchtime: 20160
@ -842,11 +829,11 @@ buildvariants:
SSL: ssl
TOPOLOGY: server
VERSION: "4.4"
PYTHON_BINARY: /opt/python/3.10/bin/python3
- name: ocsp-rhel8-v5.0-python3.11
PYTHON_BINARY: /opt/python/3.9/bin/python3
- name: ocsp-rhel8-v5.0-python3.10
tasks:
- name: .ocsp
display_name: OCSP RHEL8 v5.0 Python3.11
display_name: OCSP RHEL8 v5.0 Python3.10
run_on:
- rhel87-small
batchtime: 20160
@ -855,11 +842,11 @@ buildvariants:
SSL: ssl
TOPOLOGY: server
VERSION: "5.0"
PYTHON_BINARY: /opt/python/3.11/bin/python3
- name: ocsp-rhel8-v6.0-python3.12
PYTHON_BINARY: /opt/python/3.10/bin/python3
- name: ocsp-rhel8-v6.0-python3.11
tasks:
- name: .ocsp
display_name: OCSP RHEL8 v6.0 Python3.12
display_name: OCSP RHEL8 v6.0 Python3.11
run_on:
- rhel87-small
batchtime: 20160
@ -868,11 +855,11 @@ buildvariants:
SSL: ssl
TOPOLOGY: server
VERSION: "6.0"
PYTHON_BINARY: /opt/python/3.12/bin/python3
- name: ocsp-rhel8-v7.0-python3.13
PYTHON_BINARY: /opt/python/3.11/bin/python3
- name: ocsp-rhel8-v7.0-python3.12
tasks:
- name: .ocsp
display_name: OCSP RHEL8 v7.0 Python3.13
display_name: OCSP RHEL8 v7.0 Python3.12
run_on:
- rhel87-small
batchtime: 20160
@ -881,11 +868,11 @@ buildvariants:
SSL: ssl
TOPOLOGY: server
VERSION: "7.0"
PYTHON_BINARY: /opt/python/3.13/bin/python3
- name: ocsp-rhel8-v8.0-pypy3.10
PYTHON_BINARY: /opt/python/3.12/bin/python3
- name: ocsp-rhel8-v8.0-python3.13
tasks:
- name: .ocsp
display_name: OCSP RHEL8 v8.0 PyPy3.10
display_name: OCSP RHEL8 v8.0 Python3.13
run_on:
- rhel87-small
batchtime: 20160
@ -894,11 +881,11 @@ buildvariants:
SSL: ssl
TOPOLOGY: server
VERSION: "8.0"
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
- name: ocsp-rhel8-rapid-python3.9
PYTHON_BINARY: /opt/python/3.13/bin/python3
- name: ocsp-rhel8-rapid-pypy3.10
tasks:
- name: .ocsp
display_name: OCSP RHEL8 rapid Python3.9
display_name: OCSP RHEL8 rapid PyPy3.10
run_on:
- rhel87-small
batchtime: 20160
@ -907,11 +894,11 @@ buildvariants:
SSL: ssl
TOPOLOGY: server
VERSION: rapid
PYTHON_BINARY: /opt/python/3.9/bin/python3
- name: ocsp-rhel8-latest-python3.10
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
- name: ocsp-rhel8-latest-python3.9
tasks:
- name: .ocsp
display_name: OCSP RHEL8 latest Python3.10
display_name: OCSP RHEL8 latest Python3.9
run_on:
- rhel87-small
batchtime: 20160
@ -920,7 +907,7 @@ buildvariants:
SSL: ssl
TOPOLOGY: server
VERSION: latest
PYTHON_BINARY: /opt/python/3.10/bin/python3
PYTHON_BINARY: /opt/python/3.9/bin/python3
- name: ocsp-win64-v4.4-python3.9
tasks:
- name: .ocsp-rsa !.ocsp-staple

View File

@ -239,7 +239,7 @@ def create_ocsp_variants() -> list[BuildVariant]:
base_display = "OCSP"
# OCSP tests on default host with all servers v4.4+ and all python versions.
versions = [v for v in ALL_VERSIONS if v != "4.0"]
versions = get_versions_from("4.4")
for version, python in zip_cycle(versions, ALL_PYTHONS):
host = DEFAULT_HOST
variant = create_variant(