python312Packages.sphinx: disable failing test

This commit is contained in:
Martin Weinelt
2024-06-16 00:38:13 +02:00
parent 8bcc42fc59
commit f3731419c8
@@ -1,6 +1,7 @@
{
lib,
buildPythonPackage,
pythonAtLeast,
pythonOlder,
fetchFromGitHub,
isPyPy,
@@ -116,6 +117,10 @@ buildPythonPackage rec {
# Could not fetch remote image: http://localhost:7777/sphinx.png
"test_copy_images"
]
++ lib.optionals (pythonAtLeast "3.12") [
# https://github.com/sphinx-doc/sphinx/issues/12430
"test_autodoc_type_aliases"
]
++ lib.optionals isPyPy [
# PyPy has not __builtins__ which get asserted
# https://doc.pypy.org/en/latest/cpython_differences.html#miscellaneous