---
title: "astroid 4.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each astroid release removed, renamed or changed: 728 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/astroid
last_updated: 2026-12-04
---

# 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

Latest version `4.4.1`, released December 2, 2026. [Source repository](https://github.com/pylint-dev/astroid)

Its 4.0.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 157 breaking changes in 1 version.

## astroid 4.0.0 breaking changes

astroid 4.0.0, released October 5, 2025: 157 breaking changes.

- **Removed**  

Support for Python 3.9 was removed in this release. [github.com](https://github.com/pylint-dev/astroid/blob/v4.0.0/ChangeLog)
- **Removed** `astroid.__pkginfo__`  

astroid.\_\_pkginfo\_\_ was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.AnnAssign`  

astroid.AnnAssign was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Arguments`  

astroid.Arguments was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Assert`  

astroid.Assert was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Assign`  

astroid.Assign was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.AssignAttr`  

astroid.AssignAttr was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.AssignName`  

astroid.AssignName was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.AsyncFor`  

astroid.AsyncFor was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.AsyncFunctionDef`  

astroid.AsyncFunctionDef was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.AsyncWith`  

astroid.AsyncWith was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Attribute`  

astroid.Attribute was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.AugAssign`  

astroid.AugAssign was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Await`  

astroid.Await was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.BinOp`  

astroid.BinOp was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.BoolOp`  

astroid.BoolOp was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.brain.brain_namedtuple_enum.astroid`  

Importing node classes from astroid directly is deprecated; import them from astroid.nodes instead. [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.brain.brain_nose`  

astroid.brain.brain_nose was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **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](https://pypi.org/project/astroid/4.0.0/)
- **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](https://pypi.org/project/astroid/4.0.0/)
- **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](https://pypi.org/project/astroid/4.0.0/)
- **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](https://pypi.org/project/astroid/4.0.0/)
- **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](https://pypi.org/project/astroid/4.0.0/)
- **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](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Break`  

astroid.Break was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Call`  

astroid.Call was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.ClassDef`  

astroid.ClassDef was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Compare`  

astroid.Compare was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Comprehension`  

astroid.Comprehension was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.ComprehensionScope`  

astroid.ComprehensionScope was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Const`  

astroid.Const was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.const.PY310_PLUS`  

astroid.const.PY310_PLUS was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Continue`  

astroid.Continue was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Decorators`  

astroid.Decorators was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.DelAttr`  

astroid.DelAttr was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Delete`  

astroid.Delete was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.DelName`  

astroid.DelName was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Dict`  

astroid.Dict was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.DictComp`  

astroid.DictComp was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.DictUnpack`  

astroid.DictUnpack was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.EmptyNode`  

astroid.EmptyNode was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.EvaluatedObject`  

astroid.EvaluatedObject was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.ExceptHandler`  

astroid.ExceptHandler was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Expr`  

astroid.Expr was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.For`  

astroid.For was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.FormattedValue`  

astroid.FormattedValue was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.FunctionDef`  

astroid.FunctionDef was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.GeneratorExp`  

astroid.GeneratorExp was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.Global`  

astroid.Global was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)
- **Removed** `astroid.If`  

astroid.If was removed in astroid 4.0.0 [pypi.org](https://pypi.org/project/astroid/4.0.0/)

And 107 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## astroid 3.0.0 breaking changes

astroid 3.0.0, released September 26, 2023: 571 breaking changes.

- **Removed**  

Python 3.7 is no longer supported, so code running on it must move to a newer Python. [github.com](https://github.com/pylint-dev/astroid/blob/v3.0.0/ChangeLog)
- **Removed** `astroid.bases.BOOL_SPECIAL_METHOD`  

Removes the BOOL_SPECIAL_METHOD constant in astroid 3.0.0 [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.bases.BUILTINS`  

Removes the bases.BUILTINS constant in astroid 3.0.0 [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.bases.helpers`  

astroid.bases.helpers was removed in astroid 3.0.0 [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.bases.InferBinaryOp`  

astroid.bases.InferBinaryOp was removed in astroid 3.0.0 [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.bases.lazy_descriptor`  

Removed along with the lazy_object_proxy dependency. [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.bases.lazy_import`  

Removed along with the lazy_object_proxy dependency. [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.bases.manager`  

astroid.bases.manager was removed in astroid 3.0.0 [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.BinaryOperationError`  

astroid.BinaryOperationError was removed in astroid 3.0.0 [pypi.org](https://pypi.org/project/astroid/3.0.0/)
- **Removed** `astroid.BRAIN_MODULES_DIRECTORY`  

astroid.BRAIN_MODULES_DIRECTORY was removed in astroid 3.0.0 [pypi.org](https://pypi.org/project/astroid/3.0.0/)

And 561 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
