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
Make test_memorizing Python3 compatible #21690
Conversation
Is |
No, historically pywebsocket was third party. We vendored it and eventually made a few minor changes, but continued to treat it as mostly third party so we didn't enable the tests in CI &c. If we're making more changes to update it we should also start running the tests. |
Ack. @svillar - can you look into enabling pywebsocket tests as part of the CI testing run? I see it in norecursedirs in pytest.ini, perhaps it just needs removed from there. |
Sure. I prefer to do it in a different PR though |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very reasonable. This PR LGTM, assuming it takes the test from failing -> pass on your machine and still works in py2.7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although this LGTM, I think the maintainers of pywebsocket
are also working on Python 3 compatibility. We should loop them in and avoid collisions. @ricea @quasi-mod
BTW I have another 3 patches pending to be reviewed related to pywebsocket (and several others about to come), see https://git.io/JvnrR, https://git.io/JvnrE and https://git.io/Jvnoj If they're already working on that I can stop working on this component and focus on others. |
We have officially released pywebsocket3 (a python 3 compatible version of the original pywebsocket) earlier this week.
Looking at the patches, I think the changes made in these patches are already applied in pywebsocket3. Our plan is to replace the old pywebsocket to the new pywesocket3, so I think you can stop working on pywebsocket and continue on with the other components. |
Thanks, @quasi-mod . And sorry for the insufficient communication @svillar . I'm closing these PRs for now. See #21749 for next steps. |
By using six.moves.StringIO