Skip to content

Run CI tool jobs on Python 3.15, type-check CrewAI and Weaviate on 3.14 - #996

Merged
lmolkova merged 2 commits into
open-telemetry:mainfrom
lmolkova:ci-python-3.15
Oct 28, 2026
Merged

lmolkova merged 2 commits into
open-telemetry:mainfrom
lmolkova:ci-python-3.15

Conversation

@lmolkova

@lmolkova lmolkova commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Move CI tool jobs (typecheck, deps-check, precommit, etc.) and the release build to Python 3.15. Packages whose dependencies have no 3.15 wheels yet are type-checked in a separate typecheck-py314 job.

The 3.15 blockers are:

This came up when Renovate bumped setup-python to 3.15 in #993.

Changes:

  • typecheck drops crewai and weaviate-client. typecheck-py314 checks them with pyrightconfig.py314.json, which extends the root config.
  • docs stays on 3.14 because its env installs weaviate-client.
  • uv run steps that only need packaging or tox (deps-check, changelog preview, the release build's version check) no longer sync the whole workspace.
  • The root workspace dependency on crewai gets a python_version < '3.15' marker. The root package isn't published, so users see no change.
  • A Renovate rule keeps the 3.14 pins.

Relation to #992: #992 drops 3.10 and adds 3.15 to the package test matrix and classifiers. It keeps CI tool jobs on 3.14. This PR only changes which Python the CI tools run on, so neither depends on the other. Whichever merges second needs a uv lock re-run.

Once those dependencies ship cp315 wheels, typecheck-py314 can be folded back into typecheck.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-28 18:50 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@lmolkova lmolkova added the Skip Changelog PR does not require a changelog entry label Oct 28, 2026
@lmolkova
lmolkova marked this pull request as ready for review October 28, 2026 06:23
Copilot AI balanced review requested due to automatic review settings October 28, 2026 06:23
@lmolkova
lmolkova requested a review from a team as a code owner October 28, 2026 06:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The lockfile still resolves Python 3.15 to incompatible Pydantic versions through OpenAI, blocking dependency checks, changelog previews, and release validation with an unsupported pydantic-core source build.

No open issues 🎉

What changed in this PR

Moves CI tooling and release builds to Python 3.15 while keeping CrewAI type checking on Python 3.14. This is separate from #992’s package test-matrix changes.

Changes:

  • Updates CI tool and release-build interpreters to Python 3.15.
  • Adds a dedicated CrewAI typecheck job and configuration.
  • Makes the root CrewAI dependency conditional and disables Renovate updates for Python 3.14 workflow entries.
File Description
uv.lock Records the conditional root CrewAI dependency.
tox.ini Splits CrewAI into a separate typecheck environment.
pyproject.toml Adds the CrewAI Python marker and adjusts shared typecheck scope.
instrumentation/​opentelemetry-instrumentation-genai-crewai/​pyrightconfig.json Adds CrewAI-only source checking using the root configuration.
.github/​workflows/​misc.yml Moves tool jobs to 3.15 and adds CrewAI checking on 3.14.
.github/​workflows/​ci.yml Moves CI matrix generation to Python 3.15.
.github/​workflows/​changelog.yml Moves changelog preview to Python 3.15.
.github/​workflows/​_release-build.yml Moves release builds to Python 3.15.
.github/​renovate.json5 Prevents automatic updates to Python 3.14 workflow entries.

Review effort: Balanced

@lmolkova lmolkova changed the title Run CI tool jobs on Python 3.15, type-check CrewAI on 3.14 Run CI tool jobs on Python 3.15, type-check CrewAI and Weaviate on 3.14 Oct 28, 2026
@lmolkova
lmolkova enabled auto-merge October 28, 2026 18:23
@lmolkova
lmolkova added this pull request to the merge queue Oct 28, 2026
Merged via the queue into open-telemetry:main with commit 2510a96 Oct 28, 2026
83 checks passed
@lmolkova
lmolkova deleted the ci-python-3.15 branch October 28, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PR does not require a changelog entry

Development

Successfully merging this pull request may close these issues.

3 participants