Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT: address improper error handling and cleanup for spin #26331

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

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

charris
Copy link
Member

@charris charris commented Apr 23, 2024

Backport of #26304.

I just came across that while trying to benchmark docs.

It seem that when this was moved from subprocess.run to spin.util run the error handling was not updated.

spin.util seem to always return a CompletedProcess and it has the stderr and return code. (tested locally by changing towncrier to false).

While at it I removed unused import and reformatted a tiny bit the pyprojet.toml to only have 1 command per line for readability.

…26304)

I just came across that while trying to benchmark docs.

It seem that when this was moved from subprocess.run to spin.util run the
error handling was not updated.

spin.util seem to always return a CompletedProcess and it has the stderr
and return code. (tested locally by changing towncrier to `false`).

While at it I removed unused import and reformatted a tiny bit the
pyprojet.toml to only have 1 command per line for readability.
@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs labels Apr 23, 2024
@charris charris added this to the 2.0.0 release milestone Apr 23, 2024
@charris charris changed the title MAINT: address improper error handling and cleanup for `spin ` (#26304) MAINT: address improper error handling and cleanup for `spin ` Apr 23, 2024
@charris charris changed the title MAINT: address improper error handling and cleanup for `spin ` MAINT: address improper error handling and cleanup for spin Apr 23, 2024
@charris charris merged commit c0596e6 into numpy:maintenance/2.0.x Apr 23, 2024
61 checks passed
@charris charris deleted the backport-26304 branch April 23, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 - Maintenance 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants