python3Packages.neoteroi-mkdocs: fix tests on sandboxed darwin
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
pytestCheckHook,
|
||||
rich,
|
||||
setuptools,
|
||||
stdenv,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "neoteroi-mkdocs";
|
||||
@@ -48,6 +49,13 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "neoteroi.mkdocs" ];
|
||||
|
||||
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# These tests start a server using a hardcoded port, and since
|
||||
# multiple Python versions are always built simultaneously, this
|
||||
# failure is quite likely to occur.
|
||||
"tests/test_http.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Neoteroi/mkdocs-plugins";
|
||||
description = "Plugins for MkDocs";
|
||||
|
||||
Reference in New Issue
Block a user