-
Notifications
You must be signed in to change notification settings - Fork 99
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
Drop python2 support #228
Drop python2 support #228
Conversation
Currently the caldav library is in a bit of a limbo status when it comes to python2, at one hand there is code in place to support python2, at the other hand I haven't done any testing towards python2 for quite some releases now - so the python2-support there is is likely to be broken. From one perspective "no support" may be better than "probably broken support" My official stance on this is that if I get bug reports that it breaks on python2, I will still fix it. While python2 isn't maintained by the Python core team, it still exists as a package for Ubuntu 20.04 which is EOL'ed in 2030 - and 2.7 is the default python version in CentOS7, which is EOL'ed in 2024. Theoretically, Canonical and RedHat are supposed to take the responsibility of patching up python if some security issue should appear. Everything considered, this pull request will be put on hold for some time - perhaps not all the way until 2030, but at least until 2024 :-) |
https://build.opensuse.org/request/show/1033143 by user dgarcia + dimstar_suse - Add drop-python2-support.patch to remove python-six dependency gh#python-caldav/caldav#228 - Remove python_module macro definition - Update to 0.10.0 ## Quick summary * Work on a universal search method * Refactoring, consolidated lots of slightly duplicated code into one method to rule them all * Support for things needed by the calendar-cli utility, like search by categories * Support for completion of recurring tasks * More utilities for tasks * Uncomplete-method ... for undoing the complete (recurrences not supported though) * get/set duration/dtstart/dtend (arguably this belongs to vobject and/or icalendar) * Other improvements: * picklable URLs * display_name convenience method * possible to set child/parent relationshi
Came to think, python2-support must have been efficiently broken for some time already due to dependencies on other libraries. I will make a release (1.0) within some few days, as soon as I'm done with that I will roll out this pull request - unless there will be a queue of hard-code dinosaur python2-users protesting. |
Python 2 went EOL on 1/1/2020 and we receive no more support from the Python Core Team after Python 2.7.18 even for known security issues. This removes the six package from dependencies.
44aaf75
to
52e813e
Compare
Python 2 went EOL on 1/1/2020 and we receive no more support from the Python Core Team after Python 2.7.18 even for known security issues.
This removes the six package from dependencies.