From 4169e33f03561bbef00bc6625155433181c95dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 5 Jul 2026 19:03:20 +0200 Subject: [PATCH] python314Packages.fastmcp: increase very close pytest timeout FAILED tests/server/providers/openapi/test_openapi_performance.py::TestOpenAPIPerformance::test_medium_schema_performance - AssertionError: Medium schema parsing took 2.317s, expected <1s FAILED tests/server/auth/test_oauth_proxy_storage.py::TestOAuthProxyStorage::test_client_persists_across_proxy_instances - Failed: Timeout (>5.0s) from pytest-timeout. FAILED tests/tools/test_standalone_decorator.py::test_component_import_works_in_fresh_interpreter[from fastmcp.tools import tool] - Failed: Timeout (>5.0s) from pytest-timeout. FAILED tests/server/auth/providers/test_workos.py::TestWorkOSProvider::test_authkit_domain_https_prefix_handling - Failed: Timeout (>5.0s) from pytest-timeout. FAILED tests/server/auth/test_oauth_proxy_storage.py::TestOAuthProxyStorage::test_in_memory_storage_option - Failed: Timeout (>5.0s) from pytest-timeout. FAILED tests/server/auth/test_oauth_proxy_redirect_validation.py::TestOAuthProxyCIMDClient::test_proxy_get_client_returns_cimd_client - Failed: Timeout (>5.0s) from pytest-timeout. FAILED tests/tools/test_standalone_decorator.py::test_component_import_works_in_fresh_interpreter[from fastmcp.server.auth.authorization import AuthCheck] - Failed: Timeout (>5.0s) from pytest-timeout. --- pkgs/development/python-modules/fastmcp/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/fastmcp/default.nix b/pkgs/development/python-modules/fastmcp/default.nix index 3879e40bb830..74d4985d26aa 100644 --- a/pkgs/development/python-modules/fastmcp/default.nix +++ b/pkgs/development/python-modules/fastmcp/default.nix @@ -40,6 +40,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-1W5NbWIULxFXGSozZEeITcPt1EbY6IsJLQdyevcn9BI="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "timeout = 5" "timeout = 50" + ''; + build-system = [ hatchling uv-dynamic-versioning