Repository navigation
fix(crewai): support Python 3.13 (TH-8846) - #698
Open
khushalsonawat wants to merge 1 commit into
Open
khushalsonawat wants to merge 1 commit into
khushalsonawat wants to merge 1 commit into
Conversation
traceAI-crewai declared python <3.13, a cap older than the CrewAI 1.x work in #531 and #574, so pip refused the package on Python 3.13 even though CrewAI 1.x supports it. Widen the range to <3.14, add the 3.13 classifier, and add Python 3.13 to the CrewAI CI matrix for CrewAI 1.15.0 and the latest release. The 0.41.1 floor is excluded there: it allows only 3.13.0 and its pinned regex and tiktoken ship no 3.13 wheels. The lock is regenerated with Poetry 2.1.2, the version CI checks it with. No locked version moves. Signed-off-by: khushalsonawat <khushalsonawat@gmail.com>
This branch has not been deployed
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.
Summary
TH-8846. traceAI-crewai declared
python = ">=3.10, <3.13", a cap older than the CrewAI 1.x work in #531 and #574. Sopip install traceAI-crewaidoesn't resolve on Python 3.13, although CrewAI 1.x supports 3.13 (1.15.x allows<3.14).pyproject.toml: the range is widened to<3.14, and the Python 3.13 classifier is added. No code changes.crewai-tests.yml): Python 3.13 joins the matrix for CrewAI 1.15.0 and the latest release. The 0.41.1 floor is excluded on 3.13: it allows 3.13.0 only, and its pinnedregexandtiktokenship no 3.13 wheels. CrewAI supports 3.13 from 0.126.0.poetry.lock: regenerated with Poetry 2.1.2, the version CI checks it with. No locked version moves. The changes are the Python range in the metadata, agrpciomarker branch for 3.13 thatopentelemetry-exporter-otlp-proto-grpc1.36.0 declares, the lock header's Poetry version (2.2.1 to 2.1.2), andfi-instrumentation-otel's entry rewritten in Poetry's standard form, with its description and Python range matching PyPI (same hashes).The CrewAI 1.x tracing itself is already released (#531, #574; traceAI-crewai 0.1.11). This is a
fix, so release-please would cut 0.1.12.Verification
poetry check --lockwith Poetry 2.1.2 passes.CrewAI (…, Python 3.13)cells must pass before it's called done.Known limits
numpyis locked at 1.26.4, which has no cp313 wheel, so a Poetry install of this lock on 3.13 would build numpy from source.