[py-pip] fix setup_dependent_package in py-pip (#32632)

This commit is contained in:
Matthieu Dorier 2022-09-15 06:41:34 +01:00 committed by GitHub
parent dde5867d15
commit eaf3f7c17c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ def install(self, spec, prefix):
python(*args)
def setup_dependent_package(self, module, dependent_spec):
pip = self.spec["python"].command
pip = dependent_spec["python"].command
pip.add_default_arg("-m")
pip.add_default_arg("pip")
setattr(module, "pip", pip)