Skip to content

Bump astroid from 4.0.4 to 4.3.1 - #2

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 20, 2026

Copy link
Copy Markdown

Bumps astroid from 4.0.4 to 4.3.1.

Release notes

Sourced from astroid's releases.

4.3.1

What's New in astroid 4.3.1?

Release date: 2026-08-17

  • Fix inference of the attributes of a namedtuple created with rename=True. The renamed fields were applied to _fields and to the class body, but the instance kept the field names as written, so an instance of namedtuple("Tuple", "abc def", rename=True) was inferred as having a def attribute instead of _1, and duplicate field names collapsed into a single attribute instead of being renamed.

    Closes #242

v4.3.0

What's New in astroid 4.3.0?

Release date: 2026-08-07

Version 4.2.0 was skipped: a v4.2.0 tag was created by mistake during an aborted release attempt, so the changes from the 4.2.0 betas are released as 4.3.0.

  • Fix a crash on a functional namedtuple whose field name changes under NFKC normalization, such as namedtuple("mu", ["µ"]). Python normalizes identifiers, so the parsed class stores the field under "μ" while the brain looked it up as written, raising KeyError on a definition that namedtuple itself accepts.

    Closes pylint-dev/pylint#8746

  • Fix inference of a method's first argument (self or cls) when the method's return value is stored on an unrelated object. This avoids inferring cls as the caller's class when indexing a tuple returned by a classmethod such as A.c()[0].

    Closes pylint-dev/pylint#11101

  • super() with no argument now resolves against the class of the object the method was called on, instead of the class the method is written in. One consequence is that a typing.Self return value survives a chain of super() calls.

    Closes #2852 Closes pylint-dev/pylint#10807

  • typing.overload stubs no longer shadow the implementation when a special method is looked up in the MRO.

    Closes #2448

... (truncated)

Changelog

Sourced from astroid's changelog.

What's New in astroid 4.3.1?

Release date: 2026-08-17

  • Fix inference of the attributes of a namedtuple created with rename=True. The renamed fields were applied to _fields and to the class body, but the instance kept the field names as written, so an instance of namedtuple("Tuple", "abc def", rename=True) was inferred as having a def attribute instead of _1, and duplicate field names collapsed into a single attribute instead of being renamed.

    Closes #242

What's New in astroid 4.3.0?

Release date: 2026-08-07

Version 4.2.0 was skipped: a v4.2.0 tag was created by mistake during an aborted release attempt, so the changes from the 4.2.0 betas are released as 4.3.0.

  • Fix a crash on a functional namedtuple whose field name changes under NFKC normalization, such as namedtuple("mu", ["µ"]). Python normalizes identifiers, so the parsed class stores the field under "μ" while the brain looked it up as written, raising KeyError on a definition that namedtuple itself accepts.

    Closes pylint-dev/pylint#8746

  • Fix inference of a method's first argument (self or cls) when the method's return value is stored on an unrelated object. This avoids inferring cls as the caller's class when indexing a tuple returned by a classmethod such as A.c()[0].

    Closes pylint-dev/pylint#11101

  • super() with no argument now resolves against the class of the object the method was called on, instead of the class the method is written in. One consequence is that a typing.Self return value survives a chain of super() calls.

    Closes #2852 Closes pylint-dev/pylint#10807

  • typing.overload stubs no longer shadow the implementation when a special method is looked up in the MRO.

    Closes #2448

  • Fix a crash when the field names of a functional Enum or namedtuple

... (truncated)

Commits
  • 4ea15d4 Bump astroid to 4.3.1, update changelog (#3225)
  • 38edf0e [Backport maintenance/4.3.x] Give a renamed namedtuple's instance the renamed...
  • a52596a Bump astroid to 4.3.0, update changelog
  • 3dfb6ca Rename the 4.2.0 changelog section to 4.3.0
  • 941430e Ignore typing.overload stubs in dunder lookup (#3150)
  • 1e71c7d Fix crash on a namedtuple field name that changes under NFKC normalization (#...
  • 3316637 Fix crash on a dataclass base that annotates init (#3206)
  • 8577346 Infer the value of a data descriptor as unknown
  • 8666418 Fix crash in has_known_bases() for a non-class metaclass
  • 5952c15 Fix crash on non-name assignment targets in typing.NamedTuple body
  • 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.4 to 4.3.1.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/v4.3.1/ChangeLog)
- [Commits](pylint-dev/astroid@v4.0.4...v4.3.1)

---
updated-dependencies:
- dependency-name: astroid
  dependency-version: 4.3.1
  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 Sep 20, 2026
@bjbishop

Copy link
Copy Markdown
Owner

@dependabot ignore this minor version

@dependabot dependabot Bot closed this Sep 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 20, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you about version 4.3.x again, unless you re-open this PR.

@dependabot
dependabot Bot deleted the dependabot/pip/astroid-4.3.1 branch September 20, 2026 02:06
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