-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add support for Python 3.12 #160
Conversation
It looks like you need to disable the tests for python 3.5 and 3.6 |
Updated! What do you think about dropping support for 3.5 and 3.6? They've been EOL for a few years:
3.7 also recently went EOL. |
Yep, I will have to drop support for the versions that I cannot test with the actions. |
I've pushed a couple of commits to drop 3.5 and 3.6. The first is the simple removal, and the second runs the pyupgrade tool to update the syntax for 3.7+. |
I did not know about the pyupgrade tool. I am not sure I am happy. When I said "I will remove the support for python 3.5, 3.6" I meant I will not support anymore users having issues with older versions of Python, not "I will intentionally break the decorator module for people using old versions", which is what pyupdate is doing. That is not nice. |
Ah, sure, I'll drop the last two commits.
This won't happen because And personally I find it risky to claim to support a version but not test it -- a change could inadvertently break something but it won't be caught until after it's been released and starts breaking for people. |
I was not clear. I am happy with your changes (requires>=3.7 and changing the docs saying that only >= 3.7 is supported), I was not happy with pyupgrade which is gratuitously breaking the syntax. The old string formatting syntax works, AFAIK is not deprecated, and there is no need to change it. Then somebody can just copy the module, put on his Python path and it would work even with old versions of Python. I will not claim to support them, but I will not actively break them. |
Sure thing! Please let me know if you'd like any other changes :) |
The Python 3.12 release candidate is out! 🚀