diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-03-20 14:32:27 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-20 14:21:07 -0700 |
| commit | 115faefc47e48f80afa9ae4e1145a42c77f75de7 (patch) | |
| tree | 93a881ea94c4de6b80b0f554b77e9b58cfe740a6 /meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb | |
| parent | 2f629f4baa83979e38df2a94a098c772739b8025 (diff) | |
| download | meta-openembedded-115faefc47e48f80afa9ae4e1145a42c77f75de7.tar.gz | |
python3-pylint: Upgrade 3.3.4 -> 3.3.6
Upgrade to release 3.3.6:
- Fix a false positive for used-before-assignment when an inner
function's return type annotation is a class defined at module
scope.
- Fix false positives for use-implicit-booleaness-not-comparison,
use-implicit-booleaness-not-comparison-to-string and
use-implicit-booleaness-not-comparison-to-zero when chained
comparisons are checked.
- Fix a false positive for invalid-getnewargs-ex-returned when the
tuple or dict has been assigned to a name.
- Remove getopt and optparse from the list of deprecated modules.
- Fixed conditional import x.y causing false positive
possibly-used-before-assignment.
- Fix a crash when something besides a class is found in an except
handler.
- Fixed raising invalid-name when using camelCase for private
methods with two leading underscores.
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.6.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb new file mode 100644 index 0000000000..f70049c898 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | SUMMARY = "Pylint is a Python source code analyzer" | ||
| 2 | HOMEPAGE = "http://www.pylint.org/" | ||
| 3 | LICENSE = "GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" | ||
| 5 | |||
| 6 | SRCREV = "7ac5a4d4f77576df3a00e63f86ca86e0e1780b47" | ||
| 7 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.3.x;protocol=https \ | ||
| 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 | |||
| 13 | inherit python_setuptools_build_meta ptest | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | RDEPENDS:${PN} += "\ | ||
| 18 | python3-astroid \ | ||
| 19 | python3-difflib \ | ||
| 20 | python3-dill \ | ||
| 21 | python3-isort \ | ||
| 22 | python3-json \ | ||
| 23 | python3-mccabe \ | ||
| 24 | python3-netserver \ | ||
| 25 | python3-numbers \ | ||
| 26 | python3-pkgutil \ | ||
| 27 | python3-platformdirs \ | ||
| 28 | python3-shell \ | ||
| 29 | python3-tomlkit \ | ||
| 30 | " | ||
| 31 | # python3-misc for timeit.py | ||
| 32 | RDEPENDS:${PN}-ptest += " \ | ||
| 33 | python3-core \ | ||
| 34 | python3-git \ | ||
| 35 | python3-misc \ | ||
| 36 | python3-py \ | ||
| 37 | python3-pytest \ | ||
| 38 | python3-pytest-benchmark \ | ||
| 39 | python3-pytest-runner \ | ||
| 40 | python3-pytest-timeout \ | ||
| 41 | python3-pytest-xdist \ | ||
| 42 | python3-requests \ | ||
| 43 | python3-statistics \ | ||
| 44 | python3-tomllib \ | ||
| 45 | python3-typing-extensions \ | ||
| 46 | python3-unittest-automake-output \ | ||
| 47 | " | ||
| 48 | |||
| 49 | do_install_ptest() { | ||
| 50 | install -d ${D}${PTEST_PATH}/tests | ||
| 51 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 52 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep | ||
| 53 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/a_script | ||
| 54 | # regression_distutil_import_error_73.py fails to run see | ||
| 55 | # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 | ||
| 56 | rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py | ||
| 57 | } | ||
| 58 | |||
| 59 | BBCLASSEXTEND = "native nativesdk" | ||
