diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/executing/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/executing/default.nix | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/executing/default.nix b/nixpkgs/pkgs/development/python-modules/executing/default.nix index 484f5690054a..aad9455156d1 100644 --- a/nixpkgs/pkgs/development/python-modules/executing/default.nix +++ b/nixpkgs/pkgs/development/python-modules/executing/default.nix @@ -1,18 +1,23 @@ { lib -, asttokens , buildPythonPackage , fetchFromGitHub -, littleutils -, pytestCheckHook , pythonAtLeast , pythonOlder -, rich + +# build-system +, setuptools , setuptools-scm + +# tests +, asttokens +, littleutils +, rich +, pytestCheckHook }: buildPythonPackage rec { pname = "executing"; - version = "1.2.0"; + version = "2.0.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -21,12 +26,11 @@ buildPythonPackage rec { owner = "alexmojaki"; repo = pname; rev = "v${version}"; - hash = "sha256-3M3uSJ5xQ5Ciy8Lz21u9zjju/7SBSFHobCqSiJ6AP8M="; + hash = "sha256-PBvfkv9GQ5Vj5I5SygtmHXtqqHMJ4XgNV1/I+lSU0/U="; }; - SETUPTOOLS_SCM_PRETEND_VERSION = version; - nativeBuildInputs = [ + setuptools setuptools-scm ]; @@ -38,6 +42,11 @@ buildPythonPackage rec { rich ]; + disabledTests = [ + # requires ipython, which causes a circular dependency + "test_two_statement_lookups" + ]; + pythonImportsCheck = [ "executing" ]; |