Skip to content

Bump astroid from 4.0.3 to 4.1.0#175

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

Bump astroid from 4.0.3 to 4.1.0#175
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/astroid-4.1.0

Conversation

@dependabot
Copy link
Copy Markdown
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 Pull requests that update a dependency file python Pull requests that update python code labels Feb 9, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/astroid-4.1.0 branch from 203fc97 to c9e0d5f Compare February 9, 2026 15:49
@dependabot dependabot Bot force-pushed the dependabot/pip/astroid-4.1.0 branch from c9e0d5f to 439b926 Compare February 20, 2026 14:55
@nikolas
Copy link
Copy Markdown
Member

nikolas commented Feb 20, 2026

@dependabot rebase

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 439b926 to 538007b Compare February 20, 2026 15:21
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Feb 23, 2026

Superseded by #205.

@dependabot dependabot Bot closed this Feb 23, 2026
@dependabot dependabot Bot deleted the dependabot/pip/astroid-4.1.0 branch February 23, 2026 11:22
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 Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant