Loading pkgs/development/python-modules/firebase-admin/default.nix +18 −8 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ buildPythonPackage, fetchFromGitHub, setuptools, hatchling, cachecontrol, cryptography, google-api-python-client, Loading @@ -13,6 +12,7 @@ pyjwt, requests, pytestCheckHook, pytest-asyncio, pytest-localserver, pytest-mock, }: Loading Loading @@ -43,17 +43,24 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-localserver pytest-mock ]; __darwinAllowLocalNetworking = true; disabledTests = [ disabledTests = [ # Flaky (AssertionError) # > assert delta <= timedelta(seconds=15) # E assert datetime.timedelta(seconds=17, microseconds=28239) <= datetime.timedelta(seconds=15) "test_task_options" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Flaky / timing sensitive "test_expired_cookie_with_tolerance" "test_expired_token_with_tolerance" ]; meta = { Loading @@ -61,6 +68,9 @@ buildPythonPackage rec { homepage = "https://github.com/firebase/firebase-admin-python"; changelog = "https://github.com/firebase/firebase-admin-python/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jhahn ]; maintainers = with lib.maintainers; [ jhahn sarahec ]; }; } Loading
pkgs/development/python-modules/firebase-admin/default.nix +18 −8 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ buildPythonPackage, fetchFromGitHub, setuptools, hatchling, cachecontrol, cryptography, google-api-python-client, Loading @@ -13,6 +12,7 @@ pyjwt, requests, pytestCheckHook, pytest-asyncio, pytest-localserver, pytest-mock, }: Loading Loading @@ -43,17 +43,24 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-localserver pytest-mock ]; __darwinAllowLocalNetworking = true; disabledTests = [ disabledTests = [ # Flaky (AssertionError) # > assert delta <= timedelta(seconds=15) # E assert datetime.timedelta(seconds=17, microseconds=28239) <= datetime.timedelta(seconds=15) "test_task_options" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Flaky / timing sensitive "test_expired_cookie_with_tolerance" "test_expired_token_with_tolerance" ]; meta = { Loading @@ -61,6 +68,9 @@ buildPythonPackage rec { homepage = "https://github.com/firebase/firebase-admin-python"; changelog = "https://github.com/firebase/firebase-admin-python/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jhahn ]; maintainers = with lib.maintainers; [ jhahn sarahec ]; }; }