python3-qrcode: Upgrade 7.4.2 -> 8.0

Upgrade to release 8.0:

- Added support for Python 3.11 and 3.12
- Drop support for Python <=3.8
- Change local development setup to use Poetry
- Testsuite and code quality checks are done through Github Actions
- Code quality and formatting utilises ruff
- Removed typing_extensions as a dependency, as it's no longer
  required with having Python 3.9+ as a requirement
- Only allow high error correction rate (qrcode.ERROR_CORRECT_H)
  when generating QR codes with embedded images to ensure content
  is readable

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2025-03-19 10:21:10 +02:00
committed by Khem Raj
parent d24988f39c
commit 5bcf2e7277

View File

@@ -3,9 +3,9 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9"
SRC_URI[sha256sum] = "9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845"
SRC_URI[sha256sum] = "025ce2b150f7fe4296d116ee9bad455a6643ab4f6e7dce541613a4758cbce347"
inherit pypi python_setuptools_build_meta
inherit pypi python_poetry_core
RDEPENDS:${PN} = " \
python3-six \