fix: skip valkey-glide on Windows (#2333)

Skip the unsupported valkey-glide dependency on Windows while preserving automatic installation on supported platforms. Keep missing-client runtime and test paths safe, and update the Valkey integration documentation.
This commit is contained in:
RockChinQ
2026-07-13 00:22:12 +08:00
committed by GitHub
parent 2a3f7f8059
commit 3ddebd26ae
6 changed files with 21 additions and 14 deletions
@@ -77,11 +77,12 @@ async def backend(valkey_config):
ValkeySearchVectorDatabase,
VALKEY_SEARCH_AVAILABLE,
)
from glide import ft
if not VALKEY_SEARCH_AVAILABLE:
pytest.skip('valkey-glide not installed')
from glide import ft
ap = _make_ap(valkey_config)
db = ValkeySearchVectorDatabase(ap)
client = await db._ensure_client()