python311Packages.astroid: 2.15.6 -> 3.0.1
Diff: https://github.com/PyCQA/astroid/compare/refs/tags/v2.15.6...v3.0.1 Changelog: https://github.com/PyCQA/astroid/blob/refs/tags/v3.0.1/ChangeLog
This commit is contained in:
@@ -2,55 +2,38 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, isPyPy
|
||||
, lazy-object-proxy
|
||||
, setuptools
|
||||
, wheel
|
||||
, typing-extensions
|
||||
, typed-ast
|
||||
, pip
|
||||
, pylint
|
||||
, pytestCheckHook
|
||||
, wrapt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astroid";
|
||||
version = "2.15.6"; # Check whether the version is compatible with pylint
|
||||
format = "pyproject";
|
||||
version = "3.0.1"; # Check whether the version is compatible with pylint
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7.2";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
repo = "astroid";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0oNNEVD8rYGkM11nGUD+XMwE7xgk7mJIaplrAXaECFg=";
|
||||
hash = "sha256-z6FmB3I3VmiIx0MSsrkvHmDVv2h3CaaeXlDG3DewGXw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lazy-object-proxy
|
||||
wrapt
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [
|
||||
typing-extensions
|
||||
] ++ lib.optionals (!isPyPy && pythonOlder "3.8") [
|
||||
typed-ast
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pip
|
||||
pytestCheckHook
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user