- Update to 6.3.1:
* New features:
+ Add ``VALARM`` properties for :rfc:`9074`.
+ Test compatibility with Python 3.13
+ Add ``Timezone.from_tzinfo()`` and ``Timezone.from_tzid()`` to create
a ``Timezone`` component from a ``datetime.tzinfo`` timezone.
+ Add ``icalendar.prop.tzid_from_tzinfo``.
+ Add ``icalendar.alarms`` module to calculate alarm times.
+ Add ``Event.alarms`` and ``Todo.alarms`` to access alarm calculation.
+ Add ``DTSTART``, ``TZOFFSETTO``, and ``TZOFFSETFROM`` to
``TimezoneStandard`` and ``TimezoneDaylight``
+ Use ``pyproject.toml`` file instead of ``setup.py``
* Breaking changes:
+ The ``relative`` attribute of ``vWeekday`` components has the correct sign now.
+ Use ``zoneinfo`` for ``icalendar`` objects created from strings,
+ Remove ``is_broken`` property. Use ``errors`` instead to check if a
component had suppressed parsing errors.
+ Remove untested and broken ``LocalTimezone`` and ``FixedOffset`` tzinfo
+ sub-classes.
+ Remove Python 3.7 as compatible.
+ Test compatibility with Python 3.12
+ Add function ``icalendar.use_pytz()``.
+ Allows selecting components with ``walk(select=func)`` where ``func`` takes a
component and returns ``True`` or ``False``.
+ Add compatibility to :rfc:`7529`, adding ``vMonth`` and ``vSkip``
* Bug fixes:
+ Fix a bad ``bytes`` replace in ``unescape_char``.
+ Handle ``ValueError`` in ``vBinary.from_ical``.
+ Rename RFC 2445 to RFC 5545, see `Issue 278
OBS-URL: https://build.opensuse.org/request/show/1289705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-icalendar?expand=0&rev=38
* New features:
+ Add ``VALARM`` properties for :rfc:`9074`.
+ Test compatibility with Python 3.13
+ Add ``Timezone.from_tzinfo()`` and ``Timezone.from_tzid()`` to create
a ``Timezone`` component from a ``datetime.tzinfo`` timezone.
+ Add ``icalendar.prop.tzid_from_tzinfo``.
+ Add ``icalendar.alarms`` module to calculate alarm times.
+ Add ``Event.alarms`` and ``Todo.alarms`` to access alarm calculation.
+ Add ``DTSTART``, ``TZOFFSETTO``, and ``TZOFFSETFROM`` to
``TimezoneStandard`` and ``TimezoneDaylight``
+ Use ``pyproject.toml`` file instead of ``setup.py``
* Breaking changes:
+ The ``relative`` attribute of ``vWeekday`` components has the correct sign now.
+ Use ``zoneinfo`` for ``icalendar`` objects created from strings,
+ Remove ``is_broken`` property. Use ``errors`` instead to check if a
component had suppressed parsing errors.
+ Remove untested and broken ``LocalTimezone`` and ``FixedOffset`` tzinfo
+ sub-classes.
+ Remove Python 3.7 as compatible.
+ Test compatibility with Python 3.12
+ Add function ``icalendar.use_pytz()``.
+ Allows selecting components with ``walk(select=func)`` where ``func`` takes a
component and returns ``True`` or ``False``.
+ Add compatibility to :rfc:`7529`, adding ``vMonth`` and ``vSkip``
* Bug fixes:
+ Fix a bad ``bytes`` replace in ``unescape_char``.
+ Handle ``ValueError`` in ``vBinary.from_ical``.
+ Rename RFC 2445 to RFC 5545, see `Issue 278
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=78
- update to 5.0.12:
* Augmented fuzzer to optionally convert multiple calendars
from a source string
* Add script to convert OSS FUZZ test cases to Python/pytest
test cases
* Added additional exception handling of defined errors to
fuzzer, to allow fuzzer to explore deeper
* Added more instrumentation to fuzz-harness
* Rename "contributor" to "collaborator" in documentation
* Correct the outdated "icalendar view myfile.ics" command in
documentation. #588
* Update GitHub Actions steps versions
* Keep GitHub Actions up to date with GitHub's Dependabot
* Fixed index error in cal.py when attempting to pop from an
empty stack
* Fixed type error in prop.py when attempting to join strings
into a byte-string
* Caught Wrong Date Format in ical_fuzzer to resolve fuzzing
coverage blocker
OBS-URL: https://build.opensuse.org/request/show/1160833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-icalendar?expand=0&rev=36
- update to 5.0.11:
* The cli utility now displays start and end datetimes in the
user's local timezone.
* Added fuzzing harnesses, for integration to OSSFuzz.
* icalendar releases are deployed to Github releases
* CATEGORIES field now accepts a string as argument
* Multivalue FREEBUSY property is now parsed properly
* Compare equality and inequality of calendars more completely
* Use non legacy timezone name.
* Add some compare functions.
* Change OSS Fuzz build script to point to harnesses in fuzzing
directory
* Component._encode stops ignoring parameters argument on
native values, now merges them
* PERIOD values now set the timezone of their start and end.
* No longer run the ``plone.app.event`` tests.
* Add documentation on how to parse ``.ics`` files. #152
* Move pip caching into Python setup action.
* Check that issue #165 can be closed.
* Updated about.rst for issue #527
* Avoid ``vText.__repr__`` BytesWarning.
* Calendar components are now properly compared
* to_ical() now accepts RRULE BYDAY values>=10 #518
* Adjusted duration regex
* Added support for BYWEEKDAY in vRecur ref: #268
* Fix problem with ORGANIZER in FREE/BUSY #348
* vDDDTypes is hashable #487#492 [niccokunzmann]
* Minor changes:
* Refactored cal.py, tools.py and completed remaining minimal
refactoring in parser.py. Ref: #481 [pronoym99]
OBS-URL: https://build.opensuse.org/request/show/1133683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-icalendar?expand=0&rev=34
- Version update to 4.0.2:
* Update all pypi.python.org URLs to pypi.org
* Added rudimentary command line interface.
* Readme, setup and travis updates.
* Drop support for Python 2.6 and 3.3.
* Accept Windows timezone identifiers as valid. #242
* Fix ResourceWarnings in setup.py when Python warnings are enabled. #244
* Fix invalid escape sequences in string and bytes literals. #245
* Include license file in the generated wheel package. #243
* Fix non-ASCII TZID and TZNAME parameter handling. #238
* Docs: update install instructions. #240
* added vUTCOffset.ignore_exceptions to allow surpressing of failed TZOFFSET parsing (for now this ignores the check for offsets > 24h)
* Fix VTIMEZONEs including RDATEs #234.
- Update URL to point to the repo rather than to docs
- Use %license for license install
OBS-URL: https://build.opensuse.org/request/show/631046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-icalendar?expand=0&rev=21
- correct source url
- update to version 3.11.2 (2017-01-12)
- Run tests with python 3.5 and 3.6. [geier]
- Allow tests failing with pypy3 on travis.ci. [geier]
- update to version 3.11.1 (2016-12-19)
- Encode error message before adding it to the stack of collected error
messages.
- update to version 3.11 (2016-11-18)
- Successfully test with pypy and pypy3. [gforcada]
- Minor documentation update. [tpltnt]
- update to version 3.10 (2016-05-26)
- Updated components description to better comply with RFC 5545. Refs #183.
[stlaz]
- Added PERIOD value type to date types. Also fixes incompatibilities
described in #184. Refs #189. [stlaz]
- Fix testsuite for use with dateutil>=2.5. Refs #195. [untitaker]
- Reintroduce cal.Component.is_broken that was removed with 3.9.2. Refs #185.
[geier]
- update to version 3.9.2 (2016-02-05)
- Defined test_suite in setup.py. Now tests can be run via python setup.py
test. [geier]
- Fixed cal.Component.from_ical() representing an unknown component as one of
the known. [stlaz]
- Fixed possible IndexError exception during parsing of an ical string. [stlaz]
- When doing a boolean test on icalendar.cal.Component, always return True.
Before it was returning False due to CaselessDict, if it didn’t contain any
items. [stlaz]
- Fixed date-time being recognized as date or time during parsing. Added
better error handling to parsing from ical strings. [stlaz]
OBS-URL: https://build.opensuse.org/request/show/451188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-icalendar?expand=0&rev=19
- Use tarball from https://pypi.python.org/
- Fix download link used as source
- New upstream release 3.5
- Changelog for 3.5
* Let to_unicode be more graceful for non-unicode strings, as like CMFPlone’s safe_unicode does it. [thet]
- Changelog for 3.4
* Switch to unicode internally. This should fix all en/decoding errors. [thet]
* Support for non-ascii parameter values. Fixes#88. [warvariuc]
* Added functions to transform chars in string with ‘\’ + any of r’,;:’ chars into ‘%{:02X}’ form to avoid splitting on chars escaped with ‘\’. [warvariuc]
* Allow seconds in vUTCOffset properties. Fixes#55. [thet]
* Let Component.decode better handle vRecur and vDDDLists properties. Fixes#70. [thet]
* Don’t let Component.add re-encode already encoded values. This simplifies the API, since there is no need explicitly pass encode=False. Fixes#82. [thet]
* Rename tzinfo_from_dt to tzid_from_dt, which is what it does. [thet]
* More support for dateutil parsed tzinfo objects. Fixes#89. [leo-naeka]
* Remove python-dateutil version fix at all. Current python-dateutil has Py3 and Py2 compatibility. [thet]
* Declare the required python-dateutil dependency in setup.py. Fixes#90. [kleink]
* Raise test coverage. [thet]
* Remove interfaces module, as it is unused. [thet]
* Remove test_doctests.py, test suite already created properly in test_icalendar.py. [rnix]
* Transformed doctests into unittests, Test fixes and cleanup. [warvariuc] (forwarded request 206364 from posophe)
OBS-URL: https://build.opensuse.org/request/show/206365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-icalendar?expand=0&rev=11
@@ -74,7 +78,7 @@ with Python. It follows the RFC 2445 (iCalendar) specification.
%files %{python_files}
%licenseLICENSE.rst
%docREADME.rstCHANGES.rst
%docREADME.rstdocs/changelog.rst
%python_alternative%{_bindir}/icalendar
%{python_sitelib}/%{modname}
%{python_sitelib}/%{modname}-%{version}.dist-info
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.