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
python-qrcode: add Python3 #8337
Conversation
Wow, I'm curious how this could even work, because there are missing dependencies. According to README from pypi.org, which is same in repository of python-qrcode on Github. You need pillow for a standard installation, which isn't packaged for Python3, yet. I will look at it and until I do it, this PR will remain as draft.
There are also a two issues. First one, again according to README you can use qr binary.
Once, I have installed python-setuptools, it works.
The QR code (test.png) is created. :-) The last one is caused by me as python-qrcode and python3-qrcode provides the same binary.
|
I thought I had updated my Makefiles a while back, but I think this one was left behind. I was trying to update them all to python3, but this one had dependencies that were not met. The reason I added this package was because it is a dependency to the seafile packages. I haven't tested it outside of that, so it may need some work. If you want to take over as maintainer, please go ahead. |
I've opened a #8446 with just the version bump, in case this takes a while.
|
That was too fast and I didn't have any chance to left my comment in your pull request. If you'd ask, I could separate this pull request or edit it to just bump it the version. Because now, we did the same thing. I'm not stuck with qr binary as you would think and I want to do it as it should be. I'm still dealing with setup.py in Pillow as it is a dependency for python-qrcode. The Python2 variant of pillow is passing as it should, but setup.py for Pillow is written so horrible that takes time for me and for now I cannot compile it as it is for Python3. I'm thinking of a few ways how to do it. Yeah, it should be faster, but while at it, I'm learning new things and I like challenges. :-) |
Sorry if I trumped you, it was not my intent. I just felt we should not leave the package in tree missing the dependencies, and while at it, I did the version bump as well. |
A few days ago, I had been finally able to compile Pillow for Python 3. Hopefully today or tomorrow, I will prepare the pull request and once it would be merged, this will be ready for review. |
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
I assume this is ready? |
Not yet. It needs python3-pillow first. |
Maintainer: @cotequeiroz
Compile tested: mvebu (cortex-a9_vfpv3) , Turris Omnia, OpenWrt master
Run tested: mvebu (cortex-a9_vfpv3) , Turris Omnia, OpenWrt SNAPSHOT, r9420-c17a68c
Description: