-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong dependencies resolving for SQLAlchemy[postgresql_asyncpg] #5429
Comments
Same thing with poetry 1.2.0b1. |
Hey @evgen231,
So my guess is, that your platform is not included here and it is intended that fin swimmer |
But pip does. So it's a bug in the pip and SQLAlchemy dependencies? |
|
I'm seeing the same with The poetry.lock includes:
Within a Poetry shell for the environment above, pip does not show the dependency:
But when installed with pip instead of Poetry (via
|
I have exact same problem with |
This is a currently unhandled edge case where an extra specifies an unconditional dependency that is excluded by 'base' markers.
|
I already have but explicitly adding greenlet via |
PTAL @radoering @dimbleby when you have time, to confirm if my diagnosis is correct or not. |
I don't see anything much to agree or disagree with... Per this comment I do believe that it's a bug. I've a half-memory of taking a closer look back then and deciding that it was likely to be painful. But I haven't tried again and, you never know, maybe it'll turn out to be easy. |
I'm quite sure that #7175 fixes this issue, but it wouldn't hurt if someone with a platform where the issue occurs could verify this. |
@radoering issue does not appear to be resolved for me: Poetry version: 1.6.1 It is failing. ValueError: the greenlet library is required to use this function. No module named 'greenlet' I have SQLALchemy specified like this in my pyproject.toml: sqlalchemy = { version = "1.4.49", extras = ["postgresql_asyncpg"] } I also tried with: sqlalchemy = { version = "1.4.49", extras = ["asyncio"] } Seems like this only works when I explicitly add |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
After installing SQLAlchemy with postgresql_asyncpg extra there is no greenlet dependency.
Using pip:
The text was updated successfully, but these errors were encountered: