Skip to content

fix(ci): add pytest-asyncio for async/streaming tests - #8

Merged
DJLougen merged 1 commit into
mainfrom
cursor/fix-pytest-asyncio-dep-a4a9
Jun 4, 2026
Merged

fix(ci): add pytest-asyncio for async/streaming tests#8
DJLougen merged 1 commit into
mainfrom
cursor/fix-pytest-asyncio-dep-a4a9

Conversation

@DJLougen

@DJLougen DJLougen commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Problem

After the fe70854 feature batch (test_async_stack, test_streaming), CI fails on a clean pip install -e .[dev] because pytest-asyncio was not declared. Six tests error with "async def functions are not natively supported".

Fix

  • Add pytest-asyncio>=0.24 to [project.optional-dependencies].dev
  • Set [tool.pytest.ini_options] asyncio_mode = "auto"

Verification

  • pytest tests/177 passed, 3 skipped
  • Full pentest (scripts/hive_pentest.py --fail-on-skip) → 22/22 passed

Slack Thread

Open in Web Open in Cursor 

The now-tier batch added test_async_stack and test_streaming but did not
declare pytest-asyncio in dev dependencies, causing 6 CI failures on a
clean pip install -e .[dev].

Co-authored-by: Daniel <DJLougen@users.noreply.github.com>
@DJLougen
DJLougen marked this pull request as ready for review June 4, 2026 13:26
@DJLougen
DJLougen merged commit cb7970f into main Jun 4, 2026
4 of 7 checks passed
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.

2 participants