diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2022-11-13 08:51:34 -0800 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2022-11-20 16:23:40 -0800 |
commit | d0e0bababe8d010a8abac3c1c2372f5ec42a3905 (patch) | |
tree | e6a97a434154f9276b29e160a4e39e8c3509bba1 /pkgs/development/python-modules/astroid/default.nix | |
parent | 231da8ef225fac545de2a1891e8f96c21ccbad35 (diff) |
python310Packages.astroid: 2.11.7 -> 2.12.12
Diffstat (limited to 'pkgs/development/python-modules/astroid/default.nix')
-rw-r--r-- | pkgs/development/python-modules/astroid/default.nix | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/astroid/default.nix b/pkgs/development/python-modules/astroid/default.nix index 6cde2e7550307..9cacef4ac79af 100644 --- a/pkgs/development/python-modules/astroid/default.nix +++ b/pkgs/development/python-modules/astroid/default.nix @@ -1,12 +1,10 @@ { lib , buildPythonPackage , fetchFromGitHub -, pythonAtLeast , pythonOlder , isPyPy , lazy-object-proxy , setuptools -, setuptools-scm , typing-extensions , typed-ast , pylint @@ -16,26 +14,24 @@ buildPythonPackage rec { 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 { owner = "PyCQA"; repo = pname; rev = "v${version}"; - sha256 = "sha256-HpniGxKf+daMh/sxP9T9UriYRrUFWqk7kDa8r+EqtVI="; + hash = "sha256-FN/bBAxx9p1iAB3WXIZyyKv/zse7xtXzslclADMbouA="; }; - SETUPTOOLS_SCM_PRETEND_VERSION = version; - nativeBuildInputs = [ - setuptools-scm + setuptools ]; propagatedBuildInputs = [ lazy-object-proxy - setuptools wrapt ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions @@ -45,11 +41,7 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook - ]; - - 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" + typing-extensions ]; passthru.tests = { |