diff --git a/pkgs/development/python-modules/pegen/default.nix b/pkgs/development/python-modules/pegen/default.nix index e433865a5b6c..0a5f8269e7c9 100644 --- a/pkgs/development/python-modules/pegen/default.nix +++ b/pkgs/development/python-modules/pegen/default.nix @@ -42,6 +42,12 @@ buildPythonPackage rec { "test_invalid_def_stmt" ]; + disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [ + "tests/python_parser/test_ast_parsing.py" + "tests/python_parser/test_syntax_error_handling.py" + "tests/python_parser/test_unsupported_syntax.py" + ]; + meta = with lib; { description = "Library to generate PEG parsers"; homepage = "https://github.com/we-like-parsers/pegen";