python3Packages.astroid: 4.0.1 -> 4.0.3

Diff: https://github.com/PyCQA/astroid/compare/v4.0.1...v4.0.3

Changelog: https://github.com/PyCQA/astroid/blob/v4.0.3/ChangeLog
This commit is contained in:
Gaetan Lepage
2026-01-05 19:42:26 +00:00
parent 574ec5369e
commit cab2dd30f6
@@ -10,23 +10,21 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "astroid";
version = "4.0.1"; # Check whether the version is compatible with pylint
version = "4.0.3"; # Check whether the version is compatible with pylint
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "PyCQA";
repo = "astroid";
tag = "v${version}";
hash = "sha256-Ulifj+ym0j0LqhmKPfM8vVCjz71Gwd483ke3PkMnHb8=";
tag = "v${finalAttrs.version}";
hash = "sha256-5p1xY6EWviSgmrLVOx3w7RcG/Vpx+sUtVndoxXrIFTQ=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ typing-extensions ];
dependencies = lib.optionals (pythonOlder "3.11") [ typing-extensions ];
nativeCheckInputs = [
pip
@@ -48,10 +46,10 @@ buildPythonPackage rec {
};
meta = {
changelog = "https://github.com/PyCQA/astroid/blob/v${version}/ChangeLog";
changelog = "https://github.com/PyCQA/astroid/blob/${finalAttrs.src.tag}/ChangeLog";
description = "Abstract syntax tree for Python with inference support";
homepage = "https://github.com/PyCQA/astroid";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
})