Python: Bump weaviate-client from 4.6.5 to 4.7.1 in /python
Bumps weaviate-client from 4.6.5 to 4.7.1.
Release notes
Sourced from weaviate-client's releases.
v4.7.1
What's Changed
- Do not use deps ranges in devel requirements by
@tsmith023in weaviate/weaviate-python-client#1197- Bump requests from 2.30.0 to 2.32.2 by
@dependabotin weaviate/weaviate-python-client#1199- Bump authlib from 1.2.1 to 1.3.1 by
@dependabotin weaviate/weaviate-python-client#1198- add
GRPC_VERBOSITY="ERROR"env var in__init__.pyby@tsmith023in weaviate/weaviate-python-client#1196- Parse the correct timeouts to
httpxclient by@tsmith023in weaviate/weaviate-python-client#1206- Add factory method to configure new
reranker-jinaaimodule by@tsmith023in weaviate/weaviate-python-client#1204Full Changelog: https://github.com/weaviate/weaviate-python-client/compare/v4.7.0...v4.7.1
v4.7.0
What's Changed
- Update Ollama module docstrings by
@databyjpin weaviate/weaviate-python-client#1091- Export submodules to ease usage of
weaviate.outputsby@tsmith023in weaviate/weaviate-python-client#1098- VoyageAI new embedding and rerank models by
@fzowlin weaviate/weaviate-python-client#1103- Add missing
py.typedfile for type checking usage by@tsmith023in weaviate/weaviate-python-client#1112- Update multi_tenancy docstring by
@databyjpin weaviate/weaviate-python-client#1115- Fix logic when parsing str tenant args for .create and .remove by
@tsmith023in weaviate/weaviate-python-client#1118- Validate named vectors for duplicates on
collections.createby@tsmith023in weaviate/weaviate-python-client#1119- Fix batch retry with tenants in v3 by
@dirkkulin weaviate/weaviate-python-client#1122- Merge in v3 240624 by
@dirkkulin weaviate/weaviate-python-client#1124- Refactor batch results storage and publishing by
@tsmith023in weaviate/weaviate-python-client#1121- Adds support for enabling and disabling async replication in schema by
@jeroirazin weaviate/weaviate-python-client#1105- Implement client features for tenant offloading by
@tsmith023in weaviate/weaviate-python-client#1132- Scalar Quantization by
@trengrjin weaviate/weaviate-python-client#1110- Fix typo in m2v method parameters by
@databyjpin weaviate/weaviate-python-client#1073- Named vector multi search by
@dirkkulin weaviate/weaviate-python-client#1071- Introduce logging of partial batch errors by
@tsmith023in weaviate/weaviate-python-client#1141- Fix GQL injection vulnerability by
@tsmith023in weaviate/weaviate-python-client#1134- Add generative Anthropic module integration by
@cdpiersein weaviate/weaviate-python-client#1149- Custom vectorizers by
@dirkkulin weaviate/weaviate-python-client#1152- Add validation for types that are not installed by
@dirkkulin weaviate/weaviate-python-client#1145- Dev/split create update tenant models by
@tsmith023in weaviate/weaviate-python-client#1150- Fix year zero in dates by
@dirkkulin weaviate/weaviate-python-client#1153- Propose further wording change by
@databyjpin weaviate/weaviate-python-client#1156- Add support for the kagome_kr tokenizer by
@databyjpin weaviate/weaviate-python-client#1157- Add support for range filters by
@dirkkulin weaviate/weaviate-python-client#1159- Hybrid search vector per target by
@dirkkulin weaviate/weaviate-python-client#1160- Update tenant names by
@dirkkulin weaviate/weaviate-python-client#1161- Introduce
WeaviateAsyncClientas async alternative toWeaviateClientby@tsmith023in weaviate/weaviate-python-client#1007- 20240708/docstring typos by
@databyjpin weaviate/weaviate-python-client#1166- Fix node status for timeout nodes by
@dirkkulin weaviate/weaviate-python-client#1169- Fix updating quantizers between
pq,bq, andsqwithhnswindex by@tsmith023in weaviate/weaviate-python-client#1171- Ignore
BlockingIOErrorerror logs emitted byaio.grpcin event loops by@tsmith023in weaviate/weaviate-python-client#1180- Ensure all query stubs are aligned with new impl API surface by
@tsmith023in weaviate/weaviate-python-client#1181- Dont add references if the .to object has not been added yet by
@dirkkulin weaviate/weaviate-python-client#1182- Fix logic for logging errors in batch by
@tsmith023in weaviate/weaviate-python-client#1183- Make moduleconfig optional for custom reranker/generative by
@dirkkulin weaviate/weaviate-python-client#1187- Send
tenants.updaterequests in batches of 100 by@tsmith023in weaviate/weaviate-python-client#1192
... (truncated)
Changelog
Sourced from weaviate-client's changelog.
Version 4.7.1
This patch version includes:
- Fixes log noise due to value of deprecated
GRPC_VERBOSITYflag in underlyinggrpclibrary- Bumps
requestsandauthlibversions to avoid security issues- Adds support for configuring the new
reranker-jinaaimodule when creating collections- Fixes parsing of the timeout configuration on client instantiation
- The
querytimeout now modifies theread=timeout in thehttpxclient for allGET,HEAD, andgqlquery requests- The
inserttimeout now modifies theread=timeout in thehttpxclient for allDELETE,POST,PATCH, andPUTrequests- The
inittimeout now only modifies the timeouts in thehttpxclient for requests involved in theclient.connect()methodVersion 4.7.0
This minor version includes:
- The introduction of the
WeaviateAsyncClientclass to support I/O requests to Weaviate using theasync/awaitsyntax withasyncio <https://docs.python.org/3/library/asyncio.html>
- All methods that perform CRUD and search actions are now
async deffunctions- To instantiate a client quickly, use the
weaviate.use_async_with_xmethods in an async context manager pattern, e.g.: .. code-block:: python async with weaviate.use_async_with_local() as client: # Your code- Note, you cannot do
await weaviate.use_async_with_xif not using the context manager pattern. You have to create the client first and then connect manually: .. code-block:: python client = weaviate.use_async_with_local() await client.connect() # Your code await client.close()- A refactoring of the underlying implementation of the
WeaviateClientto use theWeaviateAsyncClientunder-the-hood scheduling the necessary coroutines to run in a side-car event-loop thread- Support for new core Weaviate features in both the sync and async clients:
- Multi-vector search in the
.near_xand.hybridmethods within the.generateand.querycollection namespaces- Scalar Quantization (SQ) vector index configuration
- Async replication configuration for multi-node Weaviate deployments
- Tenant offloading to S3 cloud storage using the newly intrduced
OFFLOADEDtenant activity status- Renaming of
HOTtoACTIVEandCOLDtoINACTIVEfor tenant activity statuses- NOTE: To use these features, you must have Weaviate version 1.26.0 or higher
Version 4.6.7
This patch version includes:
- Fix batching with references. Under some circumstances a reference could be added before its
to-object and the reference would be lost.- Fix node status for timed out nodes
- Fix parsing the year 0. While weaviate allows to add dates with year zero ("0000-01-30T00:00:00Z"), the datetime library is based on the gregorian calendar which does not have a year zero. The client will years with 0 as the minimum date that is possible in datetime (
datetime.datetime(1, 1, 1, 0, 0)) and emit a warning- Support for custom rerankers and generative modules using
Configure.Generative.custom()andConfigure.Reranker.custom()
... (truncated)
Commits
1b08bb4Merge pull request #1208 from weaviate/changelog-4715c0185dSmall grammar fixes3500471Update changelog forv4.7.1changes4bb9bc2Merge pull request #1204 from weaviate/modules/add-jinaai-reranker29e8336Merge pull request #1206 from weaviate/connect/fix-parsing-of-timeouts4b20ef9Merge branch 'main' of https://github.com/weaviate/weaviate-python-client int...49705cbMerge pull request #1207 from weaviate/bump-black-dep-to-24-4-2-in-pre-commit80e1ff5Bump black to24.4.2inpre-commit8443c3dComplete docstringf68b5f8Change timeout behaviour to better mimic usage as timeout of Weaviate op, not...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Python Test Coverage Report
File Stmts Miss Cover Missing semantic_kernel kernel.py 157 7 96% 146, 157, 161, 311–314, 423 semantic_kernel/agents/open_ai open_ai_assistant_base.py 385 2 99% 301–302 semantic_kernel/connectors/ai/azure_ai_inference/services azure_ai_inference_chat_completion.py 149 4 97% 169, 312, 416, 430 semantic_kernel/connectors/ai/embeddings embedding_generator_base.py 8 1 88% 50 semantic_kernel/connectors/ai/google shared_utils.py 39 2 95% 100, 122 semantic_kernel/connectors/ai/google/google_ai/services google_ai_chat_completion.py 145 3 98% 149, 251, 287 utils.py 62 3 95% 138, 156–161 semantic_kernel/connectors/ai/google/vertex_ai/services utils.py 64 3 95% 140, 158–163 vertex_ai_chat_completion.py 145 3 98% 143, 244, 280 semantic_kernel/connectors/ai/hugging_face/services hf_text_completion.py 54 3 94% 97, 105, 136 hf_text_embedding.py 32 5 84% 79–83 semantic_kernel/connectors/openapi_plugin openapi_manager.py 58 2 97% 110–111 openapi_parser.py 88 1 99% 127 openapi_runner.py 105 2 98% 181–182 semantic_kernel/connectors/openapi_plugin/models rest_api_operation.py 129 1 99% 242 semantic_kernel/contents function_call_content.py 97 1 99% 201 semantic_kernel/functions kernel_function_decorator.py 98 1 99% 102 kernel_function_from_method.py 96 1 99% 153 kernel_function_from_prompt.py 154 7 95% 165–166, 180, 201, 219, 239, 322 kernel_plugin.py 187 2 99% 472, 475 semantic_kernel/planners plan.py 234 45 81% 54, 163–165, 197, 214–227, 264, 269, 277–278, 288–291, 308, 313, 329, 332–337, 355, 360, 363, 365, 372, 386–388, 393–397 semantic_kernel/planners/function_calling_stepwise_planner function_calling_stepwise_planner.py 116 4 97% 145, 189–190, 198 semantic_kernel/planners/sequential_planner sequential_planner.py 64 6 91% 71, 75, 109, 125, 134–135 sequential_planner_extensions.py 50 9 82% 31–32, 56, 110–124 sequential_planner_parser.py 77 12 84% 66–74, 93, 117–120 semantic_kernel/schema kernel_json_schema_builder.py 119 5 96% 50, 84, 206, 210–211 semantic_kernel/template_engine/blocks code_block.py 77 1 99% 119 named_arg_block.py 43 1 98% 98 semantic_kernel/utils/telemetry decorators.py 113 4 96% 232, 240, 243, 252 user_agent.py 16 2 88% 18–19 TOTAL 8648 143 98%
Python Unit Test Overview
| Tests | Skipped | Failures | Errors | Time |
|---|---|---|---|---|
| 2106 | 1 :zzz: | 0 :x: | 0 :fire: | 52.900s :stopwatch: |
@dependabot recreate
Looks like weaviate-client is up-to-date now, so this is no longer needed.