-
Notifications
You must be signed in to change notification settings - Fork 294
Drop support for EOL Python 2.7, 3.5 and 3.6 #536
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
Conversation
Looks like this PR should be rediffed against current master. |
Updated against master! |
…SanitizerFile is deprecated.
Updated to fix this pytest deprecation warning: #529 (comment). |
Since this was opened 11 months ago, Python 3.6 has gone EOL and been dropped by pip, so dropping here too. |
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.
Is possible to make new release?
Closing this year old PR, happy to re-open if any interest 👍 |
Fixes #541.
The readme says:
https://github.com/html5lib/html5lib-python#installation
pip supports:
https://pip.pypa.io/en/stable/installation/#compatibility
Therefore this PR drops support for EOL 2.7, 3.5 and 3.6 and upgrades to modern syntax using pyupgrade. There will be more cleanup possible, but I didn't want this PR to get too big.
Similarly, if you'd prefer a smaller PR, like dropping support and removing six, but keeping the older syntax for another PR, just let me know!