Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 6, 2025

Bumps astroid from 3.3.11 to 4.0.0.

Release notes

Sourced from astroid's releases.

v4.0.0

What's New in astroid 4.0.0?

Release date: 2025-10-05

  • Support constraints from ternary expressions in inference.

    Closes pylint-dev/pylint#9729

  • Handle deprecated bool(NotImplemented) cast in const nodes.

  • Add support for boolean truthiness constraints (x, not x) in inference.

    Closes pylint-dev/pylint#9515

  • Fix false positive invalid-name on attrs classes with ClassVar annotated variables.

    Closes pylint-dev/pylint#10525

  • Prevent crash when parsing deeply nested parentheses causing MemoryError in python's built-in ast.

    Closes #2643

  • Fix crash when inferring namedtuple with invalid field name looking like f-string formatting.

    Closes #2519

  • Fix false positive no-member in except * handler.

    Closes pylint-dev/pylint#9056

  • Fix crash when comparing invalid dict literal

    Closes #2522

  • Removed internal functions infer_numpy_member, name_looks_like_numpy_member, and attribute_looks_like_numpy_member from astroid.brain.brain_numpy_utils.

  • To alleviate circular imports, the manager argument to AstroidBuilder() is now required.

  • Constants now have a parent of nodes.SYNTHETIC_ROOT.

  • Fix crashes with large positive and negative list multipliers.

    Closes #2521 Closes #2523

  • Fix precedence of path arg in modpath_from_file_with_callback to be higher than sys.path

  • Following a deprecation period, the future argument was removed from statement() and frame().

... (truncated)

Changelog

Sourced from astroid's changelog.

What's New in astroid 4.0.0?

Release date: 2025-10-05

  • Support constraints from ternary expressions in inference.

    Closes pylint-dev/pylint#9729

  • Handle deprecated bool(NotImplemented) cast in const nodes.

  • Add support for boolean truthiness constraints (x, not x) in inference.

    Closes pylint-dev/pylint#9515

  • Fix false positive invalid-name on attrs classes with ClassVar annotated variables.

    Closes pylint-dev/pylint#10525

  • Prevent crash when parsing deeply nested parentheses causing MemoryError in python's built-in ast.

    Closes #2643

  • Fix crash when inferring namedtuple with invalid field name looking like f-string formatting.

    Closes #2519

  • Fix false positive no-member in except * handler.

    Closes pylint-dev/pylint#9056

  • Fix crash when comparing invalid dict literal

    Closes #2522

  • Removed internal functions infer_numpy_member, name_looks_like_numpy_member, and attribute_looks_like_numpy_member from astroid.brain.brain_numpy_utils.

  • To alleviate circular imports, the manager argument to AstroidBuilder() is now required.

  • Constants now have a parent of nodes.SYNTHETIC_ROOT.

  • Fix crashes with large positive and negative list multipliers.

    Closes #2521 Closes #2523

  • Fix precedence of path arg in modpath_from_file_with_callback to be higher than sys.path

  • Following a deprecation period, the future argument was removed from statement() and frame().

... (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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 Oct 6, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 6, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@winstonsung
Copy link
Collaborator

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/development/astroid-4.0.0 branch from 696abd8 to 95299f8 Compare October 6, 2025 05:32
@winstonsung winstonsung force-pushed the dependabot/pip/development/astroid-4.0.0 branch from 95299f8 to fbd8681 Compare October 6, 2025 05:32
@winstonsung winstonsung marked this pull request as draft October 6, 2025 05:33
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.3.11 to 4.0.0.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](pylint-dev/astroid@v3.3.11...v4.0.0)

---
updated-dependencies:
- dependency-name: astroid
  dependency-version: 4.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@winstonsung winstonsung force-pushed the dependabot/pip/development/astroid-4.0.0 branch from fbd8681 to 406c7c1 Compare October 6, 2025 05:43
@winstonsung winstonsung marked this pull request as ready for review October 19, 2025 04:45
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 19, 2025

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/development/astroid-4.0.0 branch October 19, 2025 04:45
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.

2 participants