Skip to content

Commit 9b89888

Browse files
authored
Fastembed 0.5.0 (#870)
* new: update fastembed to 0.5.0, update numpy version mapping, bump qdrant-client to v1.12.2 * new: update qdrant version in integration tests * update lock * drop python3.8 * fix numpy for type checkers * fix netlify * fix netlify
1 parent 931b285 commit 9b89888

File tree

7 files changed

+1062
-1086
lines changed

7 files changed

+1062
-1086
lines changed

.github/workflows/integration-tests-macos.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
python-version:
16-
- '3.8.x'
1716
- '3.9.x'
1817
- '3.10.x'
1918
- '3.11.x'

.github/workflows/integration-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17-
- '3.8.x'
1817
- '3.9.x'
1918
- '3.10.x'
2019
- '3.11.x'

.github/workflows/type-checkers.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
11+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1212
os: [ubuntu-latest]
1313

1414
name: Python ${{ matrix.python-version }} test
@@ -25,6 +25,7 @@ jobs:
2525
run: |
2626
python -m pip install --upgrade pip poetry
2727
poetry install
28+
poetry run pip install "numpy<2.0.0" # https://github.com/python/mypy/issues/17396
2829
2930
- name: mypy
3031
run: |

netlify.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[build]
22
publish = "docs/html"
33
command = "bash -x tools/generate_docs_netlify.sh"
4+
5+
[build.environment]
6+
PYTHON_VERSION = "3.10"

poetry.lock

Lines changed: 1047 additions & 1074 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "qdrant-client"
3-
version = "1.12.1"
3+
version = "1.12.2"
44
description = "Client library for the Qdrant vector search engine"
55
authors = ["Andrey Vasnetsov <[email protected]>"]
66
packages = [
@@ -13,23 +13,24 @@ repository = "https://github.com/qdrant/qdrant-client"
1313
keywords = ["vector", "search", "neural", "matching", "client"]
1414

1515
[tool.poetry.dependencies]
16-
python = ">=3.8"
16+
python = ">=3.9"
1717
httpx = { version = ">=0.20.0", extras = ["http2"] }
1818
numpy = [
19-
{ version = "<1.21", python = "<3.8" },
20-
{ version = ">=1.21", python = ">=3.8,<3.12" },
21-
{ version = ">=1.26", python = ">=3.12" }
19+
{ version = ">=1.21,<2.1.0", python = "<3.10" },
20+
{ version = ">=1.21", python = ">=3.10,<3.12" },
21+
{ version = ">=1.26", python = ">=3.12,<3.13" },
22+
{ version = ">=2.1.0", python = ">=3.13" }
2223
]
2324
pydantic = ">=1.10.8"
2425
grpcio = { version = ">=1.41.0", allow-prereleases = true }
2526
grpcio-tools = ">=1.41.0"
2627
urllib3 = ">=1.26.14,<3"
2728
portalocker = "^2.7.0"
2829
fastembed = [
29-
{ version = "0.3.6", optional = true, python = "<3.13" }
30+
{ version = "0.5.0", optional = true },
3031
]
3132
fastembed-gpu = [
32-
{ version = "0.3.6", optional = true, python = "<3.13" }
33+
{ version = "0.5.0", optional = true },
3334
]
3435

3536
[tool.poetry.group.dev.dependencies]
@@ -47,7 +48,7 @@ ruff = "0.4.3"
4748

4849

4950
[tool.poetry.group.docs.dependencies]
50-
sphinx = "^4.5.0"
51+
sphinx = "^5.0.0"
5152
qdrant-sphinx-theme = { git = "https://github.com/qdrant/qdrant_sphinx_theme.git", branch = "master" }
5253
nbsphinx = "^0.9.3"
5354
ipython = "8"

tests/integration-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function stop_docker()
1111
# Ensure current path is project root
1212
cd "$(dirname "$0")/../"
1313

14-
QDRANT_LATEST="v1.12.1"
14+
QDRANT_LATEST="v1.12.5"
1515
QDRANT_VERSION=${QDRANT_VERSION:-"$QDRANT_LATEST"}
1616
IGNORE_CONGRUENCE_TESTS=${IGNORE_CONGRUENCE_TESTS:-"false"}
1717
REST_PORT="6333"

0 commit comments

Comments
 (0)