14
0

46 Commits

Author SHA256 Message Date
e5df1557e4 - 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/package/show/devel:languages:python/python-icalendar?expand=0&rev=78
2025-07-02 03:13:31 +00:00
056cc18aef - update to 5.0.13:
* Guide to delete the build folder before running tests
  * Make documentation build with Python 3.12
  * Update windows to olson conversion for Greenland Standard
    Time
  * Extend examples in Usage with alarm and recurrence
  * Document how to serve the built documentation to view with
    the browser
  * Improve test coverage

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=76
2024-06-30 20:33:43 +00:00
4055cb39e7 - 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/package/show/devel:languages:python/python-icalendar?expand=0&rev=74
2024-03-22 20:44:27 +00:00
3150a426d2 - skip tests on leap
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=72
2024-01-20 12:19:44 +00:00
28ce637a69 Accepting request 1139174 from Application:ERP:GNUHealth:4.4
Disable some tests for Leap, as dependencies too old

OBS-URL: https://build.opensuse.org/request/show/1139174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=71
2024-01-17 07:19:08 +00:00
f5294d6c53 - 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/package/show/devel:languages:python/python-icalendar?expand=0&rev=69
2023-12-17 02:06:36 +00:00
789cfbd341 - update to 4.1.0:
- No longer test on Python 3.4, 3.5 and PyPy2, because we cannot get it to work.
    Technically it should still work, it is just no longer tested.
    Do not expect much development on branch 4.x anymore.
    The master branch will be for the remaining Python versions that we support.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=67
2022-09-26 11:06:54 +00:00
1659f7ce15 - update to 4.0.9:
- Fix vCategories for correct en/de coding.
  - vDuration property value: Fix changing duration sign after multiple
    ``to_ical`` calls.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=66
2021-10-26 20:22:33 +00:00
1c1ec673c5 - update to 4.0.8:
- Support added for Python 3.9 and 3.10 (no code changes needed).
  - Replace bare 'except:' with 'except Exception:' (#281)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=65
2021-10-16 19:15:01 +00:00
d9e58130eb - update to 4.0.7:
- fixed rrule handling, re-enabled test_create_america_new_york

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=63
2020-11-26 09:28:32 +00:00
d9976d3c16 - update to 4.0.6:
- Use ``vText`` as default type, when convert recurrence definition to ical string. [kam193]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=61
2020-06-02 16:20:30 +00:00
Tomáš Chvátal
f543c5c635 Accepting request 808755 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=59
2020-05-25 13:34:28 +00:00
Tomáš Chvátal
db0da7661f Accepting request 792728 from home:mcalabkova:branches:devel:languages:python
- update to 4.0.5
  * Fixed a docs issue related to building on Read the Docs

OBS-URL: https://build.opensuse.org/request/show/792728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=57
2020-04-09 13:05:51 +00:00
bd9237803b - update to 4.0.4:
- Reduce Hypothesis iterations to speed up testing, allowing PRs to pass

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=55
2020-03-16 10:48:01 +00:00
Tomáš Chvátal
93e8647c37 - Fix fdupes and pytest calls
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=53
2019-08-21 14:46:53 +00:00
Tomáš Chvátal
6182d092ac Accepting request 682535 from home:jayvdb:py-check-failures
- Remove no longer necessary pytest argument
  -k 'not test_create_america_new_york'

OBS-URL: https://build.opensuse.org/request/show/682535
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=51
2019-03-07 16:43:03 +00:00
Tomáš Chvátal
1b0e900f3a Accepting request 651057 from home:kbabioch:branches:devel:languages:python
- Version update to 4.0.3
  * Categories are comma separated not 1 per line #265.
  * mark test with mixed timezoneaware and naive datetimes as an expected
    failure.

OBS-URL: https://build.opensuse.org/request/show/651057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=49
2018-11-22 10:33:48 +00:00
Tomáš Chvátal
34514cadc7 - Explicitly require hypothesis as it is requested in setup.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=47
2018-08-29 10:39:05 +00:00
Tomáš Chvátal
5190feb011 - 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/package/show/devel:languages:python/python-icalendar?expand=0&rev=45
2018-08-23 08:17:16 +00:00
Jan Matejek
36aca1746d Accepting request 507991 from home:alois:branches:devel:languages:python
Update to 3.11.5 and conversion to single spec mode

OBS-URL: https://build.opensuse.org/request/show/507991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=43
2017-07-04 12:43:02 +00:00
0147def06d - correct source url
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=41
2017-01-18 13:59:50 +00:00
c8a02f6904 Accepting request 450348 from home:frispete:python
- 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]
  - Added __version__ attribute to init.py. [TomTry]
  - Documentation fixes. [TomTry]

OBS-URL: https://build.opensuse.org/request/show/450348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=40
2017-01-18 13:58:51 +00:00
5dd5119d3d Accepting request 361721 from home:tbechtold:branches:devel:languages:python
Require python-python-dateutil. package was renamed

OBS-URL: https://build.opensuse.org/request/show/361721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=37
2016-02-26 15:09:52 +00:00
Michal Čihař
7c3ada800b Accepting request 340426 from home:Nijel:branches:devel:languages:python
- Removed not needed run time dependency on unittest2

OBS-URL: https://build.opensuse.org/request/show/340426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=35
2015-10-22 15:16:17 +00:00
Denisart Benjamin
69ead5f1b2 Accepting request 333778 from home:stroeder:branches:devel:languages:python
update to 3.9.1

OBS-URL: https://build.opensuse.org/request/show/333778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=33
2015-09-25 15:23:47 +00:00
Todd R
4472780044 Accepting request 316573 from home:TheBlackCat:branches:devel:languages:python
Fix building on SLES 11

OBS-URL: https://build.opensuse.org/request/show/316573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=31
2015-07-14 07:58:12 +00:00
Michal Čihař
582343ced7 Accepting request 298726 from home:Nijel:branches:devel:languages:python
- Update to 3.9.0:
  - Creating timezone objects from VTIMEZONE components.
  - Make ``python-dateutil`` a dependency.
  - Made RRULE tolerant of trailing semicolons.
  - Documentation fixes.
- Use .tar.gz as Source
- Add missing dependency on pytz, dateutil
- Run testsuite in %check and adjust build requires

OBS-URL: https://build.opensuse.org/request/show/298726
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=29
2015-04-23 07:07:07 +00:00
Michal Čihař
c014e8e56b Accepting request 259799 from home:seilerphilipp
updated package to newest version

OBS-URL: https://build.opensuse.org/request/show/259799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=27
2014-11-06 08:25:57 +00:00
Denisart Benjamin
03d6ebda35 Accepting request 206364 from home:posophe:branches:devel:languages:python
- 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]

OBS-URL: https://build.opensuse.org/request/show/206364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=25
2013-11-09 11:08:28 +00:00
Denisart Benjamin
84cf257d97 Accepting request 206299 from server:Kolab:Extras
New upstream release 3.5

OBS-URL: https://build.opensuse.org/request/show/206299
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=24
2013-11-09 10:55:08 +00:00
Sascha Peilicke
9892760663 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=22
2013-10-24 11:06:47 +00:00
Sascha Peilicke
1e2f12d456 Accepting request 154985 from home:posophe:branches:devel:languages:python
Update to 3.3

OBS-URL: https://build.opensuse.org/request/show/154985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=20
2013-02-11 09:08:41 +00:00
Todd R
5098c96db5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=19 2013-01-02 21:47:53 +00:00
Sascha Manns
16f42fd177 Accepting request 133373 from home:poorboywilly:branches:devel:languages:python
Update to 3.1, remove Sphinx dependency and no need to rm .swp files removed upstream.

OBS-URL: https://build.opensuse.org/request/show/133373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=16
2012-09-09 10:49:07 +00:00
Todd R
cc83f6c251 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=14 2012-06-29 16:59:10 +00:00
Todd R
ff4d223abd Accepting request 126369 from home:TheBlackCat:branches:devel:languages:python
Update to 3.0.1b2

OBS-URL: https://build.opensuse.org/request/show/126369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=13
2012-06-27 18:43:26 +00:00
Sascha Peilicke
46e0eb10d2 Accepting request 96728 from devel:openSUSE:Factory:for-legal-lhf
- fix license to be in spdx.org format

OBS-URL: https://build.opensuse.org/request/show/96728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=11
2011-12-15 12:25:46 +00:00
Pascal Bleser
9d63ae5d7e remove %debug_package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=10
2011-12-12 09:02:28 +00:00
Sascha Manns
2afd6a3f69 - fixed license issue
- closed bug bnx#714664

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=8
2011-09-22 14:28:26 +00:00
Sascha Manns
006f4701f2 - fixed fdupes issue
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=7
2011-08-28 15:44:10 +00:00
Sascha Manns
7c0a4067ef OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=6 2011-08-28 15:36:18 +00:00
Sascha Manns
bd816c3d20 - updated Ownership
- removed rpmlintrc

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=5
2011-08-28 15:27:56 +00:00
Sascha Manns
345841f733 Accepting request 79958 from home:frispete:python
- updated to forked version 2.2

OBS-URL: https://build.opensuse.org/request/show/79958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=4
2011-08-28 15:15:40 +00:00
Sascha Manns
392681d7c8 - updated to version 2.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=3
2011-08-25 10:46:26 +00:00
Sascha Manns
52a19574de - Changed Ownership
- removed rpmlintrc

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=2
2011-08-24 20:03:00 +00:00
Lars Vogdt
90dd275d92 osc copypac from project:devel:languages:python package:python-iCalendar revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=1
2011-08-24 16:13:08 +00:00