Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for Python 3.8 #675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Oct 5, 2019

Conversation

aaugustin
Copy link
Member

Fix #648.

@codecov
Copy link

codecov bot commented Oct 5, 2019

Codecov Report

Merging #675 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #675   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          28     30    +2     
  Lines        4382   4424   +42     
  Branches      407    408    +1     
=====================================
+ Hits         4382   4424   +42
Impacted Files Coverage Δ
src/websockets/server.py 100% <100%> (ø) ⬆️
src/websockets/handshake.py 100% <100%> (ø) ⬆️
tests/test_client_server.py 100% <100%> (ø) ⬆️
tests/test_protocol.py 100% <100%> (ø) ⬆️
src/websockets/__init__.py 100% <100%> (ø) ⬆️
src/websockets/framing.py 100% <100%> (ø) ⬆️
tests/test_framing.py 100% <100%> (ø) ⬆️
tests/__init__.py 100% <100%> (ø)
src/websockets/client.py 100% <100%> (ø) ⬆️
src/websockets/protocol.py 100% <100%> (ø) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d723227...d75d4a4. Read the comment docs.

The bugs that were locking us on an old version are fixed.
* Don't pass the deprecated loop argument.
* Ignore deprecation warnings for @asyncio.coroutine.
@aaugustin aaugustin changed the title Replace public APIs dropped by asyncio in Python 3.8 Add support for Python 3.8 Oct 5, 2019
@aaugustin aaugustin force-pushed the replace-public-apis-dropped-silently-by-asyncio branch from 2e0a52b to 504c66c Compare October 5, 2019 14:06
Since version 7.0, when the server closes, it terminates connections
with close code 1001 instead of canceling them.
WebSocketCommonProtocol.transport can be unset, but it cannot be None.
@aaugustin aaugustin merged commit 154c5fa into master Oct 5, 2019
@aaugustin aaugustin deleted the replace-public-apis-dropped-silently-by-asyncio branch October 5, 2019 19:45
@stonebig
Copy link

could we have a dev wheel on Pypi for Python-3.8rc1 ?

@aaugustin
Copy link
Member Author

Yeah, I should do that => #681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests are broken on Python 3.8
2 participants