summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-02-12 15:27:53 +0200
committerKhem Raj <raj.khem@gmail.com>2025-02-12 09:17:20 -0800
commit313acb4788f91b3d2cf9b20bd12760964a991b4b (patch)
tree5cd2c1d88ae4af7846755764bc92b30c49beb513 /meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb
parentda93aafcc541a6579f67537503d30908b5628fd1 (diff)
downloadmeta-openembedded-313acb4788f91b3d2cf9b20bd12760964a991b4b.tar.gz
python3-pylint: Upgrade 3.3.3 -> 3.3.4
Upgrade to release 3.3.4: - Fixes "skipped files" count calculation; the previous method was displaying an arbitrary number. - Fixes a crash that occurred when pylint was run in a container on a host with cgroupsv2 and restrictions on CPU usage. - Relaxed the requirements for isort so pylint can benefit from isort 6. 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_3.3.3.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb58
1 files changed, 0 insertions, 58 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb b/meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb
deleted file mode 100644
index f3654360de..0000000000
--- a/meta-python/recipes-devtools/python/python3-pylint_3.3.3.bb
+++ /dev/null
@@ -1,58 +0,0 @@
1SUMMARY = "Pylint is a Python source code analyzer"
2HOMEPAGE = "http://www.pylint.org/"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
5
6SRCREV = "c28580be76fe1ec55a6cac41833c0bd68070d2f7"
7SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \
8 file://0001-Adjust-test-expectations-for-ptest.patch \
9 file://run-ptest \
10 "
11
12inherit python_setuptools_build_meta ptest
13
14S = "${WORKDIR}/git"
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"