Files
zhuwenxingandGitHub 743da442b1 test: add XGBoost FunctionChain coverage (#51545)
## What changed

- Add Python MilvusClient coverage for XGBoost
`FunctionChainStage.L0_RERANK`.
- Validate realistic `2 x 3000` indexed sealed segments plus `1 x 3000`
growing segment data topology.
- Cover FLAT, HNSW, and DISKANN indexes; filtered, range, group-by,
iterator, and hybrid-search behavior.
- Verify score and field correctness across numeric/null/binary
features, delete, and upsert mutations.
- Cover invalid stage/model contracts, concurrency, scale, cache
identity, restart/failover, rolling update, and chaos scenarios.
- Classify the suite into L0/L1/L2/L3 and replace the iterator xfail
with its code `1100` error contract.

Related issues: #51306, #51310, #51332

## Validation

- `ruff format --check
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `ruff check
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `python -m py_compile
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `pytest --collect-only`: 37 cases collected
- L0: 1 passed
- L1: 8 passed
- L2: 4 passed
- Iterator regression: 1 passed against master image `0671607`

An initial combined serial run observed a DISKANN load timeout with a
loaded segment reporting `index_id=0`; the unchanged isolated L2 rerun
passed. The strict assertion remains in place.

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2026-07-21 16:44:43 +08:00

100 lines
1.6 KiB
Plaintext

--find-links https://test.pypi.org/simple/pymilvus/
pytest-cov==2.8.1
requests>=2.32.4
scikit-learn>=1.5.2
ujson==5.10.0
pytest==8.3.4
pytest-asyncio==0.24.0
pytest-timeout==1.3.3
pytest-repeat==0.8.0
allure-pytest==2.7.0
pytest-print==0.2.1
pytest-level==0.1.1
pytest-xdist==2.5.0
pytest-assume==2.4.3
pytest-rerunfailures==14.0
pytest_tagging==1.6.0
pytest-html==3.1.1
delayed-assert==0.3.5
kubernetes==17.17.0
PyYAML==6.0.2
pytest-sugar==0.9.5
pytest-random-order
# pymilvus
pymilvus==3.1.0rc69
pymilvus[bulk_writer]==3.1.0rc69
# for protobuf
protobuf>=5.29.5
# for customize config test
python-benedict==0.24.3
# for bulk insert test
minio==7.2.0
npy-append-array==0.9.19
Faker==19.2.0
# for benchmark
h5py==3.11.0
# for log
loguru==0.7.0
# util
psutil==5.9.8
pandas==2.2.3
numpy==2.2.6
tenacity==8.2.3
rich==13.7.0
# for standby test
etcd-sdk-python==0.0.6
deepdiff==8.6.1
# for test result analyzer
prettytable==3.8.0
pyarrow==23.0.1
fastparquet==2024.11.0
# for bf16 datatype
ml-dtypes==0.5.1
# for text processing
Unidecode==1.3.8
# for full text search
tantivy==0.22.0
bm25s==0.2.0
# rjieba 0.1.11 wraps jieba-rs 0.6.x, closest to Milvus' pinned jieba-rs 0.6.8.
rjieba==0.1.11
# for minhash function test
xxhash>=3.0.0
# for perf test
locust==2.25.0
# for supporting higher python version
typing_extensions==4.12.2
# for env configuration
python-dotenv<=2.0.0
# for geometry
shapely==2.1.1
# for external table formats
pylance==6.0.0
vortex-data==0.56.0; python_version >= "3.11"
substrait==0.26.0; python_version >= "3.11"
pyiceberg[sql-sqlite]==0.8.1
# for time zone
tzdata>=2024.1
# for function chain
xgboost==3.3.0