Merge pull request #117627 from rmcgibbo/python3Packages.executing
python3Packages.executing: 0.4.3 -> 0.5.4
This commit is contained in:
commit
ddee833e59
@ -1,15 +1,27 @@
|
|||||||
{ lib, buildPythonPackage, fetchzip, pytest, asttokens }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, asttokens
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "executing";
|
pname = "executing";
|
||||||
version = "0.4.3";
|
version = "0.5.4";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/alexmojaki/executing/archive/v${version}.tar.gz";
|
owner = "alexmojaki";
|
||||||
sha256 = "1fqfc26nl703nsx2flzf7x4mgr3rpbd8pnn9c195rca648zhi3nh";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1hqx94h6l2wg9sljiaajfay2nr62sqa819w3bxrz8cdki1abdygv";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest asttokens ];
|
preBuild = ''
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Tests appear to run fine (Ran 22 tests in 4.076s) with setuptoolsCheckPhase
|
||||||
|
# but crash with pytestCheckHook
|
||||||
|
checkInputs = [ asttokens ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Get information about what a frame is currently doing, particularly the AST node being executed";
|
description = "Get information about what a frame is currently doing, particularly the AST node being executed";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user