Skip to content

ci(starlette): Drop direct anyio dependency - #7724

Merged
alexander-alderman-webb merged 3 commits into
masterfrom
webb/starlette/drop-anyio-pin
Sep 30, 2026
Merged

alexander-alderman-webb merged 3 commits into
masterfrom
webb/starlette/drop-anyio-pin

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

There is no import of anyio in test_starlette.py

The dependency existed since the beginning, so I assume it can be removed: 85879b4

The pin leads to unsatisfiable constraints #7715.

Using Python 3.14.7 environment at: .tox/py3.14-starlette-v1.7.0
  × No solution found when resolving dependencies:
  ╰─▶ Because starlette>=1.7.0 depends on anyio>=4.0.0,<5 and you require
      anyio<4.0.0, we can conclude that your requirements and starlette>=1.7.0
      are incompatible.
      And because you require starlette==1.7.0, we can conclude that your
      requirements are unsatisfiable.

Issues

Closes #7778

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title ci(starlette): Drop direct anyio dependency ci(starlette): Drop direct anyio dependency Sep 28, 2026
@alexander-alderman-webb alexander-alderman-webb changed the title ci(starlette): Drop direct anyio dependency ci(starlette,fastapi): Drop direct anyio dependency Sep 28, 2026
@alexander-alderman-webb alexander-alderman-webb changed the title ci(starlette,fastapi): Drop direct anyio dependency ci(starlette): Drop direct anyio dependency Sep 28, 2026
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ 131372 passed | ⏭️ 7185 skipped | Total: 138557 | Pass Rate: 94.81% | Execution Time: 451m 28s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +3780
Passed Tests 📈 +3783
Failed Tests 📉 -3
Skipped Tests —

➖ Removed Tests (2)

View removed tests
  • test_binary_content_encoding_mixed_content[False-False]
    • File: tests.integrations.litellm.test_litellm
  • test_cache_spans_decorator[True]
    • File: tests.integrations.django.test_cache_module

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2549 uncovered lines.


Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 30, 2026 12:14
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 30, 2026 12:14
@alexander-alderman-webb
alexander-alderman-webb merged commit 294db4a into master Sep 30, 2026
610 of 616 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/starlette/drop-anyio-pin branch September 30, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Starlette CI failures

2 participants