Skip to content

Add support for 1.41 features - #2276

Merged
databyjp merged 32 commits into
mainfrom
dev/1.41
Nov 26, 2026
Merged

databyjp merged 32 commits into
mainfrom
dev/1.41

Conversation

@databyjp

Copy link
Copy Markdown
Collaborator

No description provided.

ColtonRobak and others added 30 commits October 28, 2026 10:55
Google Cloud's Python libraries will require grpcio>=1.83.0 from April 2027,
and the <1.80.0 bound makes weaviate-client uninstallable next to them. Add
grpcio 1.85.0 and protobuf 6.33.6 to the CI matrices.

Closes #2226

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
grpcio-tools used to choose protobuf for each integration entry. Without it,
pip installed protobuf 6 next to grpcio 1.66.0 and 1.70.0, which the client
rejects with WeaviateProtobufIncompatibility. Pin the protobuf major each
entry had before, and move the 3.10 entry to the 1.59.5 floor so pip no
longer swaps it for the newest grpcio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Exposes the rescoreFactor setting from weaviate/weaviate#13536 on the
pq, bq, sq and rq quantizers in Configure, Reconfigure and the config
returned by the server. PQ also gains rescore_limit, which the server
now honours for every quantizer.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Raise minimum supported version to 1.32.0
Add rescore_factor to quantizer configs and rescore_limit to PQ
chore(deps): raise the grpcio upper bound to <2.0.0
Add support for Python 3.15 and drop 3.10
Add expiration for DB users on Weaviate 1.41+
# Conflicts:
#	weaviate/collections/filters.py
#	weaviate/users/base.py
…2242)

* feat(config): add Configure.Reranker.typesafeai and Configure.Reranker.openai

* Describe the rerankers as decision models and test the update path for both

The Rerankers enum docstring called the two modules reranking models. The update-path tests covered only Reconfigure.Reranker.openai; they now run for typesafeai as well.

* Say that the reranker base_url is a host without a path

The server appends /v1/decisions or /v1/systemone, so an OpenAI base URL
ending in /v1 sends requests to /v1/v1/decisions.
* Test against Weaviate 1.41.0

* Request text top occurrences when only their values are asked for

Metrics.text(top_occurrences_value=True) sent top_occurences=false, so
Weaviate 1.41, which computes top occurrences only when that flag is set,
returned an empty list.
@databyjp
databyjp requested a review from a team as a code owner November 25, 2026 14:11

@orca-security-eu orca-security-eu Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 74.12587% with 111 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.32%. Comparing base (635124c) to head (5f2a416).
⚠️ Report is 60 commits behind head on main.

Files with missing lines Patch % Lines
integration/test_users.py 30.10% 65 Missing ⚠️
integration/test_collection_openai.py 0.00% 23 Missing ⚠️
integration/test_collection_config.py 75.92% 13 Missing ⚠️
weaviate/users/base.py 75.00% 5 Missing ⚠️
...te/collections/aggregations/near_image/executor.py 25.00% 3 Missing ⚠️
weaviate/collections/classes/internal.py 84.61% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2276      +/-   ##
==========================================
+ Coverage   89.23%   92.32%   +3.09%     
==========================================
  Files         312      313       +1     
  Lines       24715    24053     -662     
==========================================
+ Hits        22055    22208     +153     
+ Misses       2660     1845     -815     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@databyjp
databyjp merged commit ac2f5fc into main Nov 26, 2026
340 of 341 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants