ci: 🤖 Update test matrix with new releases (02/24)#5524
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| starlette-v0.28.0: starlette==0.28.0 | ||
| starlette-v0.40.0: starlette==0.40.0 | ||
| starlette-v0.52.1: starlette==0.52.1 | ||
| starlette-v1.0.0rc1: starlette==1.0.0rc1 |
There was a problem hiding this comment.
Starlette rc1 conflicts with pinned anyio
Medium Severity
The new starlette-v1.0.0rc1 env inherits the global starlette: anyio<4.0.0 pin, which is likely incompatible with Starlette 1.0’s dependency requirements. This can make the starlette-v1.0.0rc1 tox environment fail during dependency resolution, breaking the updated CI matrix.
Additional Locations (1)
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. Bug Fixes 🐛Openai
Other
Documentation 📚
Internal Changes 🔧Agents
Openai Agents
Other
🤖 This preview updates automatically when you update the PR. |
Codecov Results 📊✅ 13 passed | Total: 13 | Pass Rate: 100% | Execution Time: 9.47s All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 13729 uncovered lines. Files with missing lines (180)
Generated by Codecov Action |
…5525) ## Summary - Fix `test_template_tracing_meta` failure on `starlette==1.0.0rc1` across all Python versions (3.10, 3.13, 3.14, 3.14t) Closes #5523 ## Analysis Starlette 1.0.0rc1 removed the deprecated `TemplateResponse(name, context)` calling convention ([Kludex/starlette#3118](Kludex/starlette#3118), commit [`96479da`](Kludex/starlette@96479da)). The new required signature is `TemplateResponse(request, name, context)`. When the old-style call was made, the string template name was passed as the `request` parameter and the context dict as `name`, which then got used as part of a Jinja2 cache key tuple, causing `TypeError: unhashable type: 'dict'`. The fix branches on `STARLETTE_VERSION >= (1,)` to use the new API for Starlette 1.0+ while keeping the old API for older versions. ## Test plan - [x] `tox -e py3.14-starlette-v1.0.0rc1` — 71 passed - [x] `tox -e py3.14-starlette-v0.52.1` — 71 passed (no regression) - [ ] CI passes on all Web 1 jobs 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>


Update our test matrix with new releases of integrated frameworks and libraries.
How it works
Action required
🤖 This PR was automatically created using a GitHub action.