python310Packages.astroid: 2.11.7 -> 2.12.12
This commit is contained in:
parent
231da8ef22
commit
d0e0bababe
1 changed files with 6 additions and 14 deletions
|
@ -1,12 +1,10 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonAtLeast
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, lazy-object-proxy
|
, lazy-object-proxy
|
||||||
, setuptools
|
, setuptools
|
||||||
, setuptools-scm
|
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, typed-ast
|
, typed-ast
|
||||||
, pylint
|
, pylint
|
||||||
|
@ -16,26 +14,24 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "astroid";
|
pname = "astroid";
|
||||||
version = "2.11.7"; # Check whether the version is compatible with pylint
|
version = "2.12.12"; # Check whether the version is compatible with pylint
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6.2";
|
disabled = pythonOlder "3.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PyCQA";
|
owner = "PyCQA";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-HpniGxKf+daMh/sxP9T9UriYRrUFWqk7kDa8r+EqtVI=";
|
hash = "sha256-FN/bBAxx9p1iAB3WXIZyyKv/zse7xtXzslclADMbouA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
lazy-object-proxy
|
lazy-object-proxy
|
||||||
setuptools
|
|
||||||
wrapt
|
wrapt
|
||||||
] ++ lib.optionals (pythonOlder "3.10") [
|
] ++ lib.optionals (pythonOlder "3.10") [
|
||||||
typing-extensions
|
typing-extensions
|
||||||
|
@ -45,11 +41,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
typing-extensions
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
# AssertionError: Lists differ: ['ABC[16 chars]yBase', 'Final', 'Generic', 'MyProtocol', 'Protocol', 'object'] != ['ABC[16 chars]yBase', 'Final', 'Generic', 'MyProtocol', 'object']
|
|
||||||
"test_mro_typing_extensions"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
|
|
Loading…
Reference in a new issue