python3-pylint: Upgrade 4.0.3 -> 4.0.4
PATCH 1/5 python3-pylint: Upgrade 4.0.3 -> 4.0.4
Upgrade to release 4.0.4:
- Fixed false positive for ``invalid-name`` where module-level constants were incorrectly classified as variables when a class-level attribute with the same name exists.
- Fix a false positive for ``invalid-name`` on an UPPER_CASED name inside an ``if`` branch that assigns an object.
---
.../python/{python3-pylint_4.0.3.bb => python3-pylint_4.0.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-pylint_4.0.3.bb => python3-pylint_4.0.4.bb} (97%)meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb renamed from meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRCREV = "84b6552b86e210097ac29de7ef64b152efb4a454" +SRCREV = "e16f942166511d6fb4427e503a734152fae0c4fe" SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \ file://0001-Adjust-test-expectations-for-ptest.patch \ file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \
Signature · 1 line
2.47.3
PATCH 2/5 python3-aenum: Upgrade 3.1.15 -> 3.1.16
Upgrade to release 3.1.16:
- standardized handling of negative numbers in flags
- support dictionary-like key access to NamedTuple
- remove newer setup.py option include_package_data
---
.../python/{python3-aenum_3.1.15.bb => python3-aenum_3.1.16.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-aenum_3.1.15.bb => python3-aenum_3.1.16.bb} (77%)meta-python/recipes-devtools/python/python3-aenum_3.1.16.bb renamed from meta-python/recipes-devtools/python/python3-aenum_3.1.15.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/aenum/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9" -SRC_URI[sha256sum] = "8cbd76cd18c4f870ff39b24284d3ea028fbe8731a58df3aa581e434c575b9559" +SRC_URI[sha256sum] = "bfaf9589bdb418ee3a986d85750c7318d9d2839c1b1a1d6fe8fc53ec201cf140" inherit pypi setuptools3
Signature · 1 line
2.47.3
PATCH 3/5 python3-filelock: Upgrade 3.20.2 -> 3.20.3
In reply to Leon AnaviUpgrade to release 3.20.3:
- Fix TOCTOU symlink vulnerability in SoftFileLock
---
.../{python3-filelock_3.20.2.bb => python3-filelock_3.20.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-filelock_3.20.2.bb => python3-filelock_3.20.3.bb} (89%)meta-python/recipes-devtools/python/python3-filelock_3.20.3.bb renamed from meta-python/recipes-devtools/python/python3-filelock_3.20.2.bb +1 -1
@@ -6,7 +6,7 @@ LICENSE = "Unlicense" LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "a2241ff4ddde2a7cebddf78e39832509cb045d18ec1a09d7248d6bfc6bfbbe64" +SRC_URI[sha256sum] = "18c57ee915c7ec61cff0ecf7f0f869936c7c30191bb0cf406f1341778d0834e1" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.47.3
PATCH 4/5 python3-huey: Upgrade 2.5.5 -> 2.6.0
In reply to Leon AnaviUpgrade to release 2.6.0:
- "Modernize" build system to use pyproject.toml and github actions.
Fixes:
WARNING: python3-huey-2.6.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-huey_2.5.5.bb => python3-huey_2.6.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-huey_2.5.5.bb => python3-huey_2.6.0.bb} (69%)meta-python/recipes-devtools/python/python3-huey_2.6.0.bb renamed from meta-python/recipes-devtools/python/python3-huey_2.5.5.bb +2 -2
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4" PYPI_PACKAGE = "huey" -SRC_URI[sha256sum] = "a39010628a9a1a9e91462f9bf33dc243b006a9f21193026ea47ae18949a12581" +SRC_URI[sha256sum] = "8d11f8688999d65266af1425b831f6e3773e99415027177b8734b0ffd5e251f6" RDEPENDS:${PN} += " \ python3-datetime \
@@ -14,5 +14,5 @@ RDEPENDS:${PN} += " \ python3-json \ " -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta
Signature · 1 line
2.47.3
PATCH 5/5 python3-libevdev: Upgrade 0.12 -> 0.13.1
In reply to Leon AnaviAdd ptest and upgrade to release 0.13.1:
- pyproject.toml: add pytest as dev dependency
- Import Self from type_checking if needed to be compat with 3.9
- CI: run pytest via uv
- CI: test against multiple python versions
---
.../python/python3-libevdev/run-ptest | 3 +++
...vdev_0.12.bb => python3-libevdev_0.13.1.bb} | 18 ++++++++++++++++--
2 files changed, 19 insertions(+), 2 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python3-libevdev/run-ptest
rename meta-python/recipes-devtools/python/{python3-libevdev_0.12.bb => python3-libevdev_0.13.1.bb} (52%)meta-python/recipes-devtools/python/python3-libevdev/run-ptest new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake
meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb renamed from meta-python/recipes-devtools/python/python3-libevdev_0.12.bb +16 -2
@@ -5,13 +5,27 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747" -SRC_URI[sha256sum] = "02e952632ec6c249cbb9c66f6fa00012ea448b06606c77cd139133bc2fe46b08" +SRC_URI[sha256sum] = "dc3369cd1401767b9ecb1117cd6b73faba9038e3bd9e1695a710a9e9d9415e8d" -inherit pypi setuptools3 +inherit pypi python_hatchling ptest PYPI_PACKAGE = "libevdev" +SRC_URI += " \ + file://run-ptest \ +" + RDEPENDS:${PN} += " \ libevdev \ python3-ctypes \ " + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} +
Signature · 1 line
2.47.3
Re: [oe] [meta-python][PATCH 5/5] python3-libevdev: Upgrade 0.12 -> 0.13.1
Small simplification: if you inherit the ptest-python-ptest[1] class instead of ptest, it takes care of all other test boilerplate (test installation, run-ptest creation, RDEPENDS...)
Though I wouldn't submit a v2 because of this - but for next time it might be useful.
[1]:
https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/ptest-python-pytest.bbclass
Quoted 70 lines · Leon Anavi via lists.openembedded.org
Add ptest and upgrade to release 0.13.1:
- pyproject.toml: add pytest as dev dependency
- Import Self fromtype_checkingif needed to be compat with 3.9
- CI: run pytest via uv
- CI: test against multiple python versionsSigned-off-by Leon Anavi <[email protected]>--- .../python/python3-libevdev/run-ptest | 3 +++ ...vdev_0.12.bb => python3-libevdev_0.13.1.bb} | 18 ++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-libevdev/run-ptest rename meta-python/recipes-devtools/python/{python3-libevdev_0.12.bb => python3-libevdev_0.13.1.bb} (52%)meta-python/recipes-devtools/python/python3-libevdev/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automakemeta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb renamed from meta-python/recipes-devtools/python/python3-libevdev_0.12.bb +16
-3@@ -5,13 +5,27 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747" -SRC_URI[sha256sum] = "02e952632ec6c249cbb9c66f6fa00012ea448b06606c77cd139133bc2fe46b08" +SRC_URI[sha256sum] = "dc3369cd1401767b9ecb1117cd6b73faba9038e3bd9e1695a710a9e9d9415e8d" -inherit pypi setuptools3 +inherit pypi python_hatchling ptest PYPI_PACKAGE = "libevdev" +SRC_URI += " \ + file://run-ptest \ +" + RDEPENDS:${PN} += " \ libevdev \ python3-ctypes \ " + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} + -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#123434): https://lists.openembedded.org/g/openembedded-devel/message/123434
Mute This Topic: https://lists.openembedded.org/mt/117241112/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-python][PATCH 5/5] python3-libevdev: Upgrade 0.12 -> 0.13.1
Hi Gyorgy,
Quoted 7 lines · Gyorgy Sarvari
Small simplification: if you inherit the ptest-python-ptest[1] class instead of ptest, it takes care of all other test boilerplate (test installation, run-ptest creation, RDEPENDS...)
Though I wouldn't submit a v2 because of this - but for next time it might be useful.
Thanks for the recommendation! Noted down. It sounds like a very practical approach and I will definitely apply it the next time I am working on ptests.
Thanks, Leon
Quoted 88 lines
[1]:
https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/ptest-python-pytest.bbclass
Quoted 7 lines · Leon Anavi via lists.openembedded.org
Add ptest and upgrade to release 0.13.1:
- pyproject.toml: add pytest as dev dependency
- Import Self fromtype_checkingif needed to be compat with 3.9
- CI: run pytest via uv
- CI: test against multiple python versionsQuoted 6 lines
Signed-off-by Leon Anavi <[email protected]>--- .../python/python3-libevdev/run-ptest | 3 +++ ...vdev_0.12.bb => python3-libevdev_0.13.1.bb} | 18 ++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644meta-python/recipes-devtools/python/python3-libevdev/run-ptest
Quoted 1 line
rename meta-python/recipes-devtools/python/{python3-libevdev_0.12.bb=> python3-libevdev_0.13.1.bb} (52%)
Quoted 2 lines
diff --git
a/meta-python/recipes-devtools/python/python3-libevdev/run-ptest b/meta-python/recipes-devtools/python/python3-libevdev/run-ptest
Review
Quoted 9 lines
new file mode 100644
index 0000000000..8d2017d39cmeta-python/recipes-devtools/python/python3-libevdev/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake(quoted diff) +0
-0python3-libevdev_0.12.bb b/meta-python/recipes-devtools/python/ python3-libevdev_0.13.1.bb
meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb SECTION = "devel/python" · line 8
Quoted 11 lines
similarity index 52%
rename from meta-python/recipes-devtools/python/python3-libevdev_0.12.bb rename to meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb indexcabcfd8df6..1c8a99eb33100644meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb renamed from meta-python/recipes-devtools/python/python3-libevdev_0.12.bb +0
-1@@ -5,13 +5,27 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747" -SRC_URI[sha256sum] ="
02e952632ec6c249cbb9c66f6fa00012ea448b06606c77cd139133bc2fe46b08"meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb SECTION = "devel/python" · line 8
Quoted 1 line
meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb renamed from meta-python/recipes-devtools/python/python3-libevdev_0.12.bb +1
-0+SRC_URI[sha256sum] ="
dc3369cd1401767b9ecb1117cd6b73faba9038e3bd9e1695a710a9e9d9415e8d"Quoted 26 lines
meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb renamed from meta-python/recipes-devtools/python/python3-libevdev_0.12.bb +15
-2-inherit pypi setuptools3 +inherit pypi python_hatchling ptest PYPI_PACKAGE = "libevdev" +SRC_URI += " \ + file://run-ptest \ +" + RDEPENDS:${PN} += " \ libevdev \ python3-ctypes \ " + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} + -=-=-=-=-=-=-=-=-=-=-=-Quoted 2 lines
Links: You receive all messages sent to this group. View/Reply Online (#123434):
https://lists.openembedded.org/g/openembedded-devel/message/123434
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/117241112/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 4 lines
Leon Anavi Software Engineer Mob : +359 88 527 7901 konsulko.com