Unverified Commit 362c51fb authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.pscript: disable failing test (#372088)

parents 38fb94c1 cae08e5c
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -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";