python3Packages.astroid: 2.12.13 -> 2.14.2

This commit is contained in:
Martin Weinelt 2023-02-27 02:14:07 +01:00
parent 52e9c9440b
commit bac097a66b

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "astroid";
version = "2.12.13"; # Check whether the version is compatible with pylint
version = "2.14.2"; # Check whether the version is compatible with pylint
format = "pyproject";
disabled = pythonOlder "3.7.2";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "PyCQA";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-C4A/JOFdIRgaZuV/YOLc4nC05XTtRCC1i0BcGBEG5ps=";
hash = "sha256-SIBzn57UNn/sLuDWt391M/kcCyjCocHmL5qi2cSX2iA=";
};
nativeBuildInputs = [
@ -33,7 +33,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
lazy-object-proxy
wrapt
] ++ lib.optionals (pythonOlder "3.10") [
] ++ lib.optionals (pythonOlder "3.11") [
typing-extensions
] ++ lib.optionals (!isPyPy && pythonOlder "3.8") [
typed-ast
@ -44,6 +44,11 @@ buildPythonPackage rec {
typing-extensions
];
disabledTests = [
# DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('tests.testdata.python3.data.path_pkg_resources_1.package')`.
"test_identify_old_namespace_package_protocol"
];
passthru.tests = {
inherit pylint;
};