fix: skip valkey-glide on Windows

This commit is contained in:
Hyu
2026-07-13 00:11:34 +08:00
parent 2a3f7f8059
commit 578565dbe2
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()