Skip to content

Commit

Permalink
fix(deps): pin websockets<11.0 for sanic
Browse files Browse the repository at this point in the history
Fixes
ImportError: cannot import name 'CLOSED' from 'websockets.connection'
  • Loading branch information
gadicc committed Apr 10, 2023
1 parent 5fb6487 commit 33ae2f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# we pin sanic==22.6.2 for compatibility with banana
sanic==22.6.2
# earlier sanics don't pin but require websockets<11.0
websockets<11.0

# now manually git cloned in a later step
# diffusers==0.4.1
Expand Down

0 comments on commit 33ae2f4

Please sign in to comment.