python3Packages.astroid: 4.0.1 -> 4.0.3, python3Packages.pylint: 4.0.2 -> 4.0.4 (#476953)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -20,20 +20,19 @@
|
||||
tomli,
|
||||
tomlkit,
|
||||
typing-extensions,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pylint";
|
||||
version = "4.0.2";
|
||||
version = "4.0.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pylint-dev";
|
||||
repo = "pylint";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-DzS5ORhFWmA+eEhGDdpXdHLgWTfw198S7pQueBk44Cw=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-mKI/sRYl2ZwZ3JklmqBTs7vRG9EA4zDHaW61d/Xozb4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -58,6 +57,7 @@ buildPythonPackage rec {
|
||||
pytest7CheckHook
|
||||
requests
|
||||
typing-extensions
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pytestFlags = [
|
||||
@@ -69,10 +69,6 @@ buildPythonPackage rec {
|
||||
"-v"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TEMPDIR
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/benchmark"
|
||||
# tests miss multiple input files
|
||||
@@ -109,7 +105,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Bug and style checker for Python";
|
||||
homepage = "https://pylint.readthedocs.io/en/stable/";
|
||||
changelog = "https://github.com/pylint-dev/pylint/releases/tag/v${version}";
|
||||
changelog = "https://github.com/pylint-dev/pylint/releases/tag/${finalAttrs.src.tag}";
|
||||
longDescription = ''
|
||||
Pylint is a Python static code analysis tool which looks for programming errors,
|
||||
helps enforcing a coding standard, sniffs for code smells and offers simple
|
||||
@@ -123,4 +119,4 @@ buildPythonPackage rec {
|
||||
maintainers = [ ];
|
||||
mainProgram = "pylint";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user