Files
milvus/tests/python_client/requirements.txt
T
zhuwenxingandGitHub ff42b9502e enhance: upgrade test Python runtime to 3.12 (#49622)
issue: #49516

### What changed

- Upgrade test runtime pins and Docker base images to Python 3.12.
- Update tests ruff target and Python-version docs to 3.12.
- Refresh Python client dependency pins that block Python 3.12
installation.
- Scope TestPyPI lookup to pymilvus via find-links so uv does not
require unsafe-best-match.
- Suppress third-party invalid escape sequence SyntaxWarning noise seen
during Python 3.12 pytest collection.

### Verification

- git diff --check
- uv pip install --python /tmp/milvus-tests-py312-uv-default/bin/python
--dry-run -r tests/python_client/requirements.txt
- python3.12 -m venv /tmp/milvus-tests-py312-pip-requirements && pip
install -r tests/python_client/requirements.txt --timeout 30 --retries 6
- pip check
- python -c 'import pymilvus, ujson; print(pymilvus.__version__,
ujson.__version__)'
- python -m pytest --collect-only -q
milvus_client/test_milvus_client_collection.py

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2026-05-11 10:08:09 +08:00

89 lines
1.3 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==2.7.0rc214
pymilvus[bulk_writer]==2.7.0rc214
# 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.15
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==1.26.4
tenacity==8.1.0
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==14.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
jieba==0.42.1
# 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 time zone
tzdata>=2024.1