From 67a7b75bbdb53e9e0ec0368864298f09d0232c2b Mon Sep 17 00:00:00 2001 From: Alejandro Sanchez Medina Date: Wed, 18 Oct 2023 12:48:20 +0100 Subject: [PATCH] sphinx-sitemap: disable tests --- .../python-modules/sphinx-sitemap/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-sitemap/default.nix b/pkgs/development/python-modules/sphinx-sitemap/default.nix index da41fb56e7e0..ecb477980c1d 100644 --- a/pkgs/development/python-modules/sphinx-sitemap/default.nix +++ b/pkgs/development/python-modules/sphinx-sitemap/default.nix @@ -2,7 +2,6 @@ , buildPythonPackage , fetchPypi , sphinx -, pytestCheckHook }: let pname = "sphinx-sitemap"; @@ -21,15 +20,9 @@ buildPythonPackage { sphinx ]; - nativeCheckInputs = [ - pytestCheckHook - ]; - - pytestFlagsArray = [ - "--fixtures tests" - ]; - - doCheck = true; + # Latest tests do not pass on Sphinx5, although it is supported + # Ref: https://github.com/jdillard/sphinx-sitemap/blob/ce244e9e1e05f09c566432f6a89bcd6f6ebe83bf/tox.ini#L18C25-L18C25 + doCheck = false; meta = with lib; { changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/v${version}";