Skip to content

fix: add aiohttp dependency for Socket.IO HTTP handshake - #2

Merged
bojieli merged 1 commit into
19PINE-AI:mainfrom
1997cui:fix/add-aiohttp-dependency
May 23, 2026
Merged

fix: add aiohttp dependency for Socket.IO HTTP handshake#2
bojieli merged 1 commit into
19PINE-AI:mainfrom
1997cui:fix/add-aiohttp-dependency

Conversation

@1997cui

@1997cui 1997cui commented May 23, 2026

Copy link
Copy Markdown
Contributor

python-socketio requires aiohttp for the initial HTTP handshake even with websocket transport. Without it, pine_send_message and pine_get_history fail with 'One or more namespaces failed to connect' when running via uvx (which creates an isolated environment without aiohttp pre-installed).

Fixes #1

python-socketio requires aiohttp for the initial HTTP handshake
even with websocket transport. Without it, pine_send_message and
pine_get_history fail with 'One or more namespaces failed to connect'
when running via uvx (which creates an isolated environment without
aiohttp pre-installed).

Fixes 19PINE-AI#1
@bojieli
bojieli merged commit e190dfb into 19PINE-AI:main May 23, 2026
4 checks passed
bojieli added a commit that referenced this pull request May 23, 2026
Ship the aiohttp dependency fix from #2.

python-socketio's async client needs aiohttp for the initial HTTP
handshake regardless of transport, but uvx's isolated environments
didn't have it. Declaring aiohttp>=3.8 directly fixes pine_send_message
and pine_get_history when running via uvx without `--with aiohttp`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bojieli

bojieli commented May 23, 2026

Copy link
Copy Markdown
Collaborator

Thanks a lot @1997cui for your contributions

released a new version v0.1.4

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.

pine_get_history and pine_send_message consistently return "One or more namespaces failed to connect"

2 participants