Skip to content

Websockets dependency conflict #232

@jaybutera

Description

@jaybutera

I'm getting a dependency conflict trying to use websockets with poetry, python 3.11.

python = "^3.11"
dydx-v3-python = "^2.1.0"
 and web3 (5.20.0) depends on websockets (>=8.1.0,<9.0.0), web3 (>=5.0.0,<6.0.0) requires websockets (>=7.0.0,<8.0.0 || >=8.1.0,<9.0.0 || >=9.1,<10).
Because no versions of dydx-v3-python match >2.1.0,<3.0.0
 and dydx-v3-python (2.1.0) depends on web3 (>=5.0.0,<6.0.0), dydx-v3-python (>=2.1.0,<3.0.0) requires web3 (>=5.0.0,<6.0.0).
Thus, dydx-v3-python (>=2.1.0,<3.0.0) requires websockets (>=7.0.0,<8.0.0 || >=8.1.0,<9.0.0 || >=9.1,<10).
So, because dydx-bot depends on both dydx-v3-python (^2.1.0) and websockets (^12.0), version solving failed.

Is dydx out of date with websockets or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions