From 56a5f4798957125c5e5df7bf464a9a1918ba0877 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 6 Aug 2025 04:54:41 +0200 Subject: [PATCH] python3Packages.aws-xray-sdk: pin pytest-asyncio 0.x and disable failing tests --- pkgs/development/python-modules/aws-xray-sdk/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aws-xray-sdk/default.nix b/pkgs/development/python-modules/aws-xray-sdk/default.nix index 4b509361fb92..ee6ad97f7207 100644 --- a/pkgs/development/python-modules/aws-xray-sdk/default.nix +++ b/pkgs/development/python-modules/aws-xray-sdk/default.nix @@ -10,7 +10,7 @@ importlib-metadata, jsonpickle, pymysql, - pytest-asyncio, + pytest-asyncio_0, pynamodb, pytestCheckHook, pythonOlder, @@ -52,7 +52,7 @@ buildPythonPackage rec { httpx pymysql pynamodb - pytest-asyncio + pytest-asyncio_0 pytestCheckHook sqlalchemy webtest @@ -64,6 +64,8 @@ buildPythonPackage rec { # We don't care about benchmarks "tests/test_local_sampling_benchmark.py" "tests/test_patcher.py" + # async def functions are not natively supported. + "tests/test_async_recorder.py" ]; pythonImportsCheck = [ "aws_xray_sdk" ];