Closed WolfangAukang closed 8 months ago
@WolfangAukang Sorry I reply late because I has been sick these days.
I will try to upgrade the Pillow dependency. It will take time because I need to package python3-pillow for Ubuntu as well.
By the way, @WolfangAukang , could you try building CoBang with Pillow 9 in NixOS to see if it is compatible? I'm reluctant to add python3-pil
v9 to Ubuntu because I worry it may break other softwares.
More info about my difficulty: Pillow 9 requires FreeType v2.8+, but the freetype in latest Ubuntu repo is v2.2.
Thanks for the reply @hongquan, and don't worry about it, it's just an enhancement request, so it is not urgent. And health first, so again, no rush :).
I have patched the pyproject.toml
file to support Pillow ^9.0.0 and I can confirm it builds successfully, plus the image feature recognizes the QR perfectly. I can't test it with a camera because I don't have one, unfortunately.
FYI, CoBang is now available on the nixpkgs repository. It was recently merged.
@WolfangAukang Great! Thanks.
I think, later on I will specify latest Pillow in pyproject.toml, but for Ubuntu package, I will choose the version in Ubuntu repository. It may help other distros do packaging easier.
Done.
Thank you for the development of this application. Currently I'm porting it to Nixpkgs (https://github.com/NixOS/nixpkgs/pull/149729) and I can say it works as intended.
Unfortunately, the only reason I can't merge it yet is because Pillow has been recently updated to version 9.X. Not that I continuously use the application, but it would be something to consider for future versions, if possible.
Thank you!