diff --git a/.github/workflows/crewai-tests.yml b/.github/workflows/crewai-tests.yml index 8130bdc2e..c4558dd34 100644 --- a/.github/workflows/crewai-tests.yml +++ b/.github/workflows/crewai-tests.yml @@ -28,9 +28,14 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.10', '3.12'] + python: ['3.10', '3.12', '3.13'] # Exercise the Flow-node contract floor as well as the package floor. crewai: ['0.41.1', '1.15.0', 'latest'] + exclude: + # CrewAI 0.41.1 allows Python 3.13.0 only, and its pinned regex and tiktoken ship no + # 3.13 wheels; CrewAI supports 3.13 from 0.126.0. + - python: '3.13' + crewai: '0.41.1' steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: diff --git a/python/frameworks/crewai/README.md b/python/frameworks/crewai/README.md index c7020a336..b4eb027b7 100644 --- a/python/frameworks/crewai/README.md +++ b/python/frameworks/crewai/README.md @@ -17,6 +17,10 @@ pip install traceAI-crewai pip install crewai crewai_tools ``` +traceAI-crewai supports Python 3.10 to 3.13. On Python 3.13, use CrewAI 0.126.0 or later: +older CrewAI releases, including the 0.41.1 floor, don't support 3.13.1 and later. On 3.13, +CI tests CrewAI 1.15.0 and the latest release. + ### Set Environment Variables Set up your environment variables to authenticate with FutureAGI diff --git a/python/frameworks/crewai/poetry.lock b/python/frameworks/crewai/poetry.lock index 079b84875..ca46a651d 100644 --- a/python/frameworks/crewai/poetry.lock +++ b/python/frameworks/crewai/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -867,18 +867,15 @@ tests = ["asttokens (>=2.1.0)", "coverage", "coverage-enable-subprocess", "ipyth [[package]] name = "fi-instrumentation-otel" version = "1.2.2" -description = "OpenTelemetry instrumentation" +description = "OpenTelemetry tracing for AI applications: tracer setup, span helpers, exporters, and semantic conventions for Future AGI." optional = false -python-versions = ">3.9,<3.14" +python-versions = "<3.14,>3.9" groups = ["main"] +files = [ + {file = "fi_instrumentation_otel-1.2.2-py3-none-any.whl", hash = "sha256:25cf88f93e33aa928d4fae0f631afe8a32565639490862b715869e0633becbaf"}, + {file = "fi_instrumentation_otel-1.2.2.tar.gz", hash = "sha256:b675df47d7a03c506fbd2e4b0420fe4f74d12a6353a88b219bfd97797b276d4c"}, +] -[[package.files]] -file = "fi_instrumentation_otel-1.2.2-py3-none-any.whl" -hash = "sha256:25cf88f93e33aa928d4fae0f631afe8a32565639490862b715869e0633becbaf" - -[[package.files]] -file = "fi_instrumentation_otel-1.2.2.tar.gz" -hash = "sha256:b675df47d7a03c506fbd2e4b0420fe4f74d12a6353a88b219bfd97797b276d4c" [package.dependencies] jsonschema = ">=4.21.1,<5.0.0" opentelemetry-api = ">=1.29.0,<2.0.0" @@ -2411,7 +2408,10 @@ files = [ [package.dependencies] googleapis-common-protos = ">=1.57,<2.0" -grpcio = {version = ">=1.63.2,<2.0.0", markers = "python_version < \"3.13\""} +grpcio = [ + {version = ">=1.63.2,<2.0.0", markers = "python_version < \"3.13\""}, + {version = ">=1.66.2,<2.0.0", markers = "python_version >= \"3.13\""}, +] opentelemetry-api = ">=1.15,<2.0" opentelemetry-exporter-otlp-proto-common = "1.36.0" opentelemetry-proto = "1.36.0" @@ -4915,5 +4915,5 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" -python-versions = ">=3.10, <3.13" -content-hash = "69b9e209bfe1b93924a5eaddeb64a1e73a5ccc1473083e22d1bf042372ed2ce3" +python-versions = ">=3.10, <3.14" +content-hash = "e18b6db0d174c588acb15b10886075594cadc3c5ac1c16660834dba1508eb2ad" diff --git a/python/frameworks/crewai/pyproject.toml b/python/frameworks/crewai/pyproject.toml index bdff29e64..4ab8b90e9 100644 --- a/python/frameworks/crewai/pyproject.toml +++ b/python/frameworks/crewai/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Framework :: OpenTelemetry", "Framework :: OpenTelemetry :: Instrumentations", "Topic :: Software Development :: Libraries :: Python Modules", @@ -26,7 +27,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = ">=3.10, <3.13" +python = ">=3.10, <3.14" crewai = ">=0.41.1" fi-instrumentation-otel = ">=1.2.2" # CrewAI 0.41.1 imports pkg_resources, removed in setuptools 81.