From 7b337580a3e56dfb7cfde8fe8cc31e2e71cc74eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 2 Jul 2023 21:52:33 +0200 Subject: [PATCH] pypy3Packages.sphinx: disable broken tests --- .../development/python-modules/sphinx/default.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinx/default.nix b/pkgs/development/python-modules/sphinx/default.nix index 1e14bc7a6133..eb559c414860 100644 --- a/pkgs/development/python-modules/sphinx/default.nix +++ b/pkgs/development/python-modules/sphinx/default.nix @@ -3,7 +3,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub -, fetchpatch +, isPyPy # nativeBuildInputs , flit-core @@ -144,6 +144,19 @@ buildPythonPackage rec { "test_auth_header_no_match" "test_follows_redirects_on_GET" "test_connect_to_selfsigned_fails" + ] ++ lib.optionals isPyPy [ + # PyPy has not __builtins__ which get asserted + # https://doc.pypy.org/en/latest/cpython_differences.html#miscellaneous + "test_autosummary_generate_content_for_module" + "test_autosummary_generate_content_for_module_skipped" + # internals are asserted which are sightly different in PyPy + "test_autodoc_inherited_members_None" + "test_automethod_for_builtin" + "test_builtin_function" + "test_cython" + "test_isattributedescriptor" + "test_methoddescriptor" + "test_partialfunction" ]; meta = with lib; {