diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-01-12 09:39:34 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-01-12 09:39:34 +0100 |
commit | c24136277bc77998a89e37cfd78f3cf6ff80ff9b (patch) | |
tree | cececf9563115f1e5c98d6e56d396ce975316a07 /pkgs/development/python-modules/APScheduler | |
parent | ed89030b17286382363919367704ff1b29052de4 (diff) |
python310Packages.APScheduler: disable failing tests
Diffstat (limited to 'pkgs/development/python-modules/APScheduler')
-rw-r--r-- | pkgs/development/python-modules/APScheduler/default.nix | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/APScheduler/default.nix b/pkgs/development/python-modules/APScheduler/default.nix index e0ebf564163f6..52d4ecdc3b716 100644 --- a/pkgs/development/python-modules/APScheduler/default.nix +++ b/pkgs/development/python-modules/APScheduler/default.nix @@ -2,55 +2,51 @@ , stdenv , buildPythonPackage , fetchPypi -, setuptools-scm -, pytestCheckHook +, gevent , pytest-asyncio , pytest-tornado -, sqlalchemy +, pytestCheckHook +, pythonOlder +, pytz +, setuptools +, setuptools-scm +, six , tornado , twisted -, mock -, gevent -, six -, pytz , tzlocal -, funcsigs -, setuptools -, pythonOlder }: buildPythonPackage rec { - pname = "APScheduler"; + pname = "apscheduler"; version = "3.8.1"; + format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { - inherit pname version; - sha256 = "5cf344ebcfbdaa48ae178c029c055cec7bc7a4a47c21e315e4d1f08bd35f2355"; + pname = "APScheduler"; + inherit version; + hash = "sha256-XPNE68+9qkiuF4wCnAVc7HvHpKR8IeMV5NHwi9NfI1U="; }; buildInputs = [ setuptools-scm ]; + propagatedBuildInputs = [ + pytz + setuptools + six + tzlocal + ]; + checkInputs = [ + gevent pytest-asyncio pytest-tornado pytestCheckHook - sqlalchemy tornado twisted - mock - gevent - ]; - - propagatedBuildInputs = [ - six - pytz - tzlocal - funcsigs - setuptools ]; postPatch = '' @@ -60,15 +56,21 @@ buildPythonPackage rec { disabledTests = [ "test_broken_pool" + # gevent tests have issue on newer Python releases + "test_add_live_job" + "test_add_pending_job" + "test_shutdown" ] ++ lib.optionals stdenv.isDarwin [ "test_submit_job" "test_max_instances" ]; - pythonImportsCheck = [ "apscheduler" ]; + pythonImportsCheck = [ + "apscheduler" + ]; meta = with lib; { - description = "A Python library that lets you schedule your Python code to be executed"; + description = "Library that lets you schedule your Python code to be executed"; homepage = "https://github.com/agronholm/apscheduler"; license = licenses.mit; maintainers = with maintainers; [ ]; |