Skip to content
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

Merged

Conversation

pradyunsg
Copy link
Member

Built on top of #7104

Uses the dedicated API for this, added in pypa/pyproject-hooks#13.

@pradyunsg pradyunsg added skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code labels Sep 29, 2019
@pradyunsg
Copy link
Member Author

Seems like I can use the new helper, to simplify our call to setup.py install as well. :)

Copy link
Member

@chrahunt chrahunt left a 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.
@pradyunsg pradyunsg force-pushed the refactor/use-pep517-subprocess_runner branch from 14c9fd5 to 1ad0495 Compare September 30, 2019 06:48
Copy link
Member

@chrahunt chrahunt left a 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.

@pradyunsg
Copy link
Member Author

It already is. :)

@pradyunsg pradyunsg merged commit 7d523f3 into pypa:master Sep 30, 2019
@pradyunsg pradyunsg deleted the refactor/use-pep517-subprocess_runner branch September 30, 2019 10:39
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Oct 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants