From a53b38be9a6046db0e2261ab8c627dd48a28d704 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 4 Aug 2025 19:17:38 +0200 Subject: [PATCH] python3Packages.astroid: 3.3.10 -> 3.3.11 https://github.com/PyCQA/astroid/blob/v3.3.11/ChangeLog --- pkgs/development/python-modules/astroid/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/astroid/default.nix b/pkgs/development/python-modules/astroid/default.nix index 2e82ff76ea46..645fa378aea7 100644 --- a/pkgs/development/python-modules/astroid/default.nix +++ b/pkgs/development/python-modules/astroid/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "astroid"; - version = "3.3.10"; # Check whether the version is compatible with pylint + version = "3.3.11"; # Check whether the version is compatible with pylint pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "PyCQA"; repo = "astroid"; tag = "v${version}"; - hash = "sha256-q4ZPXz2xaKJ39q6g1c9agktKSCfbRp+3INDfXg/wP8k="; + hash = "sha256-lv+BQDYP7N4UGMf7XhB6HVDORPU0kZQPYveQWOcAqfQ="; }; nativeBuildInputs = [ setuptools ]; @@ -33,6 +33,11 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. + "test_identify_old_namespace_package_protocol" + ]; + disabledTestPaths = [ # requires mypy "tests/test_raw_building.py"