Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Lancetnik
Copy link
Member

Mypy couldn't resolve anyio imports, so we should type exception groups using sys-only

Fixes #1978

@Lancetnik Lancetnik requested a review from priyansh4320 August 4, 2025 20:31
@Lancetnik
Copy link
Member Author

Lancetnik commented Aug 4, 2025

Also, I suggest to drop anyio 3 support and pin minimal version to 4.0.0 – it was release 2 years already: https://github.com/agronholm/anyio/releases/tag/4.0.0

As an example: our mcp dependency requires anyio>=4.5.0

@priyansh4320 priyansh4320 added this pull request to the merge queue Aug 4, 2025
Merged via the queue into main with commit 3257c29 Aug 4, 2025
17 checks passed
@priyansh4320 priyansh4320 deleted the fix/1978 branch August 4, 2025 21:10
@codecov
Copy link

codecov bot commented Aug 4, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
autogen/fast_depends/_compat.py 33.33% 1 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ
autogen/fast_depends/_compat.py 57.57% <33.33%> (-4.59%) ⬇️

... and 30 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

[Bug]: Type-check failure in PR-checks

3 participants