Repository navigation
test: test compatible integrations with Python 3.15; update pyproject - #4104
Merged
Merged
Conversation
haystack-ai main (3.5.0rc0) and the upcoming 3.4.0 require Python >=3.11, so the nightly "run unit tests with Haystack main branch" step fails on every 3.10 leg. Move the minimum tested version to 3.11 in all workflows and the workflow template. llama_stack's push default and coverage gates use 3.12, its minimum version. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Python 3.15.0 was released on 2026-10-09. Integrations whose dependencies install on 3.15 now test 3.15 instead of 3.14 as their maximum version and declare the 3.15 classifier. Integrations blocked by missing cp315 wheels upstream (torch, torchaudio, onnxruntime, PyO3 < 0.29 extensions, packages capped below 3.15) stay on 3.14. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Member
Author
|
@anakin87 Regarding the six failures: hetzner is fixed on main now. The other five are quota/API key issues. Not related to this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Proposed Changes:
Python 3.15.0 was released on 2026-10-09, and haystack-ai supports it since deepset-ai/haystack#13054. This PR follows #3001, which did the same for 3.14:
TEST_MATRIX_PYTHONnow tests 3.15 instead of 3.14 as the maximum version, andpyproject.tomldeclares thePython :: 3.15classifier. This includes pinecone's inline matrix (index name unchanged), docling_serve's static matrix and llama_stack (["3.12", "3.15"]).pydantic>=2.14.0; python_version >= '3.15'.pydantic>=2.12.0floor made the lowest-direct job on 3.15 resolve pydantic-core 2.41.1, which uses PyO3 0.26 and doesn't build on 3.15.scripts/utils/templates/workflow.ymlandpyproject.tomluse 3.15 for new integrations.These integrations stay on 3.14, without the 3.15 classifier, until upstream ships:
requires-python <3.15spacy.load()fails on 3.15 (explosion/spaCy#14047)requires-python <3.15class BatchCollectionProtocol(Generic[Properties], Protocol[Properties])raises "Cannot inherit from Generic[...] multiple times"protocoracledb<3.0.0pin has no cp315 wheels. oracledb 26.x has them, so relaxing the pin is a separate changeHow did you test it?
uv pip compile, and checked every pinned version on PyPI for cp315, abi3 or pure-Python wheels. The only gap that affects every integration is PyYAML 6.0.3, which has no cp315 wheels yet and installs from its sdist as pure Python, the same way haystack-ai does.hatch run test:unit, then the nightly path with haystack-ai from main:main.assert '42' in "I'm sorry, ...").Notes for the reviewer
mainonce test: use Python 3.11 in tests instead of 3.10 #4103 is merged.Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.🤖 Generated with Claude Code