Skip to contentSkip to conversation

python3-qrcode: switch to PEP-517 build backend

PATCH In review alperak 2 participants 3 messages Aug 7, 2024 – Aug 8, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH v2 1/1 python3-qrcode: switch to PEP-517 build backend

The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-qrcode-7.4.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
Misspelled subject in v1.

 meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb +1 -2
index 204f4ecee..49cf62860 100644
@@ -3,10 +3,9 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9"
 
-PYPI_PACKAGE = "qrcode"
 SRC_URI[sha256sum] = "9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = " \
     python3-six \
Signature · 1 line
2.25.1
#1 lore raw

Thanks for all the patches for fixing this PEP-517 build issues. It would be good if you sent them as a single series instead of individual patches, this would help us maintainers who use tools to get patches from
mailing list using b4 etc.

Quoted 42 lines · Alper Ak via lists.openembedded.org

The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-qrcode-7.4.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
Misspelled subject in v1.

 meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb +1 -3
index 204f4ecee..49cf62860 100644
@@ -3,10 +3,9 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9"
 
-PYPI_PACKAGE = "qrcode"
 SRC_URI[sha256sum] = "9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = " \
     python3-six \
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111634): https://lists.openembedded.org/g/openembedded-devel/message/111634
Mute This Topic: https://lists.openembedded.org/mt/107768607/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw

You are welcome and thank you for the information. I will be more carefull next time.

Khem Raj <[email protected]>, 7 Ağu 2024 Çar, 20:40 tarihinde şunu yazdı:

Quoted 58 lines

Thanks for all the patches for fixing this PEP-517 build issues. It would be good if you sent them as a single series instead of individual patches, this would help us maintainers who use tools to get patches from
mailing list using b4 etc.

Quoted 2 lines · Alper Ak via lists.openembedded.org

The project has a proper pyproject.toml which declares the

setuptools.build.meta PEP-517 backend.

Quoted 4 lines

Fix:

WARNING: python3-qrcode-7.4.2-r0 do_check_backend: QA Issue: inherits

setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

Review

Quoted 9 lines

---
Misspelled subject in v1.

 meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb

meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb SECTION = "devel/python" · line 6

Quoted 9 lines

index 204f4ecee..49cf62860 100644

meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb +0 -1
@@ -3,10 +3,9 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9"
 
-PYPI_PACKAGE = "qrcode"
 SRC_URI[sha256sum] =

"9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845"

Quoted 10 lines
meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb +1 -2
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = " \
     python3-six \
--

2.25.1

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#111634):

https://lists.openembedded.org/g/openembedded-devel/message/111634

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/107768607/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-