infra: py3.11 for community integration test compiling (#24834)

e.g.
https://github.com/langchain-ai/langchain/actions/runs/10167754785/job/28120861343?pr=24833
This commit is contained in:
Erick Friis 2024-07-30 11:43:10 -07:00 committed by GitHub
parent 88418af3f5
commit 957b05b8d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,6 +100,10 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
# even in uv
max_python = "3.11"
if dir_ == "libs/community" and job == "compile-integration-tests":
# community integration deps are slow in 3.12
max_python = "3.11"
return [
{"working-directory": dir_, "python-version": min_python},
{"working-directory": dir_, "python-version": max_python},