python3-sqlalchemy: Upgrade 2.0.32 -> 2.0.35 and switch to PEP-517 build backend
PATCH 1/7 python3-sqlalchemy: Upgrade 2.0.32 -> 2.0.35 and switch to PEP-517 build backend
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- PYPI_PACKAGE name changed SQLAlchemy to sqlalchemy.
- Added missing Cython dependency.
Fix:
WARNING: python3-sqlalchemy-2.0.32-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Changelog:
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.33
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.34
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.35
---
...3-sqlalchemy_2.0.32.bb => python3-sqlalchemy_2.0.35.bb} | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
rename meta-python/recipes-devtools/python/{python3-sqlalchemy_2.0.32.bb => python3-sqlalchemy_2.0.35.bb} (77%)meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb renamed from meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.32.bb +4 -3
@@ -4,10 +4,11 @@ HOMEPAGE = "http://www.sqlalchemy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" -SRC_URI[sha256sum] = "c1b88cc8b02b6a5f0efb0345a03672d4c897dc7d92585176f88c67346f565ea8" +SRC_URI[sha256sum] = "e11d7ea4d24f0a262bccf9a7cd6284c976c5369dac21db237cff59586045ab9f" -PYPI_PACKAGE = "SQLAlchemy" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-cython-native" RDEPENDS:${PN} += " \ python3-asyncio \
Signature · 1 line
2.25.1
PATCH 2/7 python3-alembic: switch to PEP-517 build backend
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as alembic, it is by default.
WARNING: python3-alembic-1.13.3-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
--- meta-python/recipes-devtools/python/python3-alembic_1.13.3.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-alembic_1.13.3.bb +1 -3
@@ -2,12 +2,10 @@ DESCRIPTION = "A database migration tool for SQLAlchemy" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=00f8f5c8aab58c3e1cd61525a6675174" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "203503117415561e203aa14541740643a611f641517f0209fcae63e9fa09f1a2" -PYPI_PACKAGE = "alembic" - RDEPENDS:${PN} += "\ python3-dateutil \ python3-editor \
Signature · 1 line
2.25.1
PATCH 3/7 python3-inflate64: switch to PEP-517 build backend
In reply to alperak- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as inflate64, it is by default.
- Added missing dependency python3-setuptools-scm-native.
Fix:
WARNING: python3-inflate64-1.0.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
--- .../recipes-devtools/python/python3-inflate64_1.0.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb +2 -2
@@ -4,12 +4,12 @@ LICENSE = "LGPL-2.1-or-later" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -inherit setuptools3 pypi +inherit python_setuptools_build_meta pypi SRC_URI += "file://0001-Do-not-override-const-qualifier.patch" SRC_URI[sha256sum] = "3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d" -PYPI_PACKAGE = "inflate64" +DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += "\ python3-core \
Signature · 1 line
2.25.1
PATCH 4/7 python3-spidev: switch to PEP-517 build backend
In reply to alperakFix:
WARNING: python3-spidev-3.6-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
--- meta-python/recipes-devtools/python/python3-spidev_3.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-spidev_3.6.bb +1 -1
@@ -12,4 +12,4 @@ SRCNAME = "spidev" SRC_URI[sha256sum] = "14dbc37594a4aaef85403ab617985d3c3ef464d62bc9b769ef552db53701115b" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta
Signature · 1 line
2.25.1
PATCH 5/7 python3-pastedeploy: switch to PEP-517 build backend
In reply to alperak- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- Unnecessary dependencies dropped.
Fix:
WARNING: python3-pastedeploy-3.1.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
--- .../python/python3-pastedeploy_3.1.0.bb | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-)
meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb +10 -7
@@ -3,19 +3,22 @@ HOMEPAGE = "https://pylonsproject.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c" -inherit pypi +inherit pypi python_setuptools_build_meta + PYPI_PACKAGE = "PasteDeploy" SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95" -S = "${WORKDIR}/PasteDeploy-${PV}" - -inherit setuptools3 - # Uncomment this line to enable all the optional features. #PACKAGECONFIG ?= "paste docs" PACKAGECONFIG[paste] = ",,,python3-paste" PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes" -DEPENDS= "python3 python3-setuptools-scm-native python3-pytest-runner-native" -RDEPENDS:${PN} += "python3-core python3-misc python3-netclient python3-pkgutil python3-setuptools python3-threading python3-core" +RDEPENDS:${PN} += " \ + python3-core \ + python3-misc \ + python3-netclient \ + python3-pkgutil \ + python3-setuptools \ + python3-threading \ +"
Signature · 1 line
2.25.1
PATCH 6/7 python3-colorclass: switch to PEP-517 build backend
In reply to alperak- The project has a proper pyproject.toml which declares the poetry.masonry.api PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as colorclass, it is by default.
Fix:
WARNING: python3-colorclass-2.2.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.masonry.api, use the correct class [pep517-backend]
--- ...poetry-core-for-pyproject-base-build.patch | 29 +++++++++++++++++++ .../python/python3-colorclass_2.2.2.bb | 4 +-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-colorclass/0001-use-poetry-core-for-pyproject-base-build.patch
meta-python/recipes-devtools/python/python3-colorclass/0001-use-poetry-core-for-pyproject-base-build.patch new file +29 -0
@@ -0,0 +1,29 @@ +From c44c6ed2dc51c22f72b3153daa1f4b0fc7daaa65 Mon Sep 17 00:00:00 2001 +From: alperak <[email protected]> +Date: Wed, 9 Oct 2024 20:56:56 +0300 +Subject: [PATCH] Use poetry-core for pyproject base build + +https://github.com/python-poetry/poetry-core#why-is-this-required + +Upstream-Status: Pending + +Signed-off-by: alperak <[email protected]> +--- + pyproject.toml | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 530e2ed..9257f6c 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -62,5 +62,5 @@ python = ">=2.6 || >=3.0" + pytest = "==6.0.1" + + [build-system] +-requires = ["poetry>=0.12"] +-build-backend = "poetry.masonry.api" ++requires = ["poetry-core>=0.12"] ++build-backend = "poetry.core.masonry.api" +-- +2.25.1 +
meta-python/recipes-devtools/python/python3-colorclass_2.2.2.bb +2 -2
@@ -4,11 +4,11 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=1b2a533055839e54558a727657c1c73e" -inherit pypi setuptools3 +inherit pypi python_poetry_core SRC_URI[sha256sum] = "6d4fe287766166a98ca7bc6f6312daf04a0481b1eda43e7173484051c0ab4366" -PYPI_PACKAGE="colorclass" +SRC_URI += "file://0001-use-poetry-core-for-pyproject-base-build.patch" RDEPENDS:${PN} += "\ python3-ctypes \
Signature · 1 line
2.25.1
PATCH 7/7 python3-reedsolo: switch to PEP-517 build backend
In reply to alperakThe project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-reedsolo-2.1.0b1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
--- .../python3-reedsolo/python3-reedsolo_2.1.0b1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ffde61aeb8917e70e0257e0a4b6d103c" SRC_URI[sha256sum] = "e11528d63e75461d45b86c23f9db8260303d6ab6cae075fa9eddb44527ad8ece" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta DEPENDS += "python3-cython-native" RDEPENDS:${PN} += "python3-core"
Signature · 1 line
2.25.1
I cant pull this series from lore, Please rebase on top of master-next and resend.
Quoted 57 lines · Alper Ak via lists.openembedded.org
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
-
PYPI_PACKAGEname changed SQLAlchemy to sqlalchemy.- Added missing Cython dependency.
Fix:
WARNING: python3-sqlalchemy-2.0.32-r0
do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]Changelog:
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.33
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.34
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.35Signed-off-by alperak <[email protected]>--- ...3-sqlalchemy_2.0.32.bb => python3-sqlalchemy_2.0.35.bb} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename meta-python/recipes-devtools/python/{python3-sqlalchemy_2.0.32.bb => python3-sqlalchemy_2.0.35.bb} (77%)meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb renamed from meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.32.bb +4
-4@@ -4,10 +4,11 @@ HOMEPAGE = "http://www.sqlalchemy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" -SRC_URI[sha256sum] = "c1b88cc8b02b6a5f0efb0345a03672d4c897dc7d92585176f88c67346f565ea8" +SRC_URI[sha256sum] = "e11d7ea4d24f0a262bccf9a7cd6284c976c5369dac21db237cff59586045ab9f" -PYPI_PACKAGE = "SQLAlchemy" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-cython-native" RDEPENDS:${PN} += " \ python3-asyncio \ --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112737): https://lists.openembedded.org/g/openembedded-devel/message/112737
Mute This Topic: https://lists.openembedded.org/mt/108914710/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-