Skip to content

Commit ad5569a

Browse files
author
adam
committed
py-icalendar: updated to 7.0.3
7.0.3 Minor changes Show colorful required code changes in the CI output to help contributors solve the formatting issues. :pr:`1216` Use ruff 0.15.0 for code formatting in :file:`tox.ini`. :pr:`1215` New features Added :attr:`Event.RECURRENCE_ID <icalendar.cal.event.Event.RECURRENCE_ID>`, :attr:`Todo.RECURRENCE_ID <icalendar.cal.todo.Todo.RECURRENCE_ID>` and :attr:`Journal.RECURRENCE_ID <icalendar.cal.journal.Journal.RECURRENCE_ID>` properties, including support in their new() constructors. :issue:`1231` Bug fixes Fixed :func:`~icalendar.timezone.tzid.tzids_from_tzinfo` not recognizing dateutil.tz.win.tzwin objects on Windows. UTC datetimes using dateutil.tz.gettz("UTC") now correctly serialize with the Z suffix instead of TZID=Coordinated Universal Time. :issue:`1056` Fixed :meth:`Calendar.get_missing_tzids <icalendar.cal.calendar.Calendar.get_missing_tzids>` raising KeyError when a VTIMEZONE exists for a timezone not referenced by any event TZID, for example, when added by the x-wr-timezone conversion. :issue:`1124` Fixed :meth:`Calendar.get_missing_tzids <icalendar.cal.calendar.Calendar.get_missing_tzids>` and :meth:`Calendar.add_missing_timezones <icalendar.cal.calendar.Calendar.add_missing_timezones>` generating a spurious VTIMEZONE for UTC. RFC 5545 requires UTC datetimes to use the Z suffix; no VTIMEZONE component is needed or permitted. :issue:`1124` Fixed :meth:`Parameters.update_tzid_from <icalendar.parser.parameter.Parameters.update_tzid_from>` incorrectly setting TZID=UTC on UTC datetimes. RFC 5545 requires UTC datetimes to use the Z suffix without a TZID parameter. :issue:`1124` Renamed the public functions escape_char and unescape_char to implicit private methods _escape_char and _unescape_char. Fixed regression from :issue:`1008` by restoring :func:`~icalendar.parser.string.escape_char` and :func:`~icalendar.parser.string.unescape_char` as public functions. The public functions :func:`~icalendar.parser.string.escape_char` and :func:`~icalendar.parser.string.unescape_char` are now deprecated with warnings for external users. :pr:`1241`. Documentation Add icalendar as a local workspace dependency to the docs dependency group in :file:`pyproject.toml` to fix dependency resolution issues with uv lock during documentation builds. :issue:`1253` :pr:`1254` Use sphinx-icalendar to add syntax highlighting to iCalendar text
1 parent c94c4c2 commit ad5569a

3 files changed

Lines changed: 14 additions & 7 deletions

File tree

time/py-icalendar/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.58 2026/02/25 13:50:38 adam Exp $
1+
# $NetBSD: Makefile,v 1.59 2026/03/06 13:07:55 adam Exp $
22

3-
DISTNAME= icalendar-7.0.2
3+
DISTNAME= icalendar-7.0.3
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
55
CATEGORIES= time python
66
MASTER_SITES= ${MASTER_SITE_PYPI:=i/icalendar/}

time/py-icalendar/PLIST

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.31 2026/02/25 13:50:38 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.32 2026/03/06 13:07:55 adam Exp $
22
bin/icalendar-${PYVERSSUFFIX}
33
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
44
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -257,6 +257,7 @@ ${PYSITELIB}/icalendar/tests/calendars/example.ics
257257
${PYSITELIB}/icalendar/tests/calendars/fuzz_testcase_0_char_in_component_name.ics
258258
${PYSITELIB}/icalendar/tests/calendars/fuzz_testcase_invalid_month.ics
259259
${PYSITELIB}/icalendar/tests/calendars/issue_104_broken_calendar.ics
260+
${PYSITELIB}/icalendar/tests/calendars/issue_1231_recurrence.ics
260261
${PYSITELIB}/icalendar/tests/calendars/issue_127_categories_with_commas.ics
261262
${PYSITELIB}/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal.ics
262263
${PYSITELIB}/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal_2.ics
@@ -538,12 +539,18 @@ ${PYSITELIB}/icalendar/tests/test_issue_1066_calendar_uid.pyo
538539
${PYSITELIB}/icalendar/tests/test_issue_1073_pyodide_import.py
539540
${PYSITELIB}/icalendar/tests/test_issue_1073_pyodide_import.pyc
540541
${PYSITELIB}/icalendar/tests/test_issue_1073_pyodide_import.pyo
542+
${PYSITELIB}/icalendar/tests/test_issue_1124_no_utc_vtimezone.py
543+
${PYSITELIB}/icalendar/tests/test_issue_1124_no_utc_vtimezone.pyc
544+
${PYSITELIB}/icalendar/tests/test_issue_1124_no_utc_vtimezone.pyo
541545
${PYSITELIB}/icalendar/tests/test_issue_1129.py
542546
${PYSITELIB}/icalendar/tests/test_issue_1129.pyc
543547
${PYSITELIB}/icalendar/tests/test_issue_1129.pyo
544548
${PYSITELIB}/icalendar/tests/test_issue_116.py
545549
${PYSITELIB}/icalendar/tests/test_issue_116.pyc
546550
${PYSITELIB}/icalendar/tests/test_issue_116.pyo
551+
${PYSITELIB}/icalendar/tests/test_issue_1231.py
552+
${PYSITELIB}/icalendar/tests/test_issue_1231.pyc
553+
${PYSITELIB}/icalendar/tests/test_issue_1231.pyo
547554
${PYSITELIB}/icalendar/tests/test_issue_127_categories_comma_escaping.py
548555
${PYSITELIB}/icalendar/tests/test_issue_127_categories_comma_escaping.pyc
549556
${PYSITELIB}/icalendar/tests/test_issue_127_categories_comma_escaping.pyo

time/py-icalendar/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.49 2026/02/25 13:50:38 adam Exp $
1+
$NetBSD: distinfo,v 1.50 2026/03/06 13:07:55 adam Exp $
22

3-
BLAKE2s (icalendar-7.0.2.tar.gz) = 07dbcac322d95da4d2d6ec70ff6a79b3fe39b7866d6b7d946eeb68002c39b55f
4-
SHA512 (icalendar-7.0.2.tar.gz) = 3de540195f227535c6258bde6595d3404a7050f2aa37eb9c811dcaf3ed7700c1bb7f8efef3a0ab077e21f4e516475a33ff963b1ef307e160724e2f40fcb913d3
5-
Size (icalendar-7.0.2.tar.gz) = 440039 bytes
3+
BLAKE2s (icalendar-7.0.3.tar.gz) = fa1d9c6457a3996fbdba0c261d7ee1a02eb6b9f63f0b5eb042d86ac76a1d0f13
4+
SHA512 (icalendar-7.0.3.tar.gz) = ecdb49ee5e13e779279fcb94c77c174a63f2b2146abc09d6254e111b50207401e727848e331fd048899f755d35670a0bd70aef181d7ebd922fd42736a1d1008e
5+
Size (icalendar-7.0.3.tar.gz) = 443788 bytes

0 commit comments

Comments
 (0)