Skip to contentSkip to conversation

python3-pylint: upgrade 3.0.2 -> 3.0.3

PATCH Applied [email protected] 2 participants 3 messages Dec 15, 2023 – Dec 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pylint: upgrade 3.0.2 -> 3.0.3

From: Wang Mingyu <[email protected]>

Changelog:
===========
-Fixed false positive for unnecessary-lambda when the call has keyword
arguments but not the lambda.
-Fixed incorrect suggestion for shallow copy in unnecessary-comprehension -Fix false positives for undefined-variable and unused-argument for
classes and functions using Python 3.12 generic type syntax.
-Fixed pointless-string-statement false positive for docstrings
on Python 3.12 type aliases.
-Fix false positive for invalid-exception-operation when concatenating tuples
of exception types.
-Fix a bug where pylint was unable to walk recursively through a directory if
the directory has an __init__.py file.

---
 .../python/{python3-pylint_3.0.2.bb => python3-pylint_3.0.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pylint_3.0.2.bb => python3-pylint_3.0.3.bb} (97%)
meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb renamed from meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb +1 -1
similarity index 97%
rename from meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
rename to meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb
index 8af74b7cb..09ab1f26f 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
 SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.0.x;protocol=https \
            file://run-ptest \
            "
-SRCREV = "efee9618894795cc8847727108522aa79431ee25"
+SRCREV = "1a5ffc1f447b77071ffe18a9c6836c09147ee2ed"
 
 inherit python_setuptools_build_meta ptest
 
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 5 lines · On Fri, 15 Dec 2023 08:18:33 +0800, [email protected] wrote:

Changelog:
===========

(quoted diff) +0 -2
-Fixed false positive for unnecessary-lambda when the call has keyword
 arguments but not the lambda.
-Fixed incorrect suggestion for shallow copy in unnecessary-comprehension

Review

Quoted 10 lines
(quoted diff) +0 -4
-Fix false positives for undefined-variable and unused-argument for
 classes and functions using Python 3.12 generic type syntax.
-Fixed pointless-string-statement false positive for docstrings
 on Python 3.12 type aliases.
-Fix false positive for invalid-exception-operation when concatenating tuples
 of exception types.
-Fix a bug where pylint was unable to walk recursively through a directory if
 the directory has an __init__.py file.
 
[...]

Applied, thanks!

[1/1] python3-pylint: upgrade 3.0.2 -> 3.0.3

      commit: 6580c4bb38ece6f0775c550e36ee5da89352d500

Best regards,

Signature · 1 line
Khem Raj <[email protected]>
#2 lore raw
In reply to [email protected]

btw, there is a ptest failure

    Failed ptests:
    {'python3-pylint':

['tests/test_functional.py::test_functional[deprecated_module_py310]',

'tests/test_functional.py::test_functional[regression_distutil_import_error_73]']}

Csn you look into it ?

bitbake meta-python3-ptest-python3-pylint
should be able to show these failures with ptest in distro features.

Quoted 51 lines · wangmy

From: Wang Mingyu <[email protected]>

Changelog:
===========

(quoted diff) +0 -6
-Fixed false positive for unnecessary-lambda when the call has keyword
 arguments but not the lambda.
-Fixed incorrect suggestion for shallow copy in unnecessary-comprehension
-Fix false positives for undefined-variable and unused-argument for
 classes and functions using Python 3.12 generic type syntax.
-Fixed pointless-string-statement false positive for docstrings
 on Python 3.12 type aliases.
-Fix false positive for invalid-exception-operation when concatenating tuples
 of exception types.
-Fix a bug where pylint was unable to walk recursively through a directory if
 the directory has an __init__.py file.
---
 .../python/{python3-pylint_3.0.2.bb => python3-pylint_3.0.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pylint_3.0.2.bb => python3-pylint_3.0.3.bb} (97%)
meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb renamed from meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb +1 -2
similarity index 97%
rename from meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
rename to meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb
index 8af74b7cb..09ab1f26f 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
 SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.0.x;protocol=https \
            file://run-ptest \
            "
-SRCREV = "efee9618894795cc8847727108522aa79431ee25"
+SRCREV = "1a5ffc1f447b77071ffe18a9c6836c09147ee2ed"
 
 inherit python_setuptools_build_meta ptest
 
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107471): https://lists.openembedded.org/g/openembedded-devel/message/107471
Mute This Topic: https://lists.openembedded.org/mt/103181847/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-