Repository navigation
Add support for Python 3.15 and drop 3.10 - #2258
Conversation
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Secrets | View in Orca |
There was a problem hiding this comment.
🟡 Changes recommended
The new Python 3.15 journey-test entry still uses the hard-coded Python 3.11 interpreter, so it duplicates existing coverage rather than testing 3.15.
1 open issue
What changed in this PR
Updates the Weaviate Python client for Python 3.15 and raises the minimum supported version to Python 3.11.
Changes:
- Updates package requirements, documentation, and typing code for the new Python baseline.
- Adds Python 3.15 CI matrix entries and interpreter-specific development dependencies.
- Renames
profiling/toprofiling_tests/to avoid shadowing Python 3.15’s standard-library package.
| File | Description |
|---|---|
weaviate/util.py |
Simplifies scalar UUID type checking. |
weaviate/collections/classes/internal.py |
Removes obsolete typing-import compatibility logic. |
weaviate/collections/classes/grpc.py |
Narrows the BM25 operator annotation. |
setup.cfg |
Requires Python 3.11 or newer. |
requirements-devel.txt |
Adds Python 3.15 dependency pins and updates typing extensions. |
README.rst |
Updates the documented Python baseline. |
profiling_tests/test_sphere.py |
Relocates Sphere dataset profiling tests. |
profiling_tests/test_shutdown.py |
Relocates batch-import shutdown tests. |
profiling_tests/test_refs.py |
Relocates reference stress tests. |
profiling_tests/test_profiling.py |
Updates example commands for the renamed directory. |
profiling_tests/test_import_and_query.py |
Relocates import and query performance tests. |
profiling_tests/pyspy.py |
Relocates the query profiling script. |
profiling_tests/constants.py |
Relocates profiling image fixtures. |
profiling_tests/conftest.py |
Updates dataset lookup paths after the rename. |
profiling_tests/__init__.py |
Preserves package structure under the new name. |
packages/web/pyproject.toml |
Raises the web package’s Python minimum to 3.11. |
docs/index.rst |
Updates the documented Python baseline. |
docs/changelog.rst |
Records Python 3.10 removal and Python 3.15 support. |
.github/workflows/main.yaml |
Updates Python matrices and coverage-upload conditions. |
Review effort: Balanced
Proov triage
Advisory, generated by Proov (deepseek-v4.1-flash + kimi-k3) at 536e1de. The review follows. |
|
Proov review: approve-with-comments Recommendation: Approve The
17 CI checks are still in progress — wait for green before merging. review-branch@c31ceb2 · deepseek-v4.1-flash + kimi-k3 · tests not run · advisory |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev/1.41 #2258 +/- ##
===========================================
Coverage ? 92.40%
===========================================
Files ? 311
Lines ? 23601
Branches ? 0
===========================================
Hits ? 21809
Misses ? 1792
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

Uh oh!
There was an error while loading. Please reload this page.