astroid breaking changes
astroid 4.0.0 (October 5, 2025) is its newest release with breaking changes, 157 of them. The first: astroid 4.0.0 drops support for Python 3.9. Every breaking API change we have recorded in astroid on PyPI: 728 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.4.1, released December 2, 2026. Source repository
Its 4.0.0 release drops Python 3.9. Python end of life dates.
astroid 4.0.0 breaking changes
- Removed
Support for Python 3.9 was removed in this release. github.com - Removed
astroid.__pkginfo__
astroid.__pkginfo__ was removed in astroid 4.0.0 pypi.org - Removed
astroid.AnnAssign
astroid.AnnAssign was removed in astroid 4.0.0 pypi.org - Removed
astroid.Arguments
astroid.Arguments was removed in astroid 4.0.0 pypi.org - Removed
astroid.Assert
astroid.Assert was removed in astroid 4.0.0 pypi.org - Removed
astroid.Assign
astroid.Assign was removed in astroid 4.0.0 pypi.org - Removed
astroid.AssignAttr
astroid.AssignAttr was removed in astroid 4.0.0 pypi.org - Removed
astroid.AssignName
astroid.AssignName was removed in astroid 4.0.0 pypi.org - Removed
astroid.AsyncFor
astroid.AsyncFor was removed in astroid 4.0.0 pypi.org - Removed
astroid.AsyncFunctionDef
astroid.AsyncFunctionDef was removed in astroid 4.0.0 pypi.org - Removed
astroid.AsyncWith
astroid.AsyncWith was removed in astroid 4.0.0 pypi.org - Removed
astroid.Attribute
astroid.Attribute was removed in astroid 4.0.0 pypi.org - Removed
astroid.AugAssign
astroid.AugAssign was removed in astroid 4.0.0 pypi.org - Removed
astroid.Await
astroid.Await was removed in astroid 4.0.0 pypi.org - Removed
astroid.BinOp
astroid.BinOp was removed in astroid 4.0.0 pypi.org - Removed
astroid.BoolOp
astroid.BoolOp was removed in astroid 4.0.0 pypi.org - Removed
astroid.brain.brain_namedtuple_enum.astroid
Importing node classes from astroid directly is deprecated; import them from astroid.nodes instead. pypi.org - Removed
astroid.brain.brain_nose
astroid.brain.brain_nose was removed in astroid 4.0.0 pypi.org - Removed
astroid.brain.brain_numpy_core_function_base.attribute_looks_like_numpy_member
astroid.brain.brain_numpy_core_function_base.attribute_looks_like_numpy_member was removed in astroid 4.0.0 pypi.org - Removed
astroid.brain.brain_numpy_core_function_base.infer_numpy_member
astroid.brain.brain_numpy_core_function_base.infer_numpy_member was removed in astroid 4.0.0 pypi.org - Removed
astroid.brain.brain_numpy_core_multiarray.name_looks_like_numpy_member
astroid.brain.brain_numpy_core_multiarray.name_looks_like_numpy_member was removed in astroid 4.0.0 pypi.org - Removed
astroid.brain.brain_numpy_utils.attribute_looks_like_numpy_member
The internal function attribute_looks_like_numpy_member was removed from astroid.brain.brain_numpy_utils; code that imports it will fail. pypi.org - Removed
astroid.brain.brain_numpy_utils.infer_numpy_member
The internal function infer_numpy_member was removed from astroid.brain.brain_numpy_utils; code that imports it will fail. pypi.org - Removed
astroid.brain.brain_numpy_utils.name_looks_like_numpy_member
The internal function name_looks_like_numpy_member was removed from astroid.brain.brain_numpy_utils; code that imports it will fail. pypi.org - Removed
astroid.Break
astroid.Break was removed in astroid 4.0.0 pypi.org - Removed
astroid.Call
astroid.Call was removed in astroid 4.0.0 pypi.org - Removed
astroid.ClassDef
astroid.ClassDef was removed in astroid 4.0.0 pypi.org - Removed
astroid.Compare
astroid.Compare was removed in astroid 4.0.0 pypi.org - Removed
astroid.Comprehension
astroid.Comprehension was removed in astroid 4.0.0 pypi.org - Removed
astroid.ComprehensionScope
astroid.ComprehensionScope was removed in astroid 4.0.0 pypi.org - Removed
astroid.Const
astroid.Const was removed in astroid 4.0.0 pypi.org - Removed
astroid.const.PY310_PLUS
astroid.const.PY310_PLUS was removed in astroid 4.0.0 pypi.org - Removed
astroid.Continue
astroid.Continue was removed in astroid 4.0.0 pypi.org - Removed
astroid.Decorators
astroid.Decorators was removed in astroid 4.0.0 pypi.org - Removed
astroid.DelAttr
astroid.DelAttr was removed in astroid 4.0.0 pypi.org - Removed
astroid.Delete
astroid.Delete was removed in astroid 4.0.0 pypi.org - Removed
astroid.DelName
astroid.DelName was removed in astroid 4.0.0 pypi.org - Removed
astroid.Dict
astroid.Dict was removed in astroid 4.0.0 pypi.org - Removed
astroid.DictComp
astroid.DictComp was removed in astroid 4.0.0 pypi.org - Removed
astroid.DictUnpack
astroid.DictUnpack was removed in astroid 4.0.0 pypi.org - Removed
astroid.EmptyNode
astroid.EmptyNode was removed in astroid 4.0.0 pypi.org - Removed
astroid.EvaluatedObject
astroid.EvaluatedObject was removed in astroid 4.0.0 pypi.org - Removed
astroid.ExceptHandler
astroid.ExceptHandler was removed in astroid 4.0.0 pypi.org - Removed
astroid.Expr
astroid.Expr was removed in astroid 4.0.0 pypi.org - Removed
astroid.For
astroid.For was removed in astroid 4.0.0 pypi.org - Removed
astroid.FormattedValue
astroid.FormattedValue was removed in astroid 4.0.0 pypi.org - Removed
astroid.FunctionDef
astroid.FunctionDef was removed in astroid 4.0.0 pypi.org - Removed
astroid.GeneratorExp
astroid.GeneratorExp was removed in astroid 4.0.0 pypi.org - Removed
astroid.Global
astroid.Global was removed in astroid 4.0.0 pypi.org - Removed
astroid.If
astroid.If was removed in astroid 4.0.0 pypi.org
And 107 more in this version. Sign up to see every change
astroid 3.0.0 breaking changes
- Removed
Python 3.7 is no longer supported, so code running on it must move to a newer Python. github.com - Removed
astroid.bases.BOOL_SPECIAL_METHOD
Removes the BOOL_SPECIAL_METHOD constant in astroid 3.0.0 pypi.org - Removed
astroid.bases.BUILTINS
Removes the bases.BUILTINS constant in astroid 3.0.0 pypi.org - Removed
astroid.bases.helpers
astroid.bases.helpers was removed in astroid 3.0.0 pypi.org - Removed
astroid.bases.InferBinaryOp
astroid.bases.InferBinaryOp was removed in astroid 3.0.0 pypi.org - Removed
astroid.bases.lazy_descriptor
Removed along with the lazy_object_proxy dependency. pypi.org - Removed
astroid.bases.lazy_import
Removed along with the lazy_object_proxy dependency. pypi.org - Removed
astroid.bases.manager
astroid.bases.manager was removed in astroid 3.0.0 pypi.org - Removed
astroid.BinaryOperationError
astroid.BinaryOperationError was removed in astroid 3.0.0 pypi.org - Removed
astroid.BRAIN_MODULES_DIRECTORY
astroid.BRAIN_MODULES_DIRECTORY was removed in astroid 3.0.0 pypi.org
And 561 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.