-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
I ran into a dependency resolution error when trying to install anchorpy with Poetry:
> poetry add anchorpy
Using version ^0.21.0 for anchorpy
Updating dependencies
Resolving dependencies... (0.4s)
Because no versions of anchorpy match >0.21.0,<0.22.0
and anchorpy (0.21.0) depends on construct-typing (>=0.5.1,<0.6), anchorpy (>=0.21.0,<0.22.0) requires construct-typing (>=0.5.1,<0.6).
And because solana (0.36.9) depends on construct-typing (>=0.6.2,<0.7.0)
and no versions of solana match >0.36.9,<0.37.0, anchorpy (>=0.21.0,<0.22.0) is incompatible with solana (>=0.36.9,<0.37.0).
So, because donkin-langchain-server-chat-agent depends on both solana (>=0.36.9,<0.37.0) and anchorpy (^0.21.0), version solving failed.
It looks like the root issue is that anchorpy 0.21.0 pins construct-typing to <0.6, while the latest solana (0.36.9) requires construct-typing >=0.6.2,<0.7.0. This makes the two libraries mutually incompatible.
Could anyone clarify whether:
- A new release of anchorpy is planned that bumps the construct-typing requirement to be compatible with solana>=0.36.9?
- Or if there’s a recommended workaround (e.g., pinning solana to an earlier version)?
This would help resolve installation issues for projects that depend on both anchorpy and solana.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels