Commit 0a5e4b5f by David Hotham Committed by Bjorn Neergaard

allow use of not-embedded pip

parent 81c7d00c
...@@ -1427,7 +1427,7 @@ class Env: ...@@ -1427,7 +1427,7 @@ class Env:
return self._run(cmd, **kwargs) return self._run(cmd, **kwargs)
def run_pip(self, *args: str, **kwargs: Any) -> int | str: def run_pip(self, *args: str, **kwargs: Any) -> int | str:
pip = self.get_pip_command(embedded=True) pip = self.get_pip_command()
cmd = pip + list(args) cmd = pip + list(args)
return self._run(cmd, **kwargs) return self._run(cmd, **kwargs)
......
...@@ -244,7 +244,7 @@ def test_info_setup_missing_mandatory_should_trigger_pep517( ...@@ -244,7 +244,7 @@ def test_info_setup_missing_mandatory_should_trigger_pep517(
except PackageInfoError: except PackageInfoError:
assert spy.call_count == 3 assert spy.call_count == 3
else: else:
assert spy.call_count == 2 assert spy.call_count == 1
def test_info_prefer_poetry_config_over_egg_info(): def test_info_prefer_poetry_config_over_egg_info():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment