summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2026-01-13 12:34:17 +0200
committerKhem Raj <raj.khem@gmail.com>2026-01-13 08:28:58 -0800
commit50f0473ee12b5333521d22ffc7505ff66a550916 (patch)
treef38cbdfa18988dba3e8e0babb2371fddab2096f4 /meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb
parent66454fe57f19fd499f037da64723022b65f2f38d (diff)
downloadmeta-openembedded-50f0473ee12b5333521d22ffc7505ff66a550916.tar.gz
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. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb58
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb b/meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb
new file mode 100644
index 0000000000..adee1d10c1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb
@@ -0,0 +1,58 @@
1SUMMARY = "Pylint is a Python source code analyzer"
2HOMEPAGE = "https://www.pylint.org/"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
5
6SRCREV = "e16f942166511d6fb4427e503a734152fae0c4fe"
7SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \
8 file://0001-Adjust-test-expectations-for-ptest.patch \
9 file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \
10 file://run-ptest \
11 "
12
13inherit python_setuptools_build_meta ptest
14
15
16RDEPENDS:${PN} += "\
17 python3-astroid \
18 python3-difflib \
19 python3-dill \
20 python3-isort \
21 python3-json \
22 python3-mccabe \
23 python3-netserver \
24 python3-numbers \
25 python3-pkgutil \
26 python3-platformdirs \
27 python3-shell \
28 python3-tomlkit \
29 "
30# python3-misc for timeit.py
31RDEPENDS:${PN}-ptest += " \
32 python3-core \
33 python3-git \
34 python3-misc \
35 python3-py \
36 python3-pytest \
37 python3-pytest-benchmark \
38 python3-pytest-runner \
39 python3-pytest-timeout \
40 python3-pytest-xdist \
41 python3-requests \
42 python3-statistics \
43 python3-tomllib \
44 python3-typing-extensions \
45 python3-unittest-automake-output \
46 "
47
48do_install_ptest() {
49 install -d ${D}${PTEST_PATH}/tests
50 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
51 install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
52 sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/a_script
53 # regression_distutil_import_error_73.py fails to run see
54 # https://lists.openembedded.org/g/openembedded-devel/topic/103181847
55 rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py
56}
57
58BBCLASSEXTEND = "native nativesdk"