pipreqs icon indicating copy to clipboard operation
pipreqs copied to clipboard

[pipreqs/pipreqs.py] Use `codec` to get an `open` with `encoding` arg…

Open SamuelMarks opened this issue 3 years ago • 3 comments

…ument ; fix __version__ read (import cannot work) ; don't crash on UnicodeDecodeError

SamuelMarks avatar Aug 05 '22 15:08 SamuelMarks

Thanks for the PR! Can you explain a bit more what is going on?

jonas-eschle avatar Apr 07 '25 15:04 jonas-eschle

I wrote this 2.5 years ago 🤷‍♂️

Your codebase was probably giving me an error and I figured out how to resolve it so sent you a PR

SamuelMarks avatar Apr 07 '25 22:04 SamuelMarks

Yes, I am aware, I just took over the maintenance, has been a bit undermaintained. I'll look through it, thanks a lot for the PR!

jonas-eschle avatar Apr 10 '25 08:04 jonas-eschle