Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

chore(deps): update dependency astroid to v4#446

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/astroid-4.x
Open

chore(deps): update dependency astroid to v4#446
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/astroid-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 5, 2025

This PR contains the following updates:

Package Change Age Confidence
astroid ==3.2.2==4.0.4 age confidence

Release Notes

pylint-dev/astroid (astroid)

v4.0.4

Compare Source

============================
Release date: 2026-02-07

  • Fix is_namespace() crash when search locations contain pathlib.Path objects.

    Closes #​2942

v4.0.3

Compare Source

============================
Release date: 2026-01-03

  • Fix inference of IfExp (ternary expression) nodes to avoid prematurely narrowing
    results in the face of inference ambiguity.

    Closes #​2899

  • Fix base class inference for dataclasses using the PEP 695 typing syntax.

    Refs pylint-dev/pylint#10788

v4.0.2

Compare Source

============================
Release date: 2025-11-09

v4.0.1

Compare Source

============================
Release date: 2025-10-11

  • Suppress SyntaxWarning for invalid escape sequences and return in finally on
    Python 3.14 when parsing modules.

  • Assign Import and ImportFrom nodes to module locals if used with global.

    Closes pylint-dev/pylint#10632

v4.0.0

Compare Source

============================
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().

  • Improve consistency of JoinedStr inference by not raising InferenceError and
    returning either Uninferable or a fully resolved Const.

    Closes #​2621

  • Fix crash when typing._alias() call is missing arguments.

    Closes #​2513

  • Remove support for Python 3.9 (and constant PY310_PLUS).

  • Include subclasses of standard property classes as property decorators

    Closes #​10377

  • Modify astroid.bases and tests.test_nodes to reflect that enum.property was added in Python 3.11, not 3.10

  • Fix incorrect result in _get_relative_base_path when the target directory name starts with the base path

    Closes #​2608

  • The brain for nose was dropped. nose has been deprecated for 10 years and the brain required some maintenance.

    Refs #​2765

  • Fix a crash when the root of a node is not a module but is unknown.

    Closes #​2672

  • Add basic support for ast.TemplateStr and ast.Interpolation added in Python 3.14.

    Refs #​2789

  • Add support for type parameter defaults added in Python 3.13.

  • Improve as_string() representation for TypeVar, ParamSpec and TypeVarTuple nodes, as well as
    type parameter in ClassDef, FuncDef and TypeAlias nodes (PEP 695).

  • Astroid now correctly supports the exceptions attribute of ExceptionGroup.

    Closes pylint-dev/pylint#8985
    Closes pylint-dev/pylint#10558

  • Deprecate importing node classes from astroid directly. This will be removed in v5.
    It's recommended to import them from astroid.nodes instead.

    Refs #​2837

v3.3.11

Compare Source

=============================
Release date: 2025-07-13

  • Fix a crash when parsing an empty arbitrary expression with extract_node (extract_node("__()")).

    Closes #​2734

  • Fix a crash when parsing a slice called in a decorator on a function that is also decorated with
    a known six decorator.

    Closes #​2721

v3.3.10

Compare Source

=============================
Release date: 2025-05-10

  • Avoid importing submodules sharing names with standard library modules.

    Closes #​2684

  • Fix bug where pylint code.custom_extension would analyze code.py or code.pyi instead if they existed.

    Closes pylint-dev/pylint#3631

v3.3.9

Compare Source

============================
Release date: 2025-03-09

v3.3.8

Compare Source

============================
Release date: 2024-12-23

  • Fix inability to import collections.abc in python 3.13.1. The reported fixes in astroid 3.3.6
    and 3.3.7 did not actually fix this issue.

    Closes pylint-dev/pylint#10112

v3.3.7

Compare Source

============================
Release date: 2024-12-20

This release was yanked.

  • Fix inability to import collections.abc in python 3.13.1. The reported fix in astroid 3.3.6
    did not actually fix this issue.

    Closes pylint-dev/pylint#10112

v3.3.6

Compare Source

============================
Release date: 2024-12-08

  • Fix inability to import collections.abc in python 3.13.1.
    It was later found that this did not resolve the linked issue. It was fixed in astroid 3.3.7

    Closes pylint-dev/pylint#10112

  • Fix crash when typing._alias() call is missing arguments.

    Closes #​2513

v3.3.5

Compare Source

============================
Release date: 2024-10-04

  • Control setting local nodes outside of the supposed local's constructor.

    Closes #​1490

  • Fix Python 3.13 compatibility re: collections.abc

    Closes pylint-dev/pylint#10000

v3.3.4

Compare Source

============================
Release date: 2024-09-23

v3.3.3

Compare Source

============================
Release date: 2024-09-20

  • Fix inference regression with property setters.

    Closes pylint-dev/pylint#9811

  • Add annotation-only instance attributes to attrs classes to fix no-member false positives.

    Closes #​2514

v3.3.2

Compare Source

============================
Release date: 2024-08-11

  • Restore support for soft-deprecated members of the typing module with python 3.13.

    Refs pylint-dev/pylint#9852

v3.3.1

Compare Source

=============================
Release date: 2025-07-13

  • Fix a crash when parsing an empty arbitrary expression with extract_node (extract_node("__()")).

    Closes #​2734

  • Fix a crash when parsing a slice called in a decorator on a function that is also decorated with
    a known six decorator.

    Closes #​2721

v3.3.0

Compare Source

============================
Release date: 2024-08-04

  • Add support for Python 3.13.

  • Remove support for Python 3.8 (and constants PY38, PY39_PLUS, and PYPY_7_3_11_PLUS).

    Refs #​2443

  • Add the __annotations__ attribute to the ClassDef object model.

    Closes pylint-dev/pylint#7126

  • Implement inference for JoinedStr and FormattedValue

  • Add support for ssl.OP_LEGACY_SERVER_CONNECT (new in Python 3.12).

    Closes pylint-dev/pylint#9849

v3.2.4

Compare Source

============================
Release date: 2024-07-20

  • Avoid reporting unary/binary op type errors when inference is ambiguous.

    Closes #​2467

v3.2.3

Compare Source

============================
Release date: 2024-07-11

  • Fix AssertionError when inferring a property consisting of a partial function.

Closes pylint-dev/pylint#9214


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added breaking dependencies Pull requests that update a dependency file labels Oct 5, 2025
@renovate renovate bot force-pushed the renovate/astroid-4.x branch from 21f5de5 to 9d1f5a8 Compare October 11, 2025 17:42
@renovate renovate bot force-pushed the renovate/astroid-4.x branch from 9d1f5a8 to c10890d Compare November 9, 2025 22:10
@renovate renovate bot force-pushed the renovate/astroid-4.x branch from c10890d to 3fb3bf1 Compare January 4, 2026 00:49
@renovate renovate bot force-pushed the renovate/astroid-4.x branch from 3fb3bf1 to b5482ac Compare February 1, 2026 14:45
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.68%. Comparing base (728b309) to head (18674d0).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #446   +/-   ##
=======================================
  Coverage   81.68%   81.68%           
=======================================
  Files          17       17           
  Lines        1092     1092           
  Branches       65       65           
=======================================
  Hits          892      892           
  Misses        170      170           
  Partials       30       30           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot force-pushed the renovate/astroid-4.x branch from b5482ac to 8defb99 Compare February 2, 2026 17:48
@renovate renovate bot force-pushed the renovate/astroid-4.x branch from 8defb99 to 18674d0 Compare February 8, 2026 01:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

breaking dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants