From e7e4722012dd43ceaba9623d775df7df72f9b2ae Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 7 Aug 2022 18:22:25 -0400 Subject: [PATCH] Fix for inclusion of setuptools in the lock and install phase + other BAD_PACKAGES. --- pipenv/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/core.py b/pipenv/core.py index 7583e396..26ad7c84 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -730,7 +730,7 @@ def batch_install( deps_to_install = deps_list[:] deps_to_install.extend(sequential_deps) deps_to_install = [ - dep for dep in deps_to_install if not project.environment.is_satisfied(dep) + dep for dep in deps_to_install if not project.environment.is_satisfied(dep) and dep.name not in BAD_PACKAGES ] sequential_dep_names = [d.name for d in sequential_deps]