Skip to content

Bump pylint from 4.0.5 to 4.0.9 - #306

Merged
Radhika Gupta (rads-1996) merged 1 commit into
mainfrom
dependabot/uv/pylint-4.0.9
Oct 30, 2026
Merged

Radhika Gupta (rads-1996) merged 1 commit into
mainfrom
dependabot/uv/pylint-4.0.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Bumps pylint from 4.0.5 to 4.0.9.

Release notes

Sourced from pylint's releases.

v4.0.9

What's new in Pylint 4.0.9?

Release date: 2026-09-23

Security Fixes

  • Someone without access to the configuration or linted code, but with access to the cache directory (predictable PYLINT_HOME on a multi-user host) can no longer write a crafted pickle that will runs arbitrary code when pylint access its stat cache. The result cache is now stored as JSON instead of pickle, preventing code-execution. The workaround is upgrading or not pointing PYLINT_HOME to an untrusted, shared, or group-writable directory. The default value, ~/.cache/pylint, is writable only by the user running pylint. (CVE with the same information pending)

False Positives Fixed

  • Fixed a false positive for no-self-use on a method that only uses self before a locally defined class (or other nested method), because the checker's could-be-a-function tracking state was not restored after visiting the nested method.

    Closes #3705

  • Fix a false positive for :ref:not-callable when calling functions constructed with types.FunctionType or types.LambdaType.

    Closes #7500

  • Fix a false positive for unnecessary-direct-lambda-call when a directly called lambda in a class body wraps a comprehension containing an assignment expression. PEP 572 makes that a SyntaxError without the lambda's scope, so following the message produced code that would not compile.

    Closes #9294

  • Fix a false positive for :ref:unnecessary-ellipsis when an ellipsis is the sole body statement of a method defined on a Protocol.

    Closes #9319

  • Fix a false positive for :ref:bad-exception-cause when the bases of the class being raised from cannot be inferred, such as an exception deriving from a C extension class. :ref:raising-non-exception and :ref:catching-non-exception already guard the same inherit_from_std_ex

... (truncated)

Commits
  • 303703f Bump pylint to 4.0.9, update changelog (#11448)
  • b342384 Fix block-scoped disable leaking into sibling elif/else blocks (#11429) (#11445)
  • 58c87cf Store the results cache as JSON instead of pickle
  • e3f4942 [Backport maintenance/4.0.x] Fix crash on failed attribute inference (#11443)
  • faf47f9 [Backport maintenance/4.0.x] Fix false positive no-self-use when a method con...
  • 20c7bb9 [Backport maintenance/4.0.x] Fix a crash in method-hidden for methods named a...
  • 47e6757 [Backport maintenance/4.0.x] Fix bad-exception-cause false positive when the ...
  • ae3ee53 [Backport maintenance/4.0.x] Fix not-callable false positive for types.Functi...
  • 3e444be [Backport maintenance/4.0.x] Fix a crash in unnecessary-default-type-args for...
  • 8f2dd4f [Backport maintenance/4.0.x] Fix declare-non-slot false positives for ClassVa...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 27, 2026
Copilot AI balanced review requested due to automatic review settings October 27, 2026 20:43
@dependabot dependabot Bot added the python:uv Pull requests that update python:uv code label Oct 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the Pylint 4.0.9 dependency update.

No open issues 🎉

What changed in this PR

Updates the project’s development linting dependency to Pylint 4.0.9, which includes a cache security fix and linting bug fixes.

Changes:

  • Raises the development dependency minimum from Pylint 3.3 to 4.0.9.
  • Updates the locked version from 4.0.5 to 4.0.9, refreshes package artifacts, and advances the lockfile revision.
File Description
uv.lock Locks Pylint 4.0.9 with updated metadata and artifact hashes.
pyproject.toml Requires Pylint 4.0.9 or newer for development.

Review effort: Balanced

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Performance comparison

Threshold: regressions >15.0% on gating scenarios fail the build. Higher ops/s is better; positive Δ means the PR is slower.

Scenario Gating Baseline (ops/s) Candidate (ops/s) Δ % Status
azure_monitor_log yes 45,886.3 46,163.8 -0.60% ✅
azure_monitor_span yes 264,515.3 280,504.9 -5.70% ✅
otel_log no 55,102.5 54,833.6 +0.49% ✅
otel_span no 83,766.1 84,979.8 -1.43% ✅

@rads-1996

Copy link
Copy Markdown
Member

Dependabot (@dependabot) rebase .

@dependabot
dependabot Bot force-pushed the dependabot/uv/pylint-4.0.9 branch from 85d4048 to 7ffa765 Compare October 27, 2026 21:00
Copilot AI balanced review requested due to automatic review settings October 27, 2026 21:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The Pylint development-dependency update has no active review issues.

No open issues 🎉

Review effort: Balanced

@rads-1996

Copy link
Copy Markdown
Member

Dependabot (@dependabot) rebase .

1 similar comment
@rads-1996

Copy link
Copy Markdown
Member

Dependabot (@dependabot) rebase .

@dependabot
dependabot Bot force-pushed the dependabot/uv/pylint-4.0.9 branch from 7ffa765 to 0068e4c Compare October 27, 2026 23:14
Copilot AI balanced review requested due to automatic review settings October 27, 2026 23:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the Pylint dependency update, though tests and linting were not run.

No open issues 🎉

Review effort: Balanced

Bumps [pylint](https://github.com/pylint-dev/pylint) from 4.0.5 to 4.0.9.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v4.0.5...v4.0.9)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 4.0.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Copilot AI balanced review requested due to automatic review settings October 30, 2026 15:02
@dependabot
dependabot Bot force-pushed the dependabot/uv/pylint-4.0.9 branch from 0068e4c to f6568eb Compare October 30, 2026 15:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the development-only Pylint dependency and lockfile update.

No open issues 🎉

Review effort: Balanced

@rads-1996
Radhika Gupta (rads-1996) merged commit 47a1060 into main Oct 30, 2026
16 checks passed
@rads-1996
Radhika Gupta (rads-1996) deleted the dependabot/uv/pylint-4.0.9 branch October 30, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants