lol

Merge pull request #139321 from fabaff/test-apscheduler

python3Packages.APScheduler: fix build

authored by

Fabian Affolter and committed by
GitHub
f7250955 a3ca7b22

+10 -3
+10 -3
pkgs/development/python-modules/APScheduler/default.nix
··· 6 6 , pytestCheckHook 7 7 , pytest-asyncio 8 8 , pytest-tornado 9 - , pytest-cov 10 9 , sqlalchemy 11 10 , tornado 12 11 , twisted ··· 23 22 buildPythonPackage rec { 24 23 pname = "APScheduler"; 25 24 version = "3.8.0"; 25 + 26 26 disabled = pythonOlder "3.7"; 27 27 28 28 src = fetchPypi { ··· 38 38 pytest-asyncio 39 39 pytest-tornado 40 40 pytestCheckHook 41 - pytest-cov 42 41 sqlalchemy 43 42 tornado 44 43 twisted ··· 54 53 setuptools 55 54 ]; 56 55 57 - disabledTests = lib.optionals stdenv.isDarwin [ 56 + postPatch = '' 57 + substituteInPlace setup.cfg \ 58 + --replace " --cov --tb=short" "" 59 + ''; 60 + 61 + disabledTests = [ 62 + "test_broken_pool" 63 + ] ++ lib.optionals stdenv.isDarwin [ 58 64 "test_submit_job" 59 65 "test_max_instances" 60 66 ]; ··· 65 71 description = "A Python library that lets you schedule your Python code to be executed"; 66 72 homepage = "https://github.com/agronholm/apscheduler"; 67 73 license = licenses.mit; 74 + maintainers = with maintainers; [ ]; 68 75 }; 69 76 }