Repository navigation
ci: bump typing-extensions test pin to 4.16.0 - #3928
Merged
Merged
Conversation
anyio 4.15.0 (2026-09-02) imports typing_extensions.sentinel, which only exists from typing-extensions 4.16.0. The agent-os and agent-mesh test jobs install the package (resolving typing-extensions 4.16.0), then install requirements/ci-test.txt, whose 4.15.0 pin downgrades it. Every test module that imports fastapi then fails at collection with ImportError: cannot import name 'sentinel'. CI on main has been red on test (agent-os, 3.11-3.13) and test (agent-mesh, 3.11-3.13) since 2026-09-08 for this reason. Raise the pin to 4.16.0 (hash from PyPI) and note why next to it. Signed-off-by: MohammadHaroonAbuomar <40180927+MohammadHaroonAbuomar@users.noreply.github.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
PR Review Summary
Verdict: AI review comments are untrusted advisory output. The summary reports workflow-generated completion status only, not model-authored pass/fail claims. |
MohammadHaroonAbuomar
deleted the
mhabuomar/ci-typing-extensions-4160
branch
September 13, 2026 16:50
This was referenced Sep 13, 2026
Karim Mehalebi (karimad)
pushed a commit
to karimad/agent-governance-toolkit
that referenced
this pull request
Sep 14, 2026
anyio 4.15.0 (2026-09-02) imports typing_extensions.sentinel, which only exists from typing-extensions 4.16.0. The agent-os and agent-mesh test jobs install the package (resolving typing-extensions 4.16.0), then install requirements/ci-test.txt, whose 4.15.0 pin downgrades it. Every test module that imports fastapi then fails at collection with ImportError: cannot import name 'sentinel'. CI on main has been red on test (agent-os, 3.11-3.13) and test (agent-mesh, 3.11-3.13) since 2026-09-08 for this reason. Raise the pin to 4.16.0 (hash from PyPI) and note why next to it. Signed-off-by: MohammadHaroonAbuomar <40180927+MohammadHaroonAbuomar@users.noreply.github.com>
Yuvraj Singh (yuvrajsingh2428)
pushed a commit
to yuvrajsingh2428/agent-governance-toolkit
that referenced
this pull request
Oct 1, 2026
anyio 4.15.0 (2026-09-02) imports typing_extensions.sentinel, which only exists from typing-extensions 4.16.0. The agent-os and agent-mesh test jobs install the package (resolving typing-extensions 4.16.0), then install requirements/ci-test.txt, whose 4.15.0 pin downgrades it. Every test module that imports fastapi then fails at collection with ImportError: cannot import name 'sentinel'. CI on main has been red on test (agent-os, 3.11-3.13) and test (agent-mesh, 3.11-3.13) since 2026-09-08 for this reason. Raise the pin to 4.16.0 (hash from PyPI) and note why next to it. Signed-off-by: MohammadHaroonAbuomar <40180927+MohammadHaroonAbuomar@users.noreply.github.com> Signed-off-by: yuvrajsingh2428 <offcyuvi2428@gmail.com>
MinYi Xie (ppcvote)
added a commit
to ppcvote/agent-governance-toolkit
that referenced
this pull request
Oct 4, 2026
anyio>=4.15 imports typing_extensions.sentinel, which only exists from typing-extensions 4.16.0. The integration install resolves 4.16.0, but the hash-pinned ci-test.txt step then downgrades it to 4.15.0, so importing openai-agents (via mcp -> anyio) fails at test collection in test-integrations (openai-agents-trust). Mirrors upstream microsoft#3928. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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 Issue
None. Splits the one-line CI fix out of #3919 so it can land on its own.
Problem & Solution
Problem: CI on
mainhas failedtest (agent-os, 3.11–3.13)andtest (agent-mesh, 3.11–3.13)on every run since 2026-09-08. anyio 4.15.0 (released 2026-09-02) importstyping_extensions.sentinel, which exists only from typing-extensions 4.16.0. The test jobs install the package (resolving 4.16.0) and then installrequirements/ci-test.txt, whosetyping-extensions==4.15.0pin downgrades it. Every test module that imports fastapi fails at collection:Solution: raise the pin to 4.16.0 with the PyPI wheel hash, and leave a comment explaining the constraint.
Impact on Your Work
Unblocks CI for every open PR and for the dependabot lane (15 routine PRs are held only by this failure).
Timeline
None
Alternatives Considered
Pin
anyio<4.15in agent-os and agent-mesh: rejected, it caps a runtime dependency to work around a test-only constraints file.Type of Change
Package(s) Affected
Testing
Unit Testing
N/A, pin change only.
Manual Testing
pip install --require-hashes -r agent-governance-python/requirements/ci-test.txtinto a scratch target installs 4.16.0 andtyping_extensions.sentinelresolves.import anyio.abcsucceeds.typing_extensions-4.16.0-py3-none-any.whl.Checklist
Attribution & Prior Art
AI Assistance
IP, Patents, and Licensing