From e9bb6879e29d67b3999de4119c65b63c5e22b67b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 2 Jul 2024 14:41:43 -0400 Subject: [PATCH] Specify environment-conditional transitive deps. Workaround for pypa/pip#12770. --- tools/vendored.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/vendored.py b/tools/vendored.py index 29457720b6..63d8c577cf 100644 --- a/tools/vendored.py +++ b/tools/vendored.py @@ -219,6 +219,11 @@ def install_deps(deps, vendor): """ Install the deps to vendor. """ + # workaround for https://github.com/pypa/pip/issues/12770 + deps += [ + 'zipp >= 3.7', + 'backports.tarfile', + ] install_args = [ sys.executable, '-m',