Skip to content

Update astroid requirement from <4.1.0,>=4.0.2 to >=4.0.2,<4.2.0 in /community/front-end/ofe#5442

Merged
aslam-quad merged 1 commit into
developfrom
dependabot/pip/community/front-end/ofe/develop/astroid-gte-4.0.2-and-lt-4.2.0
Apr 2, 2026
Merged

Update astroid requirement from <4.1.0,>=4.0.2 to >=4.0.2,<4.2.0 in /community/front-end/ofe#5442
aslam-quad merged 1 commit into
developfrom
dependabot/pip/community/front-end/ofe/develop/astroid-gte-4.0.2-and-lt-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on astroid to permit the latest version.

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

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 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)

Updates the requirements on [astroid](https://github.com/pylint-dev/astroid) to permit the latest version.
- [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.2...v4.1.2)

---
updated-dependencies:
- dependency-name: astroid
  dependency-version: 4.1.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code release-chore To not include into release notes labels Apr 1, 2026
@dependabot dependabot Bot requested review from a team and samskillman as code owners April 1, 2026 11:35
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code release-chore To not include into release notes labels Apr 1, 2026
@github-actions github-actions Bot added the external PR from external contributor label Apr 1, 2026
@aslam-quad

Copy link
Copy Markdown
Contributor

/gcbrun

@aslam-quad aslam-quad merged commit cea40f4 into develop Apr 2, 2026
20 of 90 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/community/front-end/ofe/develop/astroid-gte-4.0.2-and-lt-4.2.0 branch April 2, 2026 10:42
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 external PR from external contributor python Pull requests that update Python code release-chore To not include into release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants