python3Packages.ffmpeg-progress-yield: fix build on Darwin by disabling failing tests

This commit is contained in:
Eamon Caton
2025-09-08 06:12:19 -07:00
parent d9300b2cbd
commit 339bd06f2d
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
setuptools,
@@ -40,6 +41,16 @@ buildPythonPackage rec {
enabledTestPaths = [ "test/test.py" ];
disabledTests = lib.optional stdenv.hostPlatform.isDarwin [
# cannot access /usr/bin/pgrep from the sandbox
"test_context_manager"
"test_context_manager_with_exception"
"test_automatic_cleanup_on_exception"
"test_async_context_manager"
"test_async_context_manager_with_exception"
"test_async_automatic_cleanup_on_exception"
];
pythonImportsCheck = [ "ffmpeg_progress_yield" ];
meta = with lib; {