pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time/py-icalendar



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Mar  6 13:07:55 UTC 2026

Modified Files:
        pkgsrc/time/py-icalendar: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/time/py-icalendar/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/time/py-icalendar/PLIST
cvs rdiff -u -r1.49 -r1.50 pkgsrc/time/py-icalendar/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-icalendar/Makefile
diff -u pkgsrc/time/py-icalendar/Makefile:1.58 pkgsrc/time/py-icalendar/Makefile:1.59
--- pkgsrc/time/py-icalendar/Makefile:1.58      Wed Feb 25 13:50:38 2026
+++ pkgsrc/time/py-icalendar/Makefile   Fri Mar  6 13:07:55 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2026/02/25 13:50:38 adam Exp $
+# $NetBSD: Makefile,v 1.59 2026/03/06 13:07:55 adam Exp $
 
-DISTNAME=      icalendar-7.0.2
+DISTNAME=      icalendar-7.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/icalendar/}

Index: pkgsrc/time/py-icalendar/PLIST
diff -u pkgsrc/time/py-icalendar/PLIST:1.31 pkgsrc/time/py-icalendar/PLIST:1.32
--- pkgsrc/time/py-icalendar/PLIST:1.31 Wed Feb 25 13:50:38 2026
+++ pkgsrc/time/py-icalendar/PLIST      Fri Mar  6 13:07:55 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2026/02/25 13:50:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.32 2026/03/06 13:07:55 adam Exp $
 bin/icalendar-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -257,6 +257,7 @@ ${PYSITELIB}/icalendar/tests/calendars/e
 ${PYSITELIB}/icalendar/tests/calendars/fuzz_testcase_0_char_in_component_name.ics
 ${PYSITELIB}/icalendar/tests/calendars/fuzz_testcase_invalid_month.ics
 ${PYSITELIB}/icalendar/tests/calendars/issue_104_broken_calendar.ics
+${PYSITELIB}/icalendar/tests/calendars/issue_1231_recurrence.ics
 ${PYSITELIB}/icalendar/tests/calendars/issue_127_categories_with_commas.ics
 ${PYSITELIB}/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal.ics
 ${PYSITELIB}/icalendar/tests/calendars/issue_156_RDATE_with_PERIOD_TZID_khal_2.ics
@@ -538,12 +539,18 @@ ${PYSITELIB}/icalendar/tests/test_issue_
 ${PYSITELIB}/icalendar/tests/test_issue_1073_pyodide_import.py
 ${PYSITELIB}/icalendar/tests/test_issue_1073_pyodide_import.pyc
 ${PYSITELIB}/icalendar/tests/test_issue_1073_pyodide_import.pyo
+${PYSITELIB}/icalendar/tests/test_issue_1124_no_utc_vtimezone.py
+${PYSITELIB}/icalendar/tests/test_issue_1124_no_utc_vtimezone.pyc
+${PYSITELIB}/icalendar/tests/test_issue_1124_no_utc_vtimezone.pyo
 ${PYSITELIB}/icalendar/tests/test_issue_1129.py
 ${PYSITELIB}/icalendar/tests/test_issue_1129.pyc
 ${PYSITELIB}/icalendar/tests/test_issue_1129.pyo
 ${PYSITELIB}/icalendar/tests/test_issue_116.py
 ${PYSITELIB}/icalendar/tests/test_issue_116.pyc
 ${PYSITELIB}/icalendar/tests/test_issue_116.pyo
+${PYSITELIB}/icalendar/tests/test_issue_1231.py
+${PYSITELIB}/icalendar/tests/test_issue_1231.pyc
+${PYSITELIB}/icalendar/tests/test_issue_1231.pyo
 ${PYSITELIB}/icalendar/tests/test_issue_127_categories_comma_escaping.py
 ${PYSITELIB}/icalendar/tests/test_issue_127_categories_comma_escaping.pyc
 ${PYSITELIB}/icalendar/tests/test_issue_127_categories_comma_escaping.pyo

Index: pkgsrc/time/py-icalendar/distinfo
diff -u pkgsrc/time/py-icalendar/distinfo:1.49 pkgsrc/time/py-icalendar/distinfo:1.50
--- pkgsrc/time/py-icalendar/distinfo:1.49      Wed Feb 25 13:50:38 2026
+++ pkgsrc/time/py-icalendar/distinfo   Fri Mar  6 13:07:55 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.49 2026/02/25 13:50:38 adam Exp $
+$NetBSD: distinfo,v 1.50 2026/03/06 13:07:55 adam Exp $
 
-BLAKE2s (icalendar-7.0.2.tar.gz) = 07dbcac322d95da4d2d6ec70ff6a79b3fe39b7866d6b7d946eeb68002c39b55f
-SHA512 (icalendar-7.0.2.tar.gz) = 3de540195f227535c6258bde6595d3404a7050f2aa37eb9c811dcaf3ed7700c1bb7f8efef3a0ab077e21f4e516475a33ff963b1ef307e160724e2f40fcb913d3
-Size (icalendar-7.0.2.tar.gz) = 440039 bytes
+BLAKE2s (icalendar-7.0.3.tar.gz) = fa1d9c6457a3996fbdba0c261d7ee1a02eb6b9f63f0b5eb042d86ac76a1d0f13
+SHA512 (icalendar-7.0.3.tar.gz) = ecdb49ee5e13e779279fcb94c77c174a63f2b2146abc09d6254e111b50207401e727848e331fd048899f755d35670a0bd70aef181d7ebd922fd42736a1d1008e
+Size (icalendar-7.0.3.tar.gz) = 443788 bytes



Home | Main Index | Thread Index | Old Index