Merge pull request #232198 from fabaff/pegen-fix

python311Packages.pegen: disable failing test on Python 3.11
This commit is contained in:
Ryan Lahfa 2023-05-16 17:07:50 +02:00 committed by GitHub
commit 68ef836a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, setuptools
, setuptools-scm
@ -36,6 +37,11 @@ buildPythonPackage rec {
"pegen"
];
disabledTests = lib.optionals (pythonAtLeast "3.11") [
# https://github.com/we-like-parsers/pegen/issues/89
"test_invalid_def_stmt"
];
meta = with lib; {
description = "Library to generate PEG parsers";
homepage = "https://github.com/we-like-parsers/pegen";