diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 4b404e1a..0c1c52c4 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -18,6 +18,7 @@ jobs: - '3.10.x' - '3.11.x' - '3.12.x' + - '3.13.x' os: - ubuntu-latest - macos-latest diff --git a/pyproject.toml b/pyproject.toml index 39ecf6c6..84a0520a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,18 +11,24 @@ repository = "https://github.com/qdrant/fastembed" keywords = ["vector", "embedding", "neural", "search", "qdrant", "sentence-transformers"] [tool.poetry.dependencies] -python = ">=3.9.0,<3.13" -onnx = "^1.15.0" -onnxruntime = ">=1.17.0,<1.20.0" +python = ">=3.9.0" +onnx = ">=1.15.0" +numpy = [ + { version = ">=1.21,<2.1.0", python = "<3.10" }, + { version = ">=1.21", python = ">=3.10,<3.12" }, + { version = ">=1.26", python = ">=3.12,<3.13" }, + { version = ">=2.1.0", python = ">=3.13" } +] +onnxruntime = [ + { version = ">=1.17.0,<1.20.0", python = "<3.10" }, + { version = ">=1.17.0,!=1.20.0", python = ">=3.10,<3.13" }, + { version = ">1.20.0", python = ">=3.13" } +] tqdm = "^4.66" requests = "^2.31" tokenizers = ">=0.15,<1.0" huggingface-hub = ">=0.20,<1.0" loguru = "^0.7.2" -numpy = [ - { version = ">=1.21", python = "<3.12" }, - { version = ">=1.26", python = ">=3.12" } -] pillow = "^10.3.0" mmh3 = "^4.1.0" py-rust-stemmers = "^0.1.0"