Skip to content

Commit

Permalink
Fastembed 0.5.0 (#870)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
joein authored Dec 27, 2024
1 parent 931b285 commit 9b89888
Show file tree
Hide file tree
Showing 7 changed files with 1,062 additions and 1,086 deletions.
1 change: 0 additions & 1 deletion .github/workflows/integration-tests-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.8.x'
- '3.9.x'
- '3.10.x'
- '3.11.x'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.8.x'
- '3.9.x'
- '3.10.x'
- '3.11.x'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/type-checkers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]

name: Python ${{ matrix.python-version }} test
Expand All @@ -25,6 +25,7 @@ jobs:
run: |
python -m pip install --upgrade pip poetry
poetry install
poetry run pip install "numpy<2.0.0" # https://github.com/python/mypy/issues/17396
- name: mypy
run: |
Expand Down
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[build]
publish = "docs/html"
command = "bash -x tools/generate_docs_netlify.sh"

[build.environment]
PYTHON_VERSION = "3.10"
2,121 changes: 1,047 additions & 1,074 deletions poetry.lock

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "qdrant-client"
version = "1.12.1"
version = "1.12.2"
description = "Client library for the Qdrant vector search engine"
authors = ["Andrey Vasnetsov <[email protected]>"]
packages = [
Expand All @@ -13,23 +13,24 @@ repository = "https://github.com/qdrant/qdrant-client"
keywords = ["vector", "search", "neural", "matching", "client"]

[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
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" }
{ 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" }
]
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.3.6", optional = true, python = "<3.13" }
{ version = "0.5.0", optional = true },
]
fastembed-gpu = [
{ version = "0.3.6", optional = true, python = "<3.13" }
{ version = "0.5.0", optional = true },
]

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


[tool.poetry.group.docs.dependencies]
sphinx = "^4.5.0"
sphinx = "^5.0.0"
qdrant-sphinx-theme = { git = "https://github.com/qdrant/qdrant_sphinx_theme.git", branch = "master" }
nbsphinx = "^0.9.3"
ipython = "8"
Expand Down
2 changes: 1 addition & 1 deletion tests/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function stop_docker()
# Ensure current path is project root
cd "$(dirname "$0")/../"

QDRANT_LATEST="v1.12.1"
QDRANT_LATEST="v1.12.5"
QDRANT_VERSION=${QDRANT_VERSION:-"$QDRANT_LATEST"}
IGNORE_CONGRUENCE_TESTS=${IGNORE_CONGRUENCE_TESTS:-"false"}
REST_PORT="6333"
Expand Down

0 comments on commit 9b89888

Please sign in to comment.