From 35da4645915f1da5207b145642332a39264036fb Mon Sep 17 00:00:00 2001 From: Will Jones Date: Mon, 13 Jan 2025 17:01:54 -0800 Subject: [PATCH] ci: fix stable check (#2019) --- ci/validate_stable_lance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/validate_stable_lance.py b/ci/validate_stable_lance.py index c7e160f5..4edd4c52 100644 --- a/ci/validate_stable_lance.py +++ b/ci/validate_stable_lance.py @@ -12,7 +12,7 @@ with open("Cargo.toml", "rb") as f: elif isinstance(dep, dict): # Version doesn't have the beta tag in it, so we instead look # at the git tag. - version = dep["tag"] + version = dep.get('tag', dep.get('version')) else: raise ValueError("Unexpected type for dependency: " + str(dep))