Skip to content

chore(deps-dev): bump astroid from 4.0.3 to 4.1.2#435

Open
dependabot[bot] wants to merge 2 commits into
devfrom
dependabot/uv/dev/astroid-4.1.2
Open

chore(deps-dev): bump astroid from 4.0.3 to 4.1.2#435
dependabot[bot] wants to merge 2 commits into
devfrom
dependabot/uv/dev/astroid-4.1.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 25, 2026

Bumps astroid from 4.0.3 to 4.1.2.

Release notes

Sourced from astroid's releases.

v4.1.2

What's New in astroid 4.1.2?

Release date: 2026-03-22

  • Fix crash accessing property fset in generic classes with type annotations. Closes #2996

  • Fix infinite recursion caused by cyclic inference in Constraint.

  • Fix RecursionError in _compute_mro() when circular class hierarchies are created through runtime name rebinding. Circular bases are now resolved to the original class instead of recursing.

    Closes #2967 Closes pylint-dev/pylint#10821

  • Fix DuplicateBasesError crash in dataclass transform when a class has duplicate bases in its MRO (e.g., Protocol appearing both directly and indirectly). Catch MroError at .mro() call sites in brain_dataclasses.py, consistent with the existing pattern elsewhere.

    Closes #2628

  • Fix FunctionModel returning descriptor attributes for builtin functions.

    Closes #2743

  • Catch MemoryError when inferring f-strings with extremely large format widths (e.g. f'{0:11111111111}') so that inference yields Uninferable instead of crashing.

    Closes #2762

  • Fix ValueError in __str__/repr and error messages when nodes have extreme values (very long identifiers or large integers). Clamp pprint width to a minimum of 1 and truncate oversized values in error messages.

    Closes #2764

v4.1.1

What's New in astroid 4.1.1?

Release date: 2026-02-22

  • Let UnboundMethodModel inherit from FunctionModel to improve inference of dunder methods for unbound methods.

    Refs #2741

... (truncated)

Changelog

Sourced from astroid's changelog.

What's New in astroid 4.1.2?

Release date: 2026-03-22

  • Fix crash accessing property fset in generic classes with type annotations. Closes #2996

  • Fix infinite recursion caused by cyclic inference in Constraint.

  • Fix RecursionError in _compute_mro() when circular class hierarchies are created through runtime name rebinding. Circular bases are now resolved to the original class instead of recursing.

    Closes #2967 Closes pylint-dev/pylint#10821

  • Fix DuplicateBasesError crash in dataclass transform when a class has duplicate bases in its MRO (e.g., Protocol appearing both directly and indirectly). Catch MroError at .mro() call sites in brain_dataclasses.py, consistent with the existing pattern elsewhere.

    Closes #2628

  • Fix FunctionModel returning descriptor attributes for builtin functions.

    Closes #2743

  • Catch MemoryError when inferring f-strings with extremely large format widths (e.g. f'{0:11111111111}') so that inference yields Uninferable instead of crashing.

    Closes #2762

  • Fix ValueError in __str__/repr and error messages when nodes have extreme values (very long identifiers or large integers). Clamp pprint width to a minimum of 1 and truncate oversized values in error messages.

    Closes #2764

What's New in astroid 4.1.1?

Release date: 2026-02-22

  • Let UnboundMethodModel inherit from FunctionModel to improve inference of dunder methods for unbound methods.

    Refs #2741

  • Filter Unknown from UnboundMethod and Super special attribute

... (truncated)

Commits
  • 91dac13 Bump astroid to 4.1.2, update changelog (#3011)
  • 796eba8 objectmodel: fix crash analyzing property fset in generic classes with type a...
  • ca814f0 Update CI workflow to include maintenance branch (#2999)
  • 7593877 [Backport maintenance/4.1.x] Fix cyclic inference by constraints (#2998)
  • 3f63f90 Fix builtin functions incorrectly exposing descriptor attributes (#2983)
  • be7479e Fix ValueError in str/repr and error messages with extreme values (#2971)
  • 1c9938d Fix RecursionError in _compute_mro() on circular class hierarchies (#2968)
  • 98938ad [Backport maintenance/4.1.x] Fix DuplicateBasesError crash in dataclass trans...
  • 33fabe0 [Backport maintenance/4.1.x] Fix MemoryError when inferring f-string with lar...
  • f11d7ae Bump astroid to 4.1.1, update changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [astroid](https://github.com/pylint-dev/astroid) from 4.0.3 to 4.1.2.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](pylint-dev/astroid@v4.0.3...v4.1.2)

---
updated-dependencies:
- dependency-name: astroid
  dependency-version: 4.1.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Mar 25, 2026
@winstonsung winstonsung added this to Main Mar 25, 2026
@winstonsung winstonsung moved this to Todo in Main Mar 25, 2026
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

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant