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
Open
chore(deps): update dependency astroid to v4#446renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
21f5de5 to
9d1f5a8
Compare
9d1f5a8 to
c10890d
Compare
c10890d to
3fb3bf1
Compare
3fb3bf1 to
b5482ac
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
b5482ac to
8defb99
Compare
8defb99 to
18674d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==3.2.2→==4.0.4Release Notes
pylint-dev/astroid (astroid)
v4.0.4Compare Source
============================
Release date: 2026-02-07
Fix
is_namespace()crash when search locations containpathlib.Pathobjects.Closes #2942
v4.0.3Compare Source
============================
Release date: 2026-01-03
Fix inference of
IfExp(ternary expression) nodes to avoid prematurely narrowingresults 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.2Compare Source
============================
Release date: 2025-11-09
Handle FunctionDef blockstart_tolineno edge cases correctly.
Refs #2880
Add
HTTPMethodenum support to brain module for Python 3.11+.Refs pylint-dev/pylint#10624
Closes #2877
v4.0.1Compare Source
============================
Release date: 2025-10-11
Suppress
SyntaxWarningfor invalid escape sequences and return in finally onPython 3.14 when parsing modules.
Assign
ImportandImportFromnodes to module locals if used withglobal.Closes pylint-dev/pylint#10632
v4.0.0Compare 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-nameonattrsclasses withClassVarannotated 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, andattribute_looks_like_numpy_memberfromastroid.brain.brain_numpy_utils.To alleviate circular imports, the
managerargument toAstroidBuilder()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
patharg inmodpath_from_file_with_callbackto be higher thansys.pathFollowing a deprecation period, the
futureargument was removed fromstatement()andframe().Improve consistency of
JoinedStrinference by not raisingInferenceErrorandreturning either
Uninferableor a fully resolvedConst.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
propertydecoratorsCloses #10377
Modify
astroid.basesandtests.test_nodesto reflect thatenum.propertywas added in Python 3.11, not 3.10Fix incorrect result in
_get_relative_base_pathwhen the target directory name starts with the base pathCloses #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.TemplateStrandast.Interpolationadded in Python 3.14.Refs #2789
Add support for type parameter defaults added in Python 3.13.
Improve
as_string()representation forTypeVar,ParamSpecandTypeVarTuplenodes, as well astype parameter in
ClassDef,FuncDefandTypeAliasnodes (PEP 695).Astroid now correctly supports the
exceptionsattribute ofExceptionGroup.Closes pylint-dev/pylint#8985
Closes pylint-dev/pylint#10558
Deprecate importing node classes from
astroiddirectly. This will be removed in v5.It's recommended to import them from
astroid.nodesinstead.Refs #2837
v3.3.11Compare 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
sixdecorator.Closes #2721
v3.3.10Compare Source
=============================
Release date: 2025-05-10
Avoid importing submodules sharing names with standard library modules.
Closes #2684
Fix bug where
pylint code.custom_extensionwould analyzecode.pyorcode.pyiinstead if they existed.Closes pylint-dev/pylint#3631
v3.3.9Compare Source
============================
Release date: 2025-03-09
Fix crash when
sys.modulescontains lazy loader objects during checking.Closes #2686
Closes pylint-dev/pylint#8589
Upload release assets to PyPI via Trusted Publishing.
Refs pylint-dev/pylint#10256
v3.3.8Compare Source
============================
Release date: 2024-12-23
Fix inability to import
collections.abcin python 3.13.1. The reported fixes in astroid 3.3.6and 3.3.7 did not actually fix this issue.
Closes pylint-dev/pylint#10112
v3.3.7Compare Source
============================
Release date: 2024-12-20
This release was yanked.
Fix inability to import
collections.abcin python 3.13.1. The reported fix in astroid 3.3.6did not actually fix this issue.
Closes pylint-dev/pylint#10112
v3.3.6Compare Source
============================
Release date: 2024-12-08
Fix inability to import
collections.abcin 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.5Compare 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.abcCloses pylint-dev/pylint#10000
v3.3.4Compare Source
============================
Release date: 2024-09-23
Fix regression with f-string inference.
Closes pylint-dev/pylint#9947
Fix bug with
manager.clear_cache()not fully clearing cache.Refs pylint-dev/pylint#9932 (comment)
Fix a crash from inferring empty format specs.
Closes pylint-dev/pylint#9945
v3.3.3Compare 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-memberfalse positives.Closes #2514
v3.3.2Compare Source
============================
Release date: 2024-08-11
Restore support for soft-deprecated members of the
typingmodule with python 3.13.Refs pylint-dev/pylint#9852
v3.3.1Compare 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
sixdecorator.Closes #2721
v3.3.0Compare Source
============================
Release date: 2024-08-04
Add support for Python 3.13.
Remove support for Python 3.8 (and constants
PY38,PY39_PLUS, andPYPY_7_3_11_PLUS).Refs #2443
Add the
__annotations__attribute to theClassDefobject 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.4Compare Source
============================
Release date: 2024-07-20
Avoid reporting unary/binary op type errors when inference is ambiguous.
Closes #2467
v3.2.3Compare Source
============================
Release date: 2024-07-11
AssertionErrorwhen 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.
This PR was generated by Mend Renovate. View the repository job log.