From b1834f34e738790b9df5696c06e558dffdf165e4 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 3 Jul 2023 03:13:50 +0300 Subject: [PATCH] deps: limit flufl-lock to <8 (#9681) Looks like flufl-lock switched to pdm in 8.0 which triggered a ``` pkg_resources.DistributionNotFound: The 'flufl.lock>=5' distribution was not found and is required by dvc ``` error in multiple scenarious. Can't put my finger on anything specific in flufl-lock yet, so will just limit its version for now. Fixes https://github.com/iterative/dvc/issues/9654 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9c94eb835..2163e1f4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,8 @@ dependencies = [ "dvc-studio-client>=0.9.2,<1", "dvc-task>=0.3.0,<1", "flatten_dict<1,>=0.4.1", - "flufl.lock>=5", + # https://github.com/iterative/dvc/issues/9654 + "flufl.lock>=5,<8", "funcy>=1.14", "grandalf<1,>=0.7", "hydra-core>=1.1",