Skip to content

test: declare pytest-asyncio as a dev dependency - #100

Merged
tishachawla-jg merged 1 commit into
mainfrom
add-pytest-asyncio-dev-dep
Sep 4, 2026
Merged

test: declare pytest-asyncio as a dev dependency#100
tishachawla-jg merged 1 commit into
mainfrom
add-pytest-asyncio-dev-dep

Conversation

@tishachawla-jg

Copy link
Copy Markdown
Collaborator

Summary

  • tests/test_a2a_health.py (added in Add short timeout to health checks to prevent sidebar hanging #97) uses @pytest.mark.asyncio, but pytest-asyncio was never declared in the dev extras — a fresh pip install -e ".[dev]" + make test fails those 4 async tests until someone installs the plugin by hand
  • Adds pytest-asyncio>=0.24 to dev, and pins asyncio_mode = "strict" explicitly (matches the plugin's existing default, just makes it explicit)

Test plan

  • Uninstalled pytest-asyncio, reinstalled via `pip install -e ".[dev,examples]"`, confirmed it's now pulled in automatically
  • `pytest -q`: 225 passed, 2 skipped, no failures

🤖 Generated with Claude Code

tests/test_a2a_health.py (#97) uses @pytest.mark.asyncio, but
pytest-asyncio was never added to the dev extras, so `make test` on
a fresh clone fails those tests with "async def functions are not
natively supported" until the plugin is installed by hand. Declare
it and pin asyncio_mode explicitly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@tishachawla-jg
tishachawla-jg merged commit 5a3a498 into main Sep 4, 2026
3 checks passed
@tishachawla-jg tishachawla-jg mentioned this pull request Sep 4, 2026
2 tasks
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.

1 participant