Skip to content

Bump astroid from 4.0.3 to 4.1.0#6538

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/astroid-4.1.0
Closed

Bump astroid from 4.0.3 to 4.1.0#6538
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/astroid-4.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2026

Bumps astroid from 4.0.3 to 4.1.0.

Release notes

Sourced from astroid's releases.

v4.1.0

What's New in astroid 4.1.0?

Release date: 2026-02-08

  • Add support for equality constraints (==, !=) in inference. Closes pylint-dev/pylint#3632 Closes pylint-dev/pylint#3633

  • Ensure ast.JoinedStr nodes are Uninferable when the ast.FormattedValue is Uninferable. This prevents unexpected-keyword-arg messages in Pylint where the Uninferable string appeared in function arguments that were constructed dynamically.

    Closes pylint-dev/pylint#10822

  • Add support for type constraints (isinstance(x, y)) in inference.

    Closes pylint-dev/pylint#1162 Closes pylint-dev/pylint#4635 Closes pylint-dev/pylint#10469

  • Make type.__new__() raise clear errors instead of returning None

  • Move object dunder methods from FunctionModel to ObjectModel to make them available on all object types, not just functions.

    Closes #2742 Closes #2741 Closes pylint-dev/pylint#6094

  • lineno and end_lineno are now available on Arguments.

  • Add helper to iterate over all annotations nodes of function arguments, Arguments.get_annotations().

    Refs #2860

  • Skip direct parent when determining the Decorator frame.

    Refs pylint-dev/pylint#8425

  • Add simple command line interface for astroid to output generated AST. Use with python -m astroid.

  • Fix incorrect type inference for super().method() calls that return Self. Previously, astroid would infer the parent class type instead of the child class type, causing pylint E1101 false positives in method chaining scenarios.

    Closes #457

... (truncated)

Changelog

Sourced from astroid's changelog.

What's New in astroid 4.1.0?

Release date: 2026-02-08

  • Add support for equality constraints (==, !=) in inference. Closes pylint-dev/pylint#3632 Closes pylint-dev/pylint#3633

  • Ensure ast.JoinedStr nodes are Uninferable when the ast.FormattedValue is Uninferable. This prevents unexpected-keyword-arg messages in Pylint where the Uninferable string appeared in function arguments that were constructed dynamically.

    Closes pylint-dev/pylint#10822

  • Add support for type constraints (isinstance(x, y)) in inference.

    Closes pylint-dev/pylint#1162 Closes pylint-dev/pylint#4635 Closes pylint-dev/pylint#10469

  • Make type.__new__() raise clear errors instead of returning None

  • Move object dunder methods from FunctionModel to ObjectModel to make them available on all object types, not just functions.

    Closes #2742 Closes #2741 Closes pylint-dev/pylint#6094

  • lineno and end_lineno are now available on Arguments.

  • Add helper to iterate over all annotations nodes of function arguments, Arguments.get_annotations().

    Refs #2860

  • Skip direct parent when determining the Decorator frame.

    Refs pylint-dev/pylint#8425

  • Add simple command line interface for astroid to output generated AST. Use with python -m astroid.

  • Fix incorrect type inference for super().method() calls that return Self. Previously, astroid would infer the parent class type instead of the child class type, causing pylint E1101 false positives in method chaining scenarios.

    Closes #457

... (truncated)

Commits

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)

@dependabot dependabot bot added dependencies Updates of external dependencies python Pull requests that update Python code labels Feb 9, 2026
@agners agners marked this pull request as draft February 9, 2026 10:25
@agners
Copy link
Member

agners commented Feb 9, 2026

Needs pylint update, not released yet.

Bumps [astroid](https://github.com/pylint-dev/astroid) from 4.0.3 to 4.1.0.
- [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.0)

---
updated-dependencies:
- dependency-name: astroid
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/astroid-4.1.0 branch from 40af879 to 26f4b11 Compare February 10, 2026 09:30
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 23, 2026

Superseded by #6585.

@dependabot dependabot bot closed this Feb 23, 2026
@dependabot dependabot bot deleted the dependabot/pip/astroid-4.1.0 branch February 23, 2026 06:07
@github-actions github-actions bot locked and limited conversation to collaborators Feb 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Updates of external dependencies python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant