From e8fce8aa20f9abd00b462445f1144a0695344dea Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Wed, 19 Jun 2024 19:21:10 -0400 Subject: [PATCH] Temporary fix for Mypy and latest packaging --- backend/src/hatchling/dep/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/hatchling/dep/core.py b/backend/src/hatchling/dep/core.py index c0703a519..73c643e42 100644 --- a/backend/src/hatchling/dep/core.py +++ b/backend/src/hatchling/dep/core.py @@ -126,7 +126,7 @@ def dependencies_in_sync( if sys_path is None: sys_path = sys.path if environment is None: - environment = default_environment() + environment = default_environment() # type: ignore installed_distributions = DistributionCache(sys_path) - return all(dependency_in_sync(requirement, environment, installed_distributions) for requirement in requirements) + return all(dependency_in_sync(requirement, environment, installed_distributions) for requirement in requirements) # type: ignore