fix: disable anyio pytest plugin#1098
Open
xangcastle wants to merge 2 commits into
Open
Conversation
✨ Aspect Workflows Tasks📅 Wed Jun 10 22:57:55 UTC 2026 ✅ 7 successful tasks
⏱ Last updated Wed Jun 10 23:36:10 UTC 2026 · 📊 GitHub API quota 252/15,000 (2% used, resets in 6m, throttle 3×) |
jbedard
reviewed
Jun 10, 2026
jbedard
reviewed
Jun 10, 2026
1565957 to
ee27337
Compare
ee27337 to
3689e16
Compare
Member
|
Now this is just an example in e2e? Is that worth merging into 1.x? |
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.
Problem
When
anyiois a direct or transitive dependency of apy_testtarget, its pytest plugin auto-registers via thepytest11entry point. This causes interference with test collection and execution in environments that don't explicitly configure anyio's async backend.Fix
Add and e2e sample with
-p no:anyioto the pytest args.Changes are visible to end-users: no
Test plan