python3Packages.aws-xray-sdk: pin pytest-asyncio 0.x and disable failing tests

This commit is contained in:
Martin Weinelt
2025-08-06 04:54:41 +02:00
parent 430531f1a1
commit 56a5f47989

View File

@@ -10,7 +10,7 @@
importlib-metadata, importlib-metadata,
jsonpickle, jsonpickle,
pymysql, pymysql,
pytest-asyncio, pytest-asyncio_0,
pynamodb, pynamodb,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
@@ -52,7 +52,7 @@ buildPythonPackage rec {
httpx httpx
pymysql pymysql
pynamodb pynamodb
pytest-asyncio pytest-asyncio_0
pytestCheckHook pytestCheckHook
sqlalchemy sqlalchemy
webtest webtest
@@ -64,6 +64,8 @@ buildPythonPackage rec {
# We don't care about benchmarks # We don't care about benchmarks
"tests/test_local_sampling_benchmark.py" "tests/test_local_sampling_benchmark.py"
"tests/test_patcher.py" "tests/test_patcher.py"
# async def functions are not natively supported.
"tests/test_async_recorder.py"
]; ];
pythonImportsCheck = [ "aws_xray_sdk" ]; pythonImportsCheck = [ "aws_xray_sdk" ];