-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use pep517's new subprocess_runner API #7111
Use pep517's new subprocess_runner API #7111
Conversation
Seems like I can use the new helper, to simplify our call to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two minor comments, otherwise looks good to me.
Also, create a new utility function for showing a spinner when running a subprocess. Why: The subprocess_runner API was specifically added to make it possible for pip to stop monkey-patching Pep517HookCaller, while still maintaining its output style. The relevant monkeypatch will be removed in a follow up commit.
14c9fd5
to
1ad0495
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming this gets rebased on #7104.
It already is. :) |
Built on top of #7104
Uses the dedicated API for this, added in pypa/pyproject-hooks#13.