Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Ex-maintainers
Maintainers
-----------
- Pierre Sassoulas <[email protected]>
- Jacob Walls <[email protected]>
- Daniël van Noord <[email protected]>
- Jacob Walls <[email protected]>
- Marc Mueller <[email protected]>
- Hippo91 <[email protected]>
- Bryce Guinta <[email protected]>
Expand Down
15 changes: 12 additions & 3 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,25 @@ What's New in astroid 4.1.0?
Release date: TBA


* Add ``HTTPMethod`` enum support to brain module for Python 3.11+.

Closes #4135
What's New in astroid 4.0.3?
============================
Release date: TBA



What's New in astroid 4.0.2?
============================
Release date: TBA
Release date: 2025-11-09

* Handle FunctionDef blockstart_tolineno edge cases correctly.

Refs #2880

* Add ``HTTPMethod`` enum support to brain module for Python 3.11+.

Refs pylint-dev/pylint#10624
Closes #2877

What's New in astroid 4.0.1?
============================
Expand Down
2 changes: 1 addition & 1 deletion astroid/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt

__version__ = "4.0.1"
__version__ = "4.0.2"
version = __version__
1 change: 0 additions & 1 deletion astroid/interpreter/_import/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def is_namespace(modname: str) -> bool:

# Repair last_submodule_search_locations
if last_submodule_search_locations:
# pylint: disable=unsubscriptable-object
last_item = last_submodule_search_locations[-1]
# e.g. for failure example above, add 'a/b' and keep going
# so that find_spec('a.b.c', path=['a', 'a/b']) succeeds
Expand Down
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ unsafe-load-any-extension=no
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=
extension-pkg-whitelist=mypy

# Minimum supported python version
py-version = 3.10.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# Tools used during development, prefer running these with pre-commit
black
pre-commit
pylint>=3.2.7
pylint>=4.0.0
ruff
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/pylint-dev/astroid"

[version]
current = "4.0.1"
current = "4.0.2"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_raw_building.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from __future__ import annotations

import _io
import _io # pylint: disable=wrong-import-order
import logging
import os
import sys
Expand Down