infra: test core on py 3.9, 10, 11 (#24951)

This commit is contained in:
Bagatur 2024-08-01 18:23:37 -07:00 committed by GitHub
parent 4092876863
commit fba65ba04f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
import glob
import json
import os
import re
import sys
import tomllib
from collections import defaultdict
@ -86,6 +85,11 @@ def add_dependents(dirs_to_eval: Set[str], dependents: dict) -> List[str]:
def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
if dir_ == "libs/core":
return [
{"working-directory": dir_, "python-version": f"3.{v}"}
for v in range(8, 13)
]
min_python = "3.8"
max_python = "3.12"