FS#73372 - [python-qrencode] Not compatible with python 3.10
Attached to Project:
Community Packages
Opened by Alexandre ZANNI (noraj) - Saturday, 15 January 2022, 15:14 GMT
Last edited by Balló György (City-busz) - Sunday, 24 September 2023, 11:57 GMT
Opened by Alexandre ZANNI (noraj) - Saturday, 15 January 2022, 15:14 GMT
Last edited by Balló György (City-busz) - Sunday, 24 September 2023, 11:57 GMT
|
Details
Description:
Additional info: * package version(s): 20.02.1-3 Steps to reproduce: $ pacman -Syu qreator $ qreator <clic on Text> Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/qreator/QreatorWindow.py", line 498, in on_qr_drawingarea_draw self.surface = qr_code.encode(text, File "/usr/lib/python3.10/site-packages/qreator/QRCode.py", line 60, in encode qr_code = self._encode_to_cairo(text, current_color_fg, File "/usr/lib/python3.10/site-packages/qreator/QRCode.py", line 70, in _encode_to_cairo self._encode_to_pil(text, current_color_fg, previous_color_fg, File "/usr/lib/python3.10/site-packages/qreator/QRCode.py", line 95, in _encode_to_pil version, self.qrcode_size, self.image = qrencode.encode(text) File "/usr/lib/python3.10/site-packages/qrencode/__init__.py", line 47, in encode version, size, data = _encode(data, version, level, hint, True) SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats Similar issues in other projects: - https://gitlab.gnome.org/GNOME/libxml2/-/issues/203 - https://stackoverflow.com/questions/70344884/pyaudio-write-systemerror-py-ssize-t-clean-macro-must-be-defined-for-format - https://github.com/saltstack/salt/issues/61384 |
This task depends upon
Closed by Balló György (City-busz)
Sunday, 24 September 2023, 11:57 GMT
Reason for closing: Fixed
Additional comments about closing: python-qrencode 1.2-13
Sunday, 24 September 2023, 11:57 GMT
Reason for closing: Fixed
Additional comments about closing: python-qrencode 1.2-13
- https://stackoverflow.com/a/71019907
- https://archlinux.org/packages/community/x86_64/python-qrencode/
- https://github.com/Arachnid/pyqrencode/blob/master/qr_encode.c
(No upstream bug yet; and sorry, I can't investigate any further now.)
python-qrencode seems dead, no activities for 4 years on the project (no commit, not replies to issue)
it looks like qrencode can be dropped from AL, also the only reverse dependency of python-qrencode is qreator and qreator as no reverse dependency