mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-05 03:02:35 +00:00
infra: test core on py 3.9, 10, 11 (#24951)
This commit is contained in:
parent
4092876863
commit
fba65ba04f
6
.github/scripts/check_diff.py
vendored
6
.github/scripts/check_diff.py
vendored
@ -1,7 +1,6 @@
|
|||||||
import glob
|
import glob
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import sys
|
import sys
|
||||||
import tomllib
|
import tomllib
|
||||||
from collections import defaultdict
|
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]]:
|
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"
|
min_python = "3.8"
|
||||||
max_python = "3.12"
|
max_python = "3.12"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user