python312Packages.manifest-ml: disable failing tests

This commit is contained in:
Fabian Affolter 2024-03-28 17:16:33 +01:00
parent 673b5545c1
commit c0666485e5

View File

@ -11,6 +11,7 @@
, pydantic , pydantic
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pythonRelaxDepsHook
, redis , redis
, requests , requests
, sentence-transformers , sentence-transformers
@ -41,7 +42,12 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
pythonRelaxDeps = [
"pydantic"
];
build-system = [ build-system = [
pythonRelaxDepsHook
setuptools setuptools
]; ];
@ -95,12 +101,17 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
# these tests have db access # Tests require DB access
"test_init" "test_init"
"test_key_get_and_set" "test_key_get_and_set"
"test_get" "test_get"
# this test has network access # Tests require network access
"test_abatch_run"
"test_batch_run"
"test_retry_handling" "test_retry_handling"
"test_run_chat"
"test_run"
"test_score_run"
# Test is time-senstive # Test is time-senstive
"test_timing" "test_timing"
]; ];