Skip to content
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

Run (and pass) Python 3 unit tests on Windows #1067

Merged
merged 10 commits into from May 26, 2021

Conversation

itamarst
Copy link
Collaborator

@itamarst itamarst commented May 25, 2021

Fixes https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3700
Fixes https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3701

Integration tests will be follow-up ticket.

Changes that merit extra attention: on Python 3, I disabled the various Unicode-specific "fixes". This changes behavior slightly, but my presumption that Python 3's built-in Unicode functionality is probably better than what this code does. The mentioned bugs were fixed in Python 3, I believe.

@itamarst itamarst requested a review from a team May 25, 2021 19:17
@itamarst
Copy link
Collaborator Author

The failing 3.9 is due to typechecks dependencies not being installable on Windows for some reason, I will investigate.

…uires compilation which fails, sticking to 3.7 is workaround since it has Windows wheels.
@coveralls
Copy link
Collaborator

Coverage Status

Coverage remained the same at 95.421% when pulling e5d6367 on 3700.byteswarning-windows into 05a1349 on master.

Copy link
Contributor

@meejah meejah left a comment

Choose a reason for hiding this comment

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

looks fine .. I'm allergic to windows but if you think this is good, great! :)

@itamarst itamarst merged commit d967c6d into master May 26, 2021
@itamarst itamarst deleted the 3700.byteswarning-windows branch May 26, 2021 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants