mirror of
https://github.com/hwchase17/langchain.git
synced 2025-12-26 09:24:28 +00:00
fix(core): support for Python 3.14 (#33461)
* Fix detection of support of context in `asyncio.create_task` * Fix: in Python 3.14 `asyncio.get_event_loop()` raises an exception if there's no running loop * Bump pydantic to version 2.12 * Skips tests with pydantic v1 models as they are not supported with Python 3.14 * Run core tests with Python 3.14 in CI. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev> Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1d2273597a
commit
2d5efd7b29
2
.github/scripts/check_diff.py
vendored
2
.github/scripts/check_diff.py
vendored
@@ -132,7 +132,7 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
|
||||
if job == "codspeed":
|
||||
py_versions = ["3.12"] # 3.13 is not yet supported
|
||||
elif dir_ == "libs/core":
|
||||
py_versions = ["3.10", "3.11", "3.12", "3.13"]
|
||||
py_versions = ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
||||
# custom logic for specific directories
|
||||
|
||||
elif dir_ == "libs/langchain" and job == "extended-tests":
|
||||
|
||||
Reference in New Issue
Block a user