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
[Next 2020-09] Drop support for Python 2.7, Python 3.4 and Python 3.5 #330
Comments
@brunobord any opinion on this? |
If I'm following this Status of Python branches:
At the moment, there are projects that would still need PY2-compatible workalendar lib, and removing its availability is a touchy topic, this should be carefully driven. I see the point of switching to a "Python 3" only code, although the "f-string" may not be the NUMBER 1 argument for workalendar. I'm almost sure there's not a lot of formatted strings, and they don't require to be f-stringified :o) But I don't see the point in rushing here: our codebase compatibility is as wide as necessary, from 2.7 to 3.7. I think that the next milestone would happen after Python 3.4 EOL, in March. We'll probably make a major release with its support dropped. I hope you still think I'm your friend ;o) |
It makes a lot of sense and I like the reasoning and the fact that we have a path forward regarding this. |
version 5.0.0 was released, with drop of Python 3.4 support. Next stop is Python 3.5 in september. |
When support for Python2.7 is dropped, it would be nice to change all the places with an absolute import of workalendar itself with a relative import. |
@ShaheedHaque Adding this to my TODO list ;o) |
Starting the "drop Python 2 branch" right now. |
Currently working on dropping support for Python 3.5 |
Then we'll just need to make a release to close this |
one small thing to add. Since we now have Python3.5-incompatible code (due to the introduction of |
... and we're done. |
I guess it would allow us to cleanup the code, switch to f-strings, remove
__future__
hacks and get a clearer code base.However it sends a good signal that Python 2 EOL is near and that it is time to switch to Python 3.
(addition by @brunobord to the original post)
Planning summary:
The text was updated successfully, but these errors were encountered: