Skip to content

chore(deps-dev): bump astroid from 4.0.3 to 4.1.0#405

Closed
dependabot[bot] wants to merge 2 commits intodevfrom
dependabot/pip/dev/astroid-4.1.0
Closed

chore(deps-dev): bump astroid from 4.0.3 to 4.1.0#405
dependabot[bot] wants to merge 2 commits intodevfrom
dependabot/pip/dev/astroid-4.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 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)

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: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 Pull requests that update Python code labels Feb 23, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 24, 2026

A newer version of astroid exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 24, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/dev/astroid-4.1.0 branch February 24, 2026 09:53
@winstonsung winstonsung moved this from Done to Closed in Archive 存檔 / 5th term 第5屆 Feb 24, 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 Pull requests that update Python code

Projects

Development

Successfully merging this pull request may close these issues.

1 participant