From 5bcf2e7277f6cd03626b7aa4258134075bbdde3f Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 19 Mar 2025 10:21:10 +0200 Subject: 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 Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-qrcode_7.4.2.bb | 15 --------------- meta-python/recipes-devtools/python/python3-qrcode_8.0.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-qrcode_8.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb b/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb deleted file mode 100644 index 49cf62860e..0000000000 --- a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "QR Code image generator" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9" - -SRC_URI[sha256sum] = "9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845" - -inherit pypi python_setuptools_build_meta - -RDEPENDS:${PN} = " \ - python3-six \ - python3-pillow \ - python3-pypng \ - python3-typing-extensions \ -" diff --git a/meta-python/recipes-devtools/python/python3-qrcode_8.0.bb b/meta-python/recipes-devtools/python/python3-qrcode_8.0.bb new file mode 100644 index 0000000000..dcd92cfe9d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-qrcode_8.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "QR Code image generator" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9" + +SRC_URI[sha256sum] = "025ce2b150f7fe4296d116ee9bad455a6643ab4f6e7dce541613a4758cbce347" + +inherit pypi python_poetry_core + +RDEPENDS:${PN} = " \ + python3-six \ + python3-pillow \ + python3-pypng \ + python3-typing-extensions \ +" -- cgit v1.2.3-54-g00ecf