diff mbox series

[meta-python,PATCHv2] python3-qrcode: switch to PEP-517 build backend

Message ID 20240807131419.150841-1-alperyasinak1@gmail.com
State Accepted
Headers show
Series [meta-python,PATCHv2] python3-qrcode: switch to PEP-517 build backend | expand

Commit Message

alperak Aug. 7, 2024, 1:14 p.m. UTC
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]

Signed-off-by: alperak <alperyasinak1@gmail.com>
---
 Misspelled subject in v1.

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

Comments

Khem Raj Aug. 7, 2024, 5:39 p.m. UTC | #1
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.

On Wed, Aug 7, 2024 at 6:14 AM Alper Ak via lists.openembedded.org
<alperyasinak1=gmail.com@lists.openembedded.org> wrote:
>
> 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]
>
> Signed-off-by: alperak <alperyasinak1@gmail.com>
> ---
>  Misspelled subject in v1.
>
>  meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> 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
> index 204f4ecee..49cf62860 100644
> --- a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb
> +++ b/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
alperak Aug. 8, 2024, 3:35 p.m. UTC | #2
You are welcome and thank you for the information. I will be more carefull
next time.

Khem Raj <raj.khem@gmail.com>, 7 Ağu 2024 Çar, 20:40 tarihinde şunu yazdı:

> 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.
>
> On Wed, Aug 7, 2024 at 6:14 AM Alper Ak via lists.openembedded.org
> <alperyasinak1=gmail.com@lists.openembedded.org> wrote:
> >
> > 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]
> >
> > Signed-off-by: alperak <alperyasinak1@gmail.com>
> > ---
> >  Misspelled subject in v1.
> >
> >  meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > 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
> > index 204f4ecee..49cf62860 100644
> > --- a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb
> > +++ b/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb
> > @@ -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: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
diff mbox series

Patch

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
index 204f4ecee..49cf62860 100644
--- a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb
+++ b/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb
@@ -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 \