python3Packages.neoteroi-mkdocs: fix tests on sandboxed darwin

+8
+8
pkgs/development/python-modules/neoteroi-mkdocs/default.nix
··· 12 pytestCheckHook, 13 rich, 14 setuptools, 15 }: 16 buildPythonPackage rec { 17 pname = "neoteroi-mkdocs"; ··· 47 ]; 48 49 pythonImportsCheck = [ "neoteroi.mkdocs" ]; 50 51 meta = with lib; { 52 homepage = "https://github.com/Neoteroi/mkdocs-plugins";
··· 12 pytestCheckHook, 13 rich, 14 setuptools, 15 + stdenv, 16 }: 17 buildPythonPackage rec { 18 pname = "neoteroi-mkdocs"; ··· 48 ]; 49 50 pythonImportsCheck = [ "neoteroi.mkdocs" ]; 51 + 52 + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ 53 + # These tests start a server using a hardcoded port, and since 54 + # multiple Python versions are always built simultaneously, this 55 + # failure is quite likely to occur. 56 + "tests/test_http.py" 57 + ]; 58 59 meta = with lib; { 60 homepage = "https://github.com/Neoteroi/mkdocs-plugins";