From f5c2dcfc9d73a54ccee2efddc77dae15f2079771 Mon Sep 17 00:00:00 2001 From: David Kyle Date: Wed, 30 Apr 2025 13:24:05 +0100 Subject: [PATCH] Remove version checks in test (#792) --- tests/ml/pytorch/test_pytorch_model_config_pytest.py | 4 ---- tests/ml/pytorch/test_pytorch_model_upload_pytest.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/tests/ml/pytorch/test_pytorch_model_config_pytest.py b/tests/ml/pytorch/test_pytorch_model_config_pytest.py index 6adc885..aa141ea 100644 --- a/tests/ml/pytorch/test_pytorch_model_config_pytest.py +++ b/tests/ml/pytorch/test_pytorch_model_config_pytest.py @@ -58,10 +58,6 @@ except ImportError: from tests import ES_VERSION pytestmark = [ - pytest.mark.skipif( - ES_VERSION < (8, 15, 1), - reason="Eland uses Pytorch 2.3.1, versions of Elasticsearch prior to 8.15.1 are incompatible with PyTorch 2.3.1", - ), pytest.mark.skipif( not HAS_SKLEARN, reason="This test requires 'scikit-learn' package to run" ), diff --git a/tests/ml/pytorch/test_pytorch_model_upload_pytest.py b/tests/ml/pytorch/test_pytorch_model_upload_pytest.py index 09fa439..5dcd0a6 100644 --- a/tests/ml/pytorch/test_pytorch_model_upload_pytest.py +++ b/tests/ml/pytorch/test_pytorch_model_upload_pytest.py @@ -38,10 +38,6 @@ except ImportError: from tests import ES_TEST_CLIENT, ES_VERSION pytestmark = [ - pytest.mark.skipif( - ES_VERSION < (8, 15, 2), - reason="Eland uses Pytorch 2.3.1, versions of Elasticsearch prior to 8.15.2 are incompatible with PyTorch 2.3.1", - ), pytest.mark.skipif( not HAS_SKLEARN, reason="This test requires 'scikit-learn' package to run" ),