mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-07-23 11:11:01 -05:00
* Regen REST and gRPC clients * update inspection cache * update dev doc * add conversions for new strict mode fields * handle empty strict mode fields + test --------- Co-authored-by: generall <andrey@vasnetsov.com>
1.5 KiB
1.5 KiB
Client update checklist
For breaking changes:
- Create a new branch from the branch of upcoming release.
- E.g.
git checkout v0.7.0 && git pull && git checkout -b v0.7.0-my-changes
- E.g.
For fixes:
- Create a new branch from master
- Create python virtual environment and install dependencies
- Install pyenv https://github.com/pyenv/pyenv#automatic-installer
- Install system pyenv dependencies https://github.com/pyenv/pyenv/wiki#suggested-build-environment
pyenv install 3.10.10- install python 3.10.10pyenv local 3.10.10- set python versionpip install grpcio==1.59.3- install grpciopip install grpcio-tools==1.59.3- install grpcio-toolspip install virtualenv- install venv managervirtualenv venv- create virtual envsource venv/bin/activate- enter venvpip install poetry- install package managerpoetry install- install all dependencies
- (MacOS) make sure to have
gnu-sedinstalled and aliased tosed:brew install gnu-sed. Instructions to set alias can be found viabrew info gnu-sed - Generate REST code:
bash -x tools/generate_rest_client.sh- will automatically fetch openapi fromqdrant:dev. - Generate gRPC code:
bash -x tools/generate_grpc_client.sh- will automatically fetch proto fromqdrant:dev. - Populate inspection cache:
bash -x tools/populate_inspection_cache.sh
- Check that tests are passing: see
tests/integration-tests.sh - Write new tests, if required
- Create PR into parent branch