python313Packages.pscript: disable failing test (#372088)
This commit is contained in:
@@ -5,22 +5,25 @@
|
||||
pytestCheckHook,
|
||||
nodejs,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pscript";
|
||||
version = "0.7.7";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flexxui";
|
||||
repo = pname;
|
||||
repo = "pscript";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-AhVI+7FiWyH+DfAXnau4aAHJAJtsWEpmnU90ey2z35o=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
nodejs
|
||||
@@ -33,6 +36,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pscript" ];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/flexxui/pscript/issues/69
|
||||
"test_async_and_await"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python to JavaScript compiler";
|
||||
homepage = "https://pscript.readthedocs.io";
|
||||
|
||||
Reference in New Issue
Block a user