pluggable-output-processor icon indicating copy to clipboard operation
pluggable-output-processor copied to clipboard

python3 RuntimeWarning

Open GitMensch opened this issue 2 years ago • 3 comments
trafficstars

/usr/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)

and because that's a warning the actual formatting still works

GitMensch avatar Oct 09 '23 08:10 GitMensch

@GitMensch ,

Thank you for your interest and all issues opened! However, nowadays, as you may see ;) this project is a bit abandoned^W out of date :) Meanwhile, I still like it, and some day definitely will modernize it and update it for modern compilers (there are plenty of ideas about it in my mind %)

zaufi avatar Oct 09 '23 15:10 zaufi

Maybe fixing the "easy" ones like this, #17, #19 and including the additional line proposed in #18 plus an "release" to pip would be a very good intermediate step :-) I found it to be "nearly working well enough", those above would solve the missing gap to suggest our user-base to use it, which is likely much faster than handling it in the application (and would also work for old versions).

Of course other possible FRs come to mind (for [possibly much] later) like "convert to JSON/XML format to let it be easily used by CI/CD or IDEs" and the option to "stack plugins".

GitMensch avatar Oct 09 '23 16:10 GitMensch

Of course other possible FRs come to mind (for [possibly much] later) like "convert to JSON/XML format to let it be easily used by CI/CD or IDEs" and the option to "stack plugins".

Yeah, I also have ideas about producing JSON and other CI-friendly (e.g., GHA-friendly) service messages to beautify output for CI (grouping messages for example) so it'll be not about only colorizing output :)

zaufi avatar Oct 09 '23 16:10 zaufi