diff --git a/pylint-3.3.1-gh.tar.gz b/pylint-3.3.1-gh.tar.gz deleted file mode 100644 index 3aa13f5..0000000 --- a/pylint-3.3.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3343069bd6f6fcf220cfac79db466f69a509213ed1f0bedc9887600eb0b58084 -size 1453572 diff --git a/pylint-3.3.6-gh.tar.gz b/pylint-3.3.6-gh.tar.gz new file mode 100644 index 0000000..5bba6f6 --- /dev/null +++ b/pylint-3.3.6-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5a0f3da7beb89ef03fa4353e52fbf742daf2dea3dc57ef401957c2201dfeea5 +size 1456483 diff --git a/python-pylint.changes b/python-pylint.changes index 1f5288d..ee058af 100644 --- a/python-pylint.changes +++ b/python-pylint.changes @@ -1,4 +1,37 @@ ------------------------------------------------------------------- +Tue Apr 8 03:29:21 UTC 2025 - Steve Kowalik + +- Update to 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. + * 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. + * Fix false positives for undefined-variable for classes using Python 3.12 + generic type syntax. + * Fix a false positive for use-implicit-booleaness-not-len. No lint should + be emitted for generators (len is not defined for generators). + * Fix Unable to import 'collections.abc' (import-error) on Python 3.13.1. + * Fix a false positive for potential-index-error when an indexed iterable + contains a starred element that evaluates to more than one item. + * Fixes the issue with --source-root option not working when the source + files are in a subdirectory of the source root (e.g. when using a /src + layout). +------------------------------------------------------------------- Thu Sep 26 09:24:16 UTC 2024 - Ben Greiner - Revert restriction to python3. diff --git a/python-pylint.spec b/python-pylint.spec index 8f3981d..6593128 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -1,7 +1,7 @@ # # spec file for package python-pylint # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %bcond_without tests %{?sle15_python_module_pythons} Name: python-pylint -Version: 3.3.1 +Version: 3.3.6 Release: 0 Summary: Syntax and style checker for Python code License: GPL-2.0-or-later @@ -35,8 +35,8 @@ BuildRequires: python-rpm-macros Requires: python-dill >= 0.3.7 Requires: python-platformdirs >= 2.2 Requires: python-tomlkit >= 0.10.1 -Requires: (python-astroid >= 3.3.4 with python-astroid < 3.4.0~dev0) -Requires: (python-isort >= 4.2.5 with python-isort < 6) +Requires: (python-astroid >= 3.3.8 with python-astroid < 4.0.0~dev0) +Requires: (python-isort >= 4.2.5 with python-isort < 7) Requires: (python-mccabe >= 0.6 with python-mccabe < 0.8) %if 0%{?python_version_nodots} < 311 Requires: python-tomli >= 1.1.0 @@ -46,10 +46,10 @@ Requires: python-typing-extensions >= 3.10 %endif %if %{with tests} # SECTION pylint deps -BuildRequires: %{python_module astroid >= 3.3.4 with %python-astroid < 3.4.0~dev0} +BuildRequires: %{python_module astroid >= 3.3.8 with %python-astroid < 4.0.0~dev0} BuildRequires: %{python_module dill >= 0.3.7} BuildRequires: %{python_module enchant} -BuildRequires: %{python_module isort >= 4.2.5 with %python-isort < 6} +BuildRequires: %{python_module isort >= 4.2.5 with %python-isort < 7} BuildRequires: %{python_module mccabe >= 0.6 with %python-mccabe < 0.8} BuildRequires: %{python_module platformdirs >= 2.2} BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11}