test: upgrade minio sdk from 7.1.5 to 7.2.0 (#46186)

/kind improvement


fix minio sdk error
```
2025-12-08T07:54:48Z {container="step-test"} def _put_object(self, bucket_name, object_name, data, headers, 

2025-12-08T07:54:48Z {container="step-test"} query_params=None): 

2025-12-08T07:54:48Z {container="step-test"} """Execute PutObject S3 API.""" 

2025-12-08T07:54:48Z {container="step-test"} response = self._execute( 

2025-12-08T07:54:48Z {container="step-test"} "PUT", 

2025-12-08T07:54:48Z {container="step-test"} bucket_name, 

2025-12-08T07:54:48Z {container="step-test"} object_name, 

2025-12-08T07:54:48Z {container="step-test"} body=data, 

2025-12-08T07:54:48Z {container="step-test"} headers=headers, 

2025-12-08T07:54:48Z {container="step-test"} query_params=query_params, 

2025-12-08T07:54:48Z {container="step-test"} no_body_trace=True, 

2025-12-08T07:54:48Z {container="step-test"} ) 

2025-12-08T07:54:48Z {container="step-test"} return ObjectWriteResult( 

2025-12-08T07:54:48Z {container="step-test"} bucket_name, 

2025-12-08T07:54:48Z {container="step-test"} object_name, 

2025-12-08T07:54:48Z {container="step-test"} >           response.getheader("x-amz-version-id"), 

2025-12-08T07:54:48Z {container="step-test"} response.getheader("etag").replace('"', ""), 

2025-12-08T07:54:48Z {container="step-test"} response.getheaders(), 

2025-12-08T07:54:48Z {container="step-test"} ) 

2025-12-08T07:54:48Z {container="step-test"} E       AttributeError: 'HTTPResponse' object has no attribute 'getheader' 

2025-12-08T07:54:48Z {container="step-test"}  

2025-12-08T07:54:48Z {container="step-test"} /usr/local/lib/python3.10/site-packages/minio/api.py:1582: AttributeError
```

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2025-12-09 11:39:12 +08:00 committed by GitHub
parent b8086cb62b
commit 8fac376afd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 6 deletions

View File

@ -38,7 +38,7 @@ python-benedict==0.24.3
timeout-decorator==0.5.0 timeout-decorator==0.5.0
# for bulk insert test # for bulk insert test
minio==7.1.5 minio==7.2.0
npy-append-array==0.9.15 npy-append-array==0.9.15
Faker==19.2.0 Faker==19.2.0

View File

@ -9,7 +9,7 @@ Faker==19.2.0
pymilvus==2.5.0rc108 pymilvus==2.5.0rc108
scikit-learn>=1.5.2 scikit-learn>=1.5.2
pytest-xdist==2.5.0 pytest-xdist==2.5.0
minio==7.1.14 minio==7.2.0
tenacity==8.1.0 tenacity==8.1.0
# for bf16 datatype # for bf16 datatype
ml-dtypes==0.2.0 ml-dtypes==0.2.0

View File

@ -37,10 +37,12 @@ function install_pytest_requirements(){
echo "Install pytest requirements" echo "Install pytest requirements"
cd ${ROOT}/tests/python_client cd ${ROOT}/tests/python_client
export PIP_TRUSTED_HOST="nexus-nexus-repository-manager.nexus"
export PIP_INDEX_URL="http://nexus-nexus-repository-manager.nexus:8081/repository/pypi-all/simple"
export PIP_INDEX="http://nexus-nexus-repository-manager.nexus:8081/repository/pypi-all/pypi" export PIP_TRUSTED_HOST="nexus.zilliz.cc"
export PIP_FIND_LINKS="http://nexus-nexus-repository-manager.nexus:8081/repository/pypi-all/pypi" export PIP_INDEX_URL="https://nexus.zilliz.cc/repository/pypi-proxy/simple"
export PIP_INDEX="https://nexus.zilliz.cc/repository/pypi-proxy/pypi"
export PIP_FIND_LINKS="https://nexus.zilliz.cc/repository/pypi-proxy/pypi"
python3 -m pip install --no-cache-dir -r requirements.txt --timeout 300 --retries 6 python3 -m pip install --no-cache-dir -r requirements.txt --timeout 300 --retries 6
} }