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

Enable forwarding warnings from subprocess to the caller #157

Open
pradyunsg opened this issue Nov 18, 2022 · 3 comments
Open

Enable forwarding warnings from subprocess to the caller #157

pradyunsg opened this issue Nov 18, 2022 · 3 comments

Comments

@pradyunsg
Copy link
Member

This would be a reasonable mechanism to surface deprecation/build-related warnings from underlying build-backends to the build-frontends, which can then surface them to users appropriately.

This would likely involve some way to capture and communicate the log messages back to the calling process; ideally with the ability to show the warnings without waiting for the end of the build-backend subprocess.

@pradyunsg
Copy link
Member Author

To be clear, I'm thinking of warnings.warn-style warnings.

@pradyunsg
Copy link
Member Author

FYI: I've started exploring implementing this and figuring out what this should look like.

@pradyunsg
Copy link
Member Author

Adding a x-ref to https://discuss.python.org/t/adding-a-mechanism-to-forward-user-facing-information-from-build-backends-to-build-frontends/28106 where this approach will (hopefully) be discussed more broadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant