Skip to content

Commit 7593c91

Browse files
authored
Python: Disable Milvus memory store integration tests (#11920)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> The Milvus memory store integration tests have been failing, blocking some PR merges. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Temporarily skipping the Milvus memory store integration test. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
1 parent 2d992cd commit 7593c91

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

python/tests/integration/memory/memory_stores/test_milvus_memory_store.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@
44
import numpy as np
55
import pytest
66

7-
from semantic_kernel.connectors.memory.milvus import MilvusMemoryStore
8-
from semantic_kernel.memory.memory_record import MemoryRecord
7+
pytest.skip(
8+
(
9+
"Temporarily disabling this test module due to import error from milvus: "
10+
"AttributeError: module 'marshmallow' has no attribute '__version_info__'"
11+
),
12+
allow_module_level=True,
13+
)
14+
15+
from semantic_kernel.connectors.memory.milvus import MilvusMemoryStore # noqa: E402
16+
from semantic_kernel.memory.memory_record import MemoryRecord # noqa: E402
917

1018
try:
1119
from milvus import default_server

0 commit comments

Comments
 (0)