Skip to content

fix: use sqlalchemy[asyncio] to ensure greenlet on all platforms#50

Open
shanemcd wants to merge 1 commit intolightspeed-core:mainfrom
shanemcd:shanemcd/sqlalchemy-asyncio
Open

fix: use sqlalchemy[asyncio] to ensure greenlet on all platforms#50
shanemcd wants to merge 1 commit intolightspeed-core:mainfrom
shanemcd:shanemcd/sqlalchemy-asyncio

Conversation

@shanemcd
Copy link
Contributor

Description

Use sqlalchemy[asyncio]>=2.0.0 instead of sqlalchemy>=2.0.0 to ensure greenlet is installed on all platforms.

SQLAlchemy's base dependencies specify greenlet with platform markers that exclude s390x. Since we use async SQLAlchemy features (via llama-stack), we need greenlet at runtime on all platforms.

The [asyncio] extra includes greenlet unconditionally, fixing s390x builds that were failing with "No module named 'greenlet'".

Type of change

  • Bug fix

Tools used to create PR

  • Assisted-by: Claude Code
  • Generated by: Claude Opus 4.5

Related Tickets & Documents

  • Related Issue # N/A
  • Closes # N/A

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
  • If it is a core feature, I have added thorough tests.

Testing

  • Verify s390x container build succeeds with greenlet properly installed via sqlalchemy[asyncio] dependency.

SQLAlchemy's base dependencies specify greenlet with platform markers
that exclude s390x. Since we use async SQLAlchemy features (via
llama-stack), we need greenlet at runtime on all platforms.

The [asyncio] extra includes greenlet unconditionally, fixing s390x
builds that were failing with "No module named 'greenlet'".

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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