From eea9d4abefc2da5950ae24ca912d4c35003097bb Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 25 May 2026 17:20:43 +0200 Subject: [PATCH] weaviate-client: 4.20.5 -> 4.21.0 --- .../python-modules/weaviate-client/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/weaviate-client/default.nix b/pkgs/development/python-modules/weaviate-client/default.nix index a053f091a3a3..0588073bf039 100644 --- a/pkgs/development/python-modules/weaviate-client/default.nix +++ b/pkgs/development/python-modules/weaviate-client/default.nix @@ -18,6 +18,7 @@ pydantic, pytest-asyncio, pytest-httpserver, + pytest-xdist, pytestCheckHook, pythonOlder, requests, @@ -29,7 +30,7 @@ buildPythonPackage rec { pname = "weaviate-client"; - version = "4.20.5"; + version = "4.21.0"; pyproject = true; disabled = pythonOlder "3.12"; @@ -38,7 +39,7 @@ buildPythonPackage rec { owner = "weaviate"; repo = "weaviate-python-client"; tag = "v${version}"; - hash = "sha256-3CJLD/bew9qx2aDrIwcaMlgwCe8E4bj3ZDh5t0v8Pf8="; + hash = "sha256-nGYslKyIQWAwhu5Fa23jXtgBN9q4jjrmBhWv4EO3Vn8="; }; pythonRelaxDeps = [ @@ -71,8 +72,9 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytest-httpserver pytest-asyncio + pytest-httpserver + pytest-xdist pytestCheckHook writableTmpDirAsHomeHook ]; @@ -99,9 +101,10 @@ buildPythonPackage rec { enabledTestPaths = [ "test" - ] - ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ - "mock_tests" # mock gRPC/HTTP servers fail to bind ports in the Darwin sandbox + ]; + + disabledTestPaths = [ + "mock_tests" # mock gRPC/HTTP servers fail to bind ports ]; __darwinAllowLocalNetworking = true;