From 74d7b24cb1639d2cd027e502d5f16ea68b5e5b12 Mon Sep 17 00:00:00 2001 From: Nikita Marchant Date: Tue, 23 Jul 2019 09:54:45 +0200 Subject: [PATCH] Release version 0.5 --- CHANGELOG.rst | 42 ++++++++++++++++++++++++++++++---------- README.rst | 2 +- dev/release-workflow.rst | 4 +++- ics/__meta__.py | 4 ++-- setup.py | 9 +++------ 5 files changed, 41 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6a28864c..8ce325c1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,23 +3,45 @@ Ics.py changelog ============ ************** -0.5 (in dev) +0.5 ************** - - Drop support for Python 2.7 and 3.3. - - Add support upto Python 3.8 - - Improve TRIGGER DURATION parsing logic - - Fixed NONE type support for Alarms +This is the first version to be Python 3 only. + +This release happens a bit more than a year after the previous one and was made to +distribute latest changes to everyone and remove the confusion between master and PyPi. + +Please note that it may contain (lot of) bugs and not be fully polished. +This is still alpha quality software! + +Highlights and breaking changes: + - Drop support for Python 2, support Python from 3.5 to 3.8 - Upgrade arrow to 0.11 and fix internal call to arrow to specify the string format (thanks @muffl0n, @e-c-d and @chauffer) + +Additions: + - LAST-MODIFIED attribute support (thanks @Timic3) + - Support for Organizers to Events (thanks @danieltellez and kayluhb) + - Support for Attendees to Events (thanks @danieltellez and kayluhb) + - Support for Event and Todo status (thanks @johnnoone) + +Bugfixes: - Fix all-day events lasting multiple days by using a DTEND with a date and not a datetime (thanks @raspbeguy) - Fix off by one error on the DTEND on all day events (issues #92 and #150) - - Adds support for Organizers to Events - - Adds support for Attendees to Events - - Added LAST-MODIFIED attribute support - - Event equality now checks all fields (except uid) - - alarms in Event and Todo are now consistently lists and not a mix between set() and list() - Fix SEQUENCE in VTIMEZONE error + - Fixed NONE type support for Alarms (thanks @zagnut007) + +Known issues: + - There are known problems with all-day events. This GitHub issue summarizes them + well: https://github.com/C4ptainCrunch/ics.py/issues/155. You can expect them to + be fixed in 0.6 but not before. + +Misc: + - Improve TRIGGER DURATION parsing logic (thanks @jessejoe) + - Event equality now checks all fields (except uid) + - Alarms in Event and Todo are now consistently lists and not a mix between set() and list() + +Thanks also to @t00n, @aureooms, @chauffer, @seants, @davidjb, @xaratustrah, @Philiptpp ************** 0.4 diff --git a/README.rst b/README.rst index 5225b2a0..c526219f 100644 --- a/README.rst +++ b/README.rst @@ -24,7 +24,7 @@ It should be able to parse every calendar that respects the `rfc5545 =3.4 and is Apache2 Licensed. +Ics.py is available for Python>=3.5 and is Apache2 Licensed. diff --git a/dev/release-workflow.rst b/dev/release-workflow.rst index aedeaa1e..43d5ed76 100644 --- a/dev/release-workflow.rst +++ b/dev/release-workflow.rst @@ -5,8 +5,9 @@ Release HOWTO * Bump version * pyroma . * check-manifest +* `rm dist/*` * `python3 setup.py egg_info bdist_egg bdist_wheel` -* Test the package +* Test the packages in dist/ * Upload `twine upload dist/*` * Check PyPI release page for obvious errors * `git commit` @@ -16,3 +17,4 @@ Release HOWTO * `git push --tags && git push` * Build documentation for the tag v{version} on rtfd.org * Set the default rtfd version to {version} +* Bump again the version to -indev diff --git a/ics/__meta__.py b/ics/__meta__.py index c75c90b3..76027b6f 100644 --- a/ics/__meta__.py +++ b/ics/__meta__.py @@ -1,5 +1,5 @@ __title__ = 'ics' -__version__ = '0.5.dev0' +__version__ = '0.5' __author__ = 'Nikita Marchant' __license__ = 'Apache License, Version 2.0' -__copyright__ = 'Copyright 2013-2018 Nikita Marchant and individual contributors' +__copyright__ = 'Copyright 2013-2019 Nikita Marchant and individual contributors' diff --git a/setup.py b/setup.py index d106de5b..a65d8c46 100755 --- a/setup.py +++ b/setup.py @@ -34,12 +34,9 @@ def run_tests(self): def readme(): - if sys.version_info.major > 2: - with open('README.rst', encoding='utf-8') as f: - return f.read() - else: - with open('README.rst') as f: - return f.read() + with open('README.rst', encoding='utf-8') as f: + return f.read() + setup( name=__title__,