-
Notifications
You must be signed in to change notification settings - Fork 302
Remove six #581
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
Remove six #581
Conversation
ruff check --target-version py38 --select UP --fix .
Even debian oldstable has python 3.9. For internet-facing libraries it is not secure for contributor to install unsupported python versions in order to test them. Reducing the number of python versions will make maintenance and testing easier. is not secure to contributor to install unsupported python versions in order to test them.
Mic92
commented
Sep 9, 2024
I will continue to look at this when #580 is merged. Currently it still has some errors in it.
ashleysommer
commented
Sep 25, 2024
ashleysommer
commented
Sep 25, 2024
@Mic92 I found two, on line 133 and 135 of _inputstream.py you need to replace text_type with str.
After doing that, all tests pass.
Mic92
commented
Sep 25, 2024
I was mainly looking at the test suite failing.
Mic92
commented
Sep 25, 2024
Good to know there is a potential fork to switch to in the future.
Good to know there is a potential fork to switch to in the future.
@Mic92
Its now published here:
https://pypi.org/project/html5lib-modern/
Depends on #580