From 319f3d5fbc77d75369178f4f109e7dc411557f50 Mon Sep 17 00:00:00 2001 From: Zhitao Chen Date: Thu, 29 May 2025 17:19:36 +0800 Subject: [PATCH 1/3] allow numpy >= 2.0 numpy 1 not support python >= 3.13 and from [link](https://github.com/microsoft/onnxruntime/issues/21063#issuecomment-2389415124) onnxruntime>=1.19.0 (released August 2024) is compatible with numpy>=2.0.0. and we have already pin onnxruntime to 1.19. So I think we can unpin numpy now --- libs/infinity_emb/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/infinity_emb/pyproject.toml b/libs/infinity_emb/pyproject.toml index 590b3a1f4..5f1efaa52 100644 --- a/libs/infinity_emb/pyproject.toml +++ b/libs/infinity_emb/pyproject.toml @@ -13,8 +13,8 @@ keywords = ["vector", "embedding", "neural", "search", "sentence-transformers"] [tool.poetry.dependencies] python = ">=3.9,<4" -# basics, pin numpy <2 for onnx -numpy = ">=1.20.0,<2" +# basics +numpy = ">=1.20.0" huggingface_hub="*" # logging rich = {version = "^13", optional=true} From bdc79f98ce6d503390bd823347496285a7689b6e Mon Sep 17 00:00:00 2001 From: Zhitao Chen Date: Fri, 30 May 2025 13:39:27 +0800 Subject: [PATCH 2/3] add python 3.13 test --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1ebb027eb..ea1dcc76f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,6 +35,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" coverage_tests: ["unit_test", "end_to_end"] exclude: # Exclude unit tests on macOS due to compatibility issues From d91adb0d965f5a5166f5382c88a0a06003ae189e Mon Sep 17 00:00:00 2001 From: wirthual Date: Sat, 21 Jun 2025 21:28:19 -0700 Subject: [PATCH 3/3] Update test.yaml --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8288e1fb6..af12df59e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -32,7 +32,6 @@ jobs: os: [ubuntu-latest, windows-latest] # macos-latest python-version: - "3.12" - - "3.13" coverage_tests: ["unit_test", "end_to_end"] runs-on: ${{ matrix.os }} @@ -104,6 +103,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.13" coverage_tests: ["unit_test", "end_to_end"] runs-on: ${{ matrix.os }}