Skip to content

Commit 516170c

Browse files
authored
new: add python 3.13 support (#404)
1 parent 0f79d3f commit 516170c

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/python-tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- '3.10.x'
1919
- '3.11.x'
2020
- '3.12.x'
21+
- '3.13.x'
2122
os:
2223
- ubuntu-latest
2324
- macos-latest

pyproject.toml

+13-7
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,24 @@ repository = "https://github.com/qdrant/fastembed"
1111
keywords = ["vector", "embedding", "neural", "search", "qdrant", "sentence-transformers"]
1212

1313
[tool.poetry.dependencies]
14-
python = ">=3.9.0,<3.13"
15-
onnx = "^1.15.0"
16-
onnxruntime = ">=1.17.0,<1.20.0"
14+
python = ">=3.9.0"
15+
onnx = ">=1.15.0"
16+
numpy = [
17+
{ version = ">=1.21,<2.1.0", python = "<3.10" },
18+
{ version = ">=1.21", python = ">=3.10,<3.12" },
19+
{ version = ">=1.26", python = ">=3.12,<3.13" },
20+
{ version = ">=2.1.0", python = ">=3.13" }
21+
]
22+
onnxruntime = [
23+
{ version = ">=1.17.0,<1.20.0", python = "<3.10" },
24+
{ version = ">=1.17.0,!=1.20.0", python = ">=3.10,<3.13" },
25+
{ version = ">1.20.0", python = ">=3.13" }
26+
]
1727
tqdm = "^4.66"
1828
requests = "^2.31"
1929
tokenizers = ">=0.15,<1.0"
2030
huggingface-hub = ">=0.20,<1.0"
2131
loguru = "^0.7.2"
22-
numpy = [
23-
{ version = ">=1.21", python = "<3.12" },
24-
{ version = ">=1.26", python = ">=3.12" }
25-
]
2632
pillow = "^10.3.0"
2733
mmh3 = "^4.1.0"
2834
py-rust-stemmers = "^0.1.0"

0 commit comments

Comments
 (0)