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

Fix missing non-zero return code from TEE'd pipe #661

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

vient
Copy link
Contributor

@vient vient commented Oct 31, 2023

I checked that modified test is failing, and fix in this branch makes it green.

Fixes #660

@coveralls
Copy link

Coverage Status

coverage: 84.489% (+0.03%) from 84.464% when pulling 4c5ea87 on vient:vient/fix-tee-pipe-retcode into 40fcd27 on tomerfiliba:master.

@vient
Copy link
Contributor Author

vient commented Nov 1, 2023

Wat

Looks like linter is broken in CI, I've run nox locally, all checks passed.

@henryiii
Copy link
Collaborator

henryiii commented Nov 1, 2023

Yeah, I think it is. Will look at it when on a computer.

@vient
Copy link
Contributor Author

vient commented Nov 1, 2023

Btw, nox is great. I did not know what it is, installed it, and it just worked from the first try, and ran all tests? Super cool

@henryiii
Copy link
Collaborator

henryiii commented Nov 1, 2023

See https://learn.scientific-python.org/development/guides/tasks/ - I love it. :)

I see what's wrong - we've pinned an old pylint, and it doesn't support Python 3.12, which is what the default is now. I'm fixing that in a separate PR.

@henryiii henryiii closed this Nov 1, 2023
@henryiii henryiii reopened this Nov 1, 2023
@henryiii henryiii merged commit 8bac666 into tomerfiliba:master Nov 1, 2023
32 of 47 checks passed
@vient vient deleted the vient/fix-tee-pipe-retcode branch November 1, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TEE return code for pipeline is wrong when non-last command fails
3 participants