semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Python: Bump weaviate-client from 4.6.5 to 4.7.1 in /python

Open dependabot[bot] opened this issue 1 year ago • 1 comments

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

Full Changelog: https://github.com/weaviate/weaviate-python-client/compare/v4.7.0...v4.7.1

v4.7.0

What's Changed

... (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_VERBOSITY flag in underlying grpc library
  • Bumps requests and authlib versions to avoid security issues
  • Adds support for configuring the new reranker-jinaai module when creating collections
  • Fixes parsing of the timeout configuration on client instantiation
    • The query timeout now modifies the read= timeout in the httpx client for all GET, HEAD, and gql query requests
    • The insert timeout now modifies the read= timeout in the httpx client for all DELETE, POST, PATCH, and PUT requests
    • The init timeout now only modifies the timeouts in the httpx client for requests involved in the client.connect() method

Version 4.7.0

This minor version includes:

  • The introduction of the WeaviateAsyncClient class to support I/O requests to Weaviate using the async/await syntax with asyncio <https://docs.python.org/3/library/asyncio.html>
    • All methods that perform CRUD and search actions are now async def functions
    • To instantiate a client quickly, use the weaviate.use_async_with_x methods 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_x if 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 WeaviateClient to use the WeaviateAsyncClient under-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_x and .hybrid methods within the .generate and .query collection 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 OFFLOADED tenant activity status
    • Renaming of HOT to ACTIVE and COLD to INACTIVE for 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() and Configure.Reranker.custom()

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Aug 05 '24 22:08 dependabot[bot]

Python Test Coverage

Python Test Coverage Report
FileStmtsMissCoverMissing
semantic_kernel
   kernel.py157796%146, 157, 161, 311–314, 423
semantic_kernel/agents/open_ai
   open_ai_assistant_base.py385299%301–302
semantic_kernel/connectors/ai/azure_ai_inference/services
   azure_ai_inference_chat_completion.py149497%169, 312, 416, 430
semantic_kernel/connectors/ai/embeddings
   embedding_generator_base.py8188%50
semantic_kernel/connectors/ai/google
   shared_utils.py39295%100, 122
semantic_kernel/connectors/ai/google/google_ai/services
   google_ai_chat_completion.py145398%149, 251, 287
   utils.py62395%138, 156–161
semantic_kernel/connectors/ai/google/vertex_ai/services
   utils.py64395%140, 158–163
   vertex_ai_chat_completion.py145398%143, 244, 280
semantic_kernel/connectors/ai/hugging_face/services
   hf_text_completion.py54394%97, 105, 136
   hf_text_embedding.py32584%79–83
semantic_kernel/connectors/openapi_plugin
   openapi_manager.py58297%110–111
   openapi_parser.py88199%127
   openapi_runner.py105298%181–182
semantic_kernel/connectors/openapi_plugin/models
   rest_api_operation.py129199%242
semantic_kernel/contents
   function_call_content.py97199%201
semantic_kernel/functions
   kernel_function_decorator.py98199%102
   kernel_function_from_method.py96199%153
   kernel_function_from_prompt.py154795%165–166, 180, 201, 219, 239, 322
   kernel_plugin.py187299%472, 475
semantic_kernel/planners
   plan.py2344581%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.py116497%145, 189–190, 198
semantic_kernel/planners/sequential_planner
   sequential_planner.py64691%71, 75, 109, 125, 134–135
   sequential_planner_extensions.py50982%31–32, 56, 110–124
   sequential_planner_parser.py771284%66–74, 93, 117–120
semantic_kernel/schema
   kernel_json_schema_builder.py119596%50, 84, 206, 210–211
semantic_kernel/template_engine/blocks
   code_block.py77199%119
   named_arg_block.py43198%98
semantic_kernel/utils/telemetry
   decorators.py113496%232, 240, 243, 252
   user_agent.py16288%18–19
TOTAL864814398% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
2106 1 :zzz: 0 :x: 0 :fire: 52.900s :stopwatch:

markwallace-microsoft avatar Aug 06 '24 15:08 markwallace-microsoft

@dependabot recreate

eavanvalkenburg avatar Aug 14 '24 08:08 eavanvalkenburg

Looks like weaviate-client is up-to-date now, so this is no longer needed.

dependabot[bot] avatar Aug 14 '24 08:08 dependabot[bot]