You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pip install -r requirement.txt, it will throw Cannot install -r requirements.txt (line 8) and siwe because these package versions have conflicting dependencies. error.
Error output:
#8 12.34 The conflict is caused by:
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.31.1 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.31.0 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.30.0 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.29.2 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.29.1 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.29.0 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.28.0 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.27.0 depends on websockets<10 and >=9.1
#8 12.34 sanic 22.6.2 depends on websockets>=10.0
#8 12.34 web3 5.26.0 depends on websockets<10 and >=9.1
#8 12.34
#8 12.34 To fix this you could try to:
#8 12.34 1. loosen the range of package versions you've specified
#8 12.34 2. remove package versions to allow pip attempt to solve the dependency conflict
#8 12.34
How can it be fixed?
This is simply fixed by lossening the range of package versions of the sanic library but that would lead to downgrading sanic to version 21 which isn't very ideal
web3.py version constraint on websockets is a bit outdated since websockets latest version is now 10. Hope someone can consider updating the websockets dependency constraint to include websockets v10 as well.
The text was updated successfully, but these errors were encountered:
Historically we've kept upper pins on most things, but that's changing starting with v6 - see PR #2648.
This won't be applied to v5 though, so you'd need to use the v6 beta, currently 6.0.0b7. so you'd need need to install from master right now. Dropping upper pins will be available in the next beta release.
pip freeze
outputWhat was wrong?
When running pip install -r requirement.txt, it will throw
Cannot install -r requirements.txt (line 8) and siwe because these package versions have conflicting dependencies.
error.Error output:
How can it be fixed?
This is simply fixed by lossening the range of package versions of the sanic library but that would lead to downgrading sanic to version 21 which isn't very ideal
web3.py version constraint on websockets is a bit outdated since websockets latest version is now 10. Hope someone can consider updating the websockets dependency constraint to include websockets v10 as well.
The text was updated successfully, but these errors were encountered: