forked from qdrant/qdrant-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (70 loc) · 2.16 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[tool.poetry]
name = "qdrant-client"
version = "1.10.0"
description = "Client library for the Qdrant vector search engine"
authors = ["Andrey Vasnetsov <[email protected]>"]
packages = [
{include = "qdrant_client"},
{include = "qdrant_openapi_client"}
]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/qdrant/qdrant-client"
repository = "https://github.com/qdrant/qdrant-client"
keywords = ["vector", "search", "neural", "matching", "client"]
[tool.poetry.dependencies]
python = ">=3.8"
httpx = { version = ">=0.20.0", extras = ["http2"] }
numpy = [
{ version = "<1.21", python = "<3.8" },
{ version = ">=1.21", python = ">=3.8,<3.12" },
{ version = ">=1.26", python = ">=3.12" }
]
pydantic = ">=1.10.8"
grpcio = { version = ">=1.41.0", allow-prereleases = true }
grpcio-tools = ">=1.41.0"
urllib3 = ">=1.26.14,<3"
portalocker = "^2.7.0"
fastembed = [
{ version = "0.2.7", optional = true, python = "<3.13" }
]
fastembed-gpu = [
{ version = "0.2.7", optional = true, python = "<3.13" }
]
[tool.poetry.group.dev.dependencies]
pytest = "^7.1"
grpcio-tools = [
# the proper version to use for generating grpc client is python 3.10.10
{ version = "1.48.2", python = "3.10" },
{ version = "^1.46" }
]
coverage = "^6.3.3"
pytest-asyncio = "^0.21.0"
pytest-timeout = "^2.1.0"
autoflake = "^2.2.1"
ruff = "0.4.3"
[tool.poetry.group.docs.dependencies]
sphinx = "^4.5.0"
qdrant-sphinx-theme = { git = "https://github.com/qdrant/qdrant_sphinx_theme.git", branch = "master" }
nbsphinx = "^0.9.3"
ipython = "8"
Pygments= "2.16.1"
[tool.poetry.group.types.dependencies]
pyright = "^1.1.293"
mypy = "^1.0.0"
types-protobuf = "^4.21.0.5"
[tool.poetry.extras]
fastembed = ["fastembed"]
fastembed-gpu = ["fastembed-gpu"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
typeCheckingMode = "strict"
[tool.pytest.ini_options]
markers = [
"fastembed: marks tests that require the fastembed package (deselect with '-m \"not fastembed\"')",
"no_fastembed: marks tests that do not require the fastembed package (deselect with '-m \"not no_fastembed\"')"
]
[tool.isort]
known_third_party = "grpc"