From dcc4d7bd947e841acbadf17b09aa3a66311409f4 Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 11 Mar 2024 20:57:34 -0400 Subject: [PATCH] Remove an assertion If workspaces are in use, the assertion is not necessarily true. Signed-off-by: mulhern --- dependency_management/_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/dependency_management/_utils.py b/dependency_management/_utils.py index 7a70555..1bb1014 100755 --- a/dependency_management/_utils.py +++ b/dependency_management/_utils.py @@ -177,7 +177,6 @@ def build_cargo_metadata(manifest_path, *, skip_path=False): metadata = json.loads(metadata_str) packages = metadata["packages"] - assert len(packages) == 1 package = packages[0] dependencies = package["dependencies"]