fix(tutorials): add pytest-asyncio to async tutorial dev deps (#481) - #482
Closed
deepthi-rao-scale wants to merge 0 commit into
Closed
fix(tutorials): add pytest-asyncio to async tutorial dev deps (#481)#482deepthi-rao-scale wants to merge 0 commit into
deepthi-rao-scale wants to merge 0 commit into
Conversation
deepthi-rao-scale
enabled auto-merge (squash)
July 30, 2026 18:30
auto-merge was automatically disabled
July 30, 2026 18:39
Pull request was closed
|
No reviewable files after applying ignore patterns. |
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.
Greptile Summary
This PR adds
pytest-asyncioandhttpxto the dev dependencies of five async tutorialpyproject.tomlfiles that were previously missing them, enabling async test execution for these tutorials.090_multi_agent_non_temporal,060_open_ai_agents_sdk_hello_world,070_open_ai_agents_sdk_tools,080_open_ai_agents_sdk_human_in_the_loop, and090_claude_agents_sdk_mvpall receive the same two additions to their[project.optional-dependencies] devsection.120_openai_agentsand130_langgraphalready carry these same deps. The test files use explicit@pytest.mark.asynciodecorators and@pytest_asyncio.fixture, which are compatible with the default strict mode of pytest-asyncio ≥ 0.21 without needingasyncio_mode = "auto".Confidence Score: 5/5
Safe to merge — adds two missing dev-only dependencies across five tutorial projects with no runtime impact.
All five changes are identical, isolated additions to optional dev dependencies. The test files already use the explicit @pytest.mark.asyncio and @pytest_asyncio.fixture patterns that work correctly with the deps being added, and the change is consistent with how sibling tutorials are already configured.
Files Needing Attention: No files require special attention.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Tutorial pyproject.toml\ndev dependencies] --> B{Has pytest-asyncio\nand httpx?} B -- Before PR --> C[❌ Missing in 5 tutorials\n060, 070, 080, 090 temporal\n090 base] B -- After PR --> D[✅ Added to all 5 tutorials] D --> E[pytest-asyncio\nenables async test functions] D --> F[httpx\nenables async HTTP client\nin tests] E --> G[Tests use @pytest.mark.asyncio\nand @pytest_asyncio.fixture\n→ works in strict mode default]Reviews (1): Last reviewed commit: "fix(tutorials): add pytest-asyncio to as..." | Re-trigger Greptile