Skip to content

Change websockets version to v9#1038

Merged
euri10 merged 2 commits intoKludex:masterfrom
heavenshell:topic/update_websockets_version
May 27, 2021
Merged

Change websockets version to v9#1038
euri10 merged 2 commits intoKludex:masterfrom
heavenshell:topic/update_websockets_version

Conversation

@heavenshell
Copy link
Copy Markdown
Contributor

websocket v9 was released.
https://pypi.org/project/websockets/

I update setup.py's extra_requirements

Thank you!

Comment thread setup.py Outdated
Co-authored-by: Sören Sprößig <36265207+ssproessig-thales@users.noreply.github.com>
@euri10
Copy link
Copy Markdown
Contributor

euri10 commented May 27, 2021

I haven't followed quite closely the changes upstream so let's see what the CI says, !

Copy link
Copy Markdown
Contributor

@euri10 euri10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the CI says tests pass ! thanks @heavenshell

@euri10 euri10 merged commit 5314a90 into Kludex:master May 27, 2021
@heavenshell heavenshell deleted the topic/update_websockets_version branch May 27, 2021 14:39
@heavenshell
Copy link
Copy Markdown
Contributor Author

Thank you so much!!

@LincolnPuzey
Copy link
Copy Markdown
Contributor

@euri10 @ssproessig-thales Note that websockets9 causes a Deprecation warning:

=============================== warnings summary ===============================
tests/protocols/test_websocket.py: 25 warnings
  /home/runner/work/uvicorn/uvicorn/uvicorn/protocols/websockets/websockets_impl.py:95: DeprecationWarning: websockets.handshake is deprecated
    websockets.handshake.check_request(headers)

I guess this will need to be fixed before websockets10

@euri10
Copy link
Copy Markdown
Contributor

euri10 commented May 28, 2021

Interesting, I would have thought the pytest configuration we have would have make this fail, since we essentially use all strict settings, or we didn't merge it I'm not sure now, wil check later, thanks for the heads up

@LincolnPuzey
Copy link
Copy Markdown
Contributor

@euri10 Looks like #929 is still open

@euri10
Copy link
Copy Markdown
Contributor

euri10 commented May 28, 2021

@euri10 Looks like #929 is still open

grrr ! will try to resurrect this thanks !

@euri10
Copy link
Copy Markdown
Contributor

euri10 commented May 28, 2021 via email

Kludex pushed a commit to sephioh/uvicorn that referenced this pull request Oct 29, 2022
* Change websockets version to v9

* Update setup.py

Co-authored-by: Sören Sprößig <36265207+ssproessig-thales@users.noreply.github.com>

Co-authored-by: Sören Sprößig <36265207+ssproessig-thales@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants