diff --git a/pkgs/development/python-modules/kopf/default.nix b/pkgs/development/python-modules/kopf/default.nix index 6597773c5830..520c602fbd31 100644 --- a/pkgs/development/python-modules/kopf/default.nix +++ b/pkgs/development/python-modules/kopf/default.nix @@ -10,9 +10,10 @@ aiohttp, iso8601, python-json-logger, - clickclick, - typing-extensions, + click, + jsonpatch, + kmock, pytest-mock, pytest-timeout, pytest-asyncio, @@ -25,14 +26,14 @@ buildPythonPackage rec { pname = "kopf"; - version = "1.40.0"; + version = "1.44.4"; pyproject = true; src = fetchFromGitHub { owner = "nolar"; repo = "kopf"; tag = version; - hash = "sha256-AXaEV3+p5NytKhuUkoaWBG4oNhPKQwoCRTmUkmb26RQ="; + hash = "sha256-AwIaWAwBBmQqxNQqFS8qNDlA+pjw5mQG3XKwamS3oQo="; }; build-system = [ @@ -45,8 +46,8 @@ buildPythonPackage rec { python-json-logger aiohttp iso8601 - clickclick - typing-extensions + jsonpatch + click ]; nativeCheckInputs = [ @@ -55,6 +56,7 @@ buildPythonPackage rec { pytest-timeout pytest-asyncio pytest-mock + kmock freezegun certvalidator aresponses @@ -66,12 +68,20 @@ buildPythonPackage rec { "tests/admission/test_certificates.py" "tests/e2e/test_examples.py" - #Module certbuilder unavailable in nixpkgs + # Module certbuilder unavailable in nixpkgs "tests/admission/test_webhook_detection.py" "tests/admission/test_webhook_ngrok.py" "tests/admission/test_webhook_server.py" + "tests/authentication/test_credentials.py" ]; + disabledTests = [ + # assert [] to due missing certificate + "test_connection_info_as_ssl_context_when_insecure" + ]; + + pytestFlags = [ "-Wignore::pytest.PytestUnraisableExceptionWarning" ]; + __darwinAllowLocalNetworking = true; pythonImportsCheck = [