From 958514cd2068b9eac981bc425f8f1f0f55ffad1a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 10 Oct 2026 16:24:09 +0000 Subject: [PATCH] chore(deps): update numpy requirement from <2 to <3 Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.20.0...v2.2.6) --- updated-dependencies: - dependency-name: numpy dependency-version: 2.2.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4f05fe8dc..4a59e80d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,14 +61,14 @@ structured = ["pydantic>=2.0.0"] # `.numpy()`. This package declares `torch>=2.0.0`, so the extra must not force a NumPy the # declared floor cannot use. # -# It is scoped by marker rather than written as a blanket `numpy<2`, because a hard upper cap +# It is scoped by marker rather than written as a blanket `numpy<3`, because a hard upper cap # binds every `laya[onnx]` install -- including the many on a current torch -- and makes the # extra unresolvable next to anything else requiring `numpy>=2`. The marker names the stack this # actually affects: the macOS/Intel checkout (#948), where torch tops out at 2.2.2 and NumPy 1.26 # satisfies onnx, onnxruntime and onnxscript. Every other platform resolves what `onnx` wants, # so none of those three is quietly pinned to NumPy 1.x on its behalf. onnx = ["onnx", "onnxruntime", "onnxscript", - "numpy<2; platform_system == 'Darwin' and platform_machine == 'x86_64'"] + "numpy<3; platform_system == 'Darwin' and platform_machine == 'x86_64'"] # `pip install laya[langchain]` adds the LangChain / LangGraph integrations (laya.integrations). langchain = [