Your message dated Fri, 01 Nov 2024 16:35:15 +0000
with message-id <[email protected]>
and subject line Bug#1086380: fixed in python-recurring-ical-events 3.3.3-1
has caused the Debian Bug report #1086380,
regarding python-recurring-ical-events: FTBFS: E 
pytz.exceptions.UnknownTimeZoneError: 'EST'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1086380: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086380
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-recurring-ical-events
Version: 2.2.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/<<PKGBUILDDIR>>/setup.py:5: SetuptoolsDeprecationWarning: The test command is 
disabled and references to it are deprecated.
!!

        
********************************************************************************
        Please remove any references to `setuptools.command.test` in all 
supported versions of the affected package.

        By 2024-Nov-15, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.
        
********************************************************************************

!!
  from setuptools.command.test import test as TestCommandBase
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/<<PKGBUILDDIR>>/setup.py:5: SetuptoolsDeprecationWarning: The test command is 
disabled and references to it are deprecated.
!!

        
********************************************************************************
        Please remove any references to `setuptools.command.test` in all 
supported versions of the affected package.

        By 2024-Nov-15, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.
        
********************************************************************************

!!
  from setuptools.command.test import test as TestCommandBase
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
running build
running build_py
copying recurring_ical_events.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m 
pytest -k "not test_zoneinfo_must_be_installed_if_it_is_possible"
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 860 items / 1 deselected / 859 selected

test/test_after.py ...................................................ss [  6%]
                                                                         [  6%]
test/test_at_function.py .................................               [ 10%]
test/test_convert_inputs.py ..................                           [ 12%]
test/test_daylight_saving_time.py ......                                 [ 12%]
test/test_deleted_entries.py ...                                         [ 13%]
test/test_duration.py ................................................   [ 18%]
test/test_event_values_and_edits.py ......................               [ 21%]
test/test_examples.py .................................................. [ 27%]
.....................................                                    [ 31%]
test/test_issue_101_select_components.py ............................... [ 35%]
....................                                                     [ 37%]
test/test_issue_107_omitting_last_event.py ...                           [ 37%]
test/test_issue_113_period_in_rdate.py ......                            [ 38%]
test/test_issue_117_until_before_dtstart.py ...                          [ 38%]
test/test_issue_128_only_first_event.py .........                        [ 39%]
test/test_issue_15.py ...                                                [ 40%]
test/test_issue_18_cancel_status.py ..................                   [ 42%]
test/test_issue_20_exdate_ignored.py ................................... [ 46%]
...................                                                      [ 48%]
test/test_issue_27.py ......                                             [ 49%]
test/test_issue_28_timezone_with_z.py ...                                [ 49%]
test/test_issue_36_recurrence_ID_format.py .........                     [ 50%]
test/test_issue_4.py ...............                                     [ 52%]
test/test_issue_44_day_event_reported_twice.py .....................     [ 54%]
test/test_issue_48_daylight.py ..................                        [ 56%]
test/test_issue_48_dst.py .........                                      [ 57%]
test/test_issue_61.py ...                                                [ 58%]
test/test_issue_62_moved_event.py .................................      [ 62%]
test/test_issue_6_copy_subcomponents.py ......                           [ 62%]
test/test_issue_7_datetime_and_date_start_stop.py ...............        [ 64%]
test/test_issue_86_x_wr_timezone_but_no_tzid_in_dt.py ...                [ 64%]
test/test_issue_97_simple_recurrent_todos_and_journals.py .............. [ 66%]
.............                                                            [ 68%]
test/test_keep_recurrence_attributes.py .........                        [ 69%]
test/test_multiple_rrule.py ...                                          [ 69%]
test/test_properties.py ..................                               [ 71%]
test/test_rdate.py ................................................      [ 77%]
test/test_readme.py .                                                    [ 77%]
test/test_recurrence_sequence_number.py ...                              [ 77%]
test/test_repeated_properties.py ...                                     [ 77%]
test/test_repetitions_do_not_change.py ...............                   [ 79%]
test/test_simple_recurrent_events.py ...........................         [ 82%]
test/test_single_events.py ...............                               [ 84%]
test/test_time_arguments.py ........                                     [ 85%]
test/test_time_span_contains_event.py .................................  [ 89%]
test/test_time_zones_differ.py .F......F.F......F.F......F               [ 92%]
test/test_x_wr_timezone.py ...........................................   [ 97%]
test/test_zero_size_events.py .........                                  [ 98%]
test/test_zoneinfo_issue_57.py ............                              [100%]

=================================== FAILURES ===================================
_ 
test_include_events_if_the_time_zone_differs[Calendars-date1-24-EST-0-three_events]
 _

calendars = <conftest.Calendars object at 0x7f9e989288c0>, date = (2019, 3, 4)
hours = 24, timezone = 'EST', number_of_events = 0
calendar_name = 'three_events'

    
@pytest.mark.parametrize("date,hours,timezone,number_of_events,calendar_name", [
    # DTSTART;TZID=Europe/Berlin:20190304T000000
    # time zone offset 6:07:00 between Europe/Berlin and Asia/Ho_Chi_Minh
        ((2019,3,4), 24, "Europe/Berlin", 1, "three_events"),
        ((2019,3,4), 24, "EST", 0, "three_events"),
        ((2019,3,4), 24, 'Asia/Ho_Chi_Minh', 1, "three_events"),
        ((2019,3,4), 1, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 6, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 7, 'Asia/Ho_Chi_Minh', 1, "three_events"),
    # events that have no time zone, New Year
        ((2019,1,1), 1, 'Europe/Berlin', 1, "Germany"),
        ((2019,1,1), 1, 'Asia/Ho_Chi_Minh', 1, "Germany"),
        ((2019,1,1), 1, 'EST', 1, "Germany"),
    ])
    def test_include_events_if_the_time_zone_differs(calendars, date, hours, 
timezone, number_of_events, calendar_name):
        """When the time zone is different, events can be included or
        excluded because they are in another time zone.
        """
      tzinfo = pytz.timezone(timezone)

test/test_time_zones_differ.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

zone = 'EST'

    def timezone(zone):
        r''' Return a datetime.tzinfo implementation for the given timezone
>>> from datetime import datetime, timedelta
        >>> utc = timezone('UTC')
        >>> eastern = timezone('US/Eastern')
        >>> eastern.zone
        'US/Eastern'
        >>> timezone(unicode('US/Eastern')) is eastern
        True
        >>> utc_dt = datetime(2002, 10, 27, 6, 0, 0, tzinfo=utc)
        >>> loc_dt = utc_dt.astimezone(eastern)
        >>> fmt = '%Y-%m-%d %H:%M:%S %Z (%z)'
        >>> loc_dt.strftime(fmt)
        '2002-10-27 01:00:00 EST (-0500)'
        >>> (loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 00:50:00 EST (-0500)'
        >>> eastern.normalize(loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:50:00 EDT (-0400)'
        >>> (loc_dt + timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:10:00 EST (-0500)'
Raises UnknownTimeZoneError if passed an unknown zone. >>> try:
        ...     timezone('Asia/Shangri-La')
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
>>> try:
        ...     timezone(unicode('\N{TRADE MARK SIGN}'))
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
'''
        if zone is None:
            raise UnknownTimeZoneError(None)
if zone.upper() == 'UTC':
            return utc
try:
            zone = ascii(zone)
        except UnicodeEncodeError:
            # All valid timezones are ASCII
            raise UnknownTimeZoneError(zone)
zone = _case_insensitive_zone_lookup(_unmunge_zone(zone))
        if zone not in _tzinfo_cache:
            if zone in all_timezones_set:  # noqa
                fp = open_resource(zone)
                try:
                    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
                finally:
                    fp.close()
            else:
              raise UnknownTimeZoneError(zone)
E               pytz.exceptions.UnknownTimeZoneError: 'EST'

/usr/lib/python3/dist-packages/pytz/__init__.py:201: UnknownTimeZoneError
_ test_include_events_if_the_time_zone_differs[Calendars-date8-1-EST-1-Germany] 
_

calendars = <conftest.Calendars object at 0x7f9e989288c0>, date = (2019, 1, 1)
hours = 1, timezone = 'EST', number_of_events = 1, calendar_name = 'Germany'

    
@pytest.mark.parametrize("date,hours,timezone,number_of_events,calendar_name", [
    # DTSTART;TZID=Europe/Berlin:20190304T000000
    # time zone offset 6:07:00 between Europe/Berlin and Asia/Ho_Chi_Minh
        ((2019,3,4), 24, "Europe/Berlin", 1, "three_events"),
        ((2019,3,4), 24, "EST", 0, "three_events"),
        ((2019,3,4), 24, 'Asia/Ho_Chi_Minh', 1, "three_events"),
        ((2019,3,4), 1, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 6, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 7, 'Asia/Ho_Chi_Minh', 1, "three_events"),
    # events that have no time zone, New Year
        ((2019,1,1), 1, 'Europe/Berlin', 1, "Germany"),
        ((2019,1,1), 1, 'Asia/Ho_Chi_Minh', 1, "Germany"),
        ((2019,1,1), 1, 'EST', 1, "Germany"),
    ])
    def test_include_events_if_the_time_zone_differs(calendars, date, hours, 
timezone, number_of_events, calendar_name):
        """When the time zone is different, events can be included or
        excluded because they are in another time zone.
        """
      tzinfo = pytz.timezone(timezone)

test/test_time_zones_differ.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

zone = 'EST'

    def timezone(zone):
        r''' Return a datetime.tzinfo implementation for the given timezone
>>> from datetime import datetime, timedelta
        >>> utc = timezone('UTC')
        >>> eastern = timezone('US/Eastern')
        >>> eastern.zone
        'US/Eastern'
        >>> timezone(unicode('US/Eastern')) is eastern
        True
        >>> utc_dt = datetime(2002, 10, 27, 6, 0, 0, tzinfo=utc)
        >>> loc_dt = utc_dt.astimezone(eastern)
        >>> fmt = '%Y-%m-%d %H:%M:%S %Z (%z)'
        >>> loc_dt.strftime(fmt)
        '2002-10-27 01:00:00 EST (-0500)'
        >>> (loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 00:50:00 EST (-0500)'
        >>> eastern.normalize(loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:50:00 EDT (-0400)'
        >>> (loc_dt + timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:10:00 EST (-0500)'
Raises UnknownTimeZoneError if passed an unknown zone. >>> try:
        ...     timezone('Asia/Shangri-La')
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
>>> try:
        ...     timezone(unicode('\N{TRADE MARK SIGN}'))
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
'''
        if zone is None:
            raise UnknownTimeZoneError(None)
if zone.upper() == 'UTC':
            return utc
try:
            zone = ascii(zone)
        except UnicodeEncodeError:
            # All valid timezones are ASCII
            raise UnknownTimeZoneError(zone)
zone = _case_insensitive_zone_lookup(_unmunge_zone(zone))
        if zone not in _tzinfo_cache:
            if zone in all_timezones_set:  # noqa
                fp = open_resource(zone)
                try:
                    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
                finally:
                    fp.close()
            else:
              raise UnknownTimeZoneError(zone)
E               pytz.exceptions.UnknownTimeZoneError: 'EST'

/usr/lib/python3/dist-packages/pytz/__init__.py:201: UnknownTimeZoneError
_ 
test_include_events_if_the_time_zone_differs[ReversedCalendars-date1-24-EST-0-three_events]
 _

calendars = <conftest.ReversedCalendars object at 0x7f9e9892a570>
date = (2019, 3, 4), hours = 24, timezone = 'EST', number_of_events = 0
calendar_name = 'three_events'

    
@pytest.mark.parametrize("date,hours,timezone,number_of_events,calendar_name", [
    # DTSTART;TZID=Europe/Berlin:20190304T000000
    # time zone offset 6:07:00 between Europe/Berlin and Asia/Ho_Chi_Minh
        ((2019,3,4), 24, "Europe/Berlin", 1, "three_events"),
        ((2019,3,4), 24, "EST", 0, "three_events"),
        ((2019,3,4), 24, 'Asia/Ho_Chi_Minh', 1, "three_events"),
        ((2019,3,4), 1, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 6, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 7, 'Asia/Ho_Chi_Minh', 1, "three_events"),
    # events that have no time zone, New Year
        ((2019,1,1), 1, 'Europe/Berlin', 1, "Germany"),
        ((2019,1,1), 1, 'Asia/Ho_Chi_Minh', 1, "Germany"),
        ((2019,1,1), 1, 'EST', 1, "Germany"),
    ])
    def test_include_events_if_the_time_zone_differs(calendars, date, hours, 
timezone, number_of_events, calendar_name):
        """When the time zone is different, events can be included or
        excluded because they are in another time zone.
        """
      tzinfo = pytz.timezone(timezone)

test/test_time_zones_differ.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

zone = 'EST'

    def timezone(zone):
        r''' Return a datetime.tzinfo implementation for the given timezone
>>> from datetime import datetime, timedelta
        >>> utc = timezone('UTC')
        >>> eastern = timezone('US/Eastern')
        >>> eastern.zone
        'US/Eastern'
        >>> timezone(unicode('US/Eastern')) is eastern
        True
        >>> utc_dt = datetime(2002, 10, 27, 6, 0, 0, tzinfo=utc)
        >>> loc_dt = utc_dt.astimezone(eastern)
        >>> fmt = '%Y-%m-%d %H:%M:%S %Z (%z)'
        >>> loc_dt.strftime(fmt)
        '2002-10-27 01:00:00 EST (-0500)'
        >>> (loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 00:50:00 EST (-0500)'
        >>> eastern.normalize(loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:50:00 EDT (-0400)'
        >>> (loc_dt + timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:10:00 EST (-0500)'
Raises UnknownTimeZoneError if passed an unknown zone. >>> try:
        ...     timezone('Asia/Shangri-La')
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
>>> try:
        ...     timezone(unicode('\N{TRADE MARK SIGN}'))
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
'''
        if zone is None:
            raise UnknownTimeZoneError(None)
if zone.upper() == 'UTC':
            return utc
try:
            zone = ascii(zone)
        except UnicodeEncodeError:
            # All valid timezones are ASCII
            raise UnknownTimeZoneError(zone)
zone = _case_insensitive_zone_lookup(_unmunge_zone(zone))
        if zone not in _tzinfo_cache:
            if zone in all_timezones_set:  # noqa
                fp = open_resource(zone)
                try:
                    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
                finally:
                    fp.close()
            else:
              raise UnknownTimeZoneError(zone)
E               pytz.exceptions.UnknownTimeZoneError: 'EST'

/usr/lib/python3/dist-packages/pytz/__init__.py:201: UnknownTimeZoneError
_ 
test_include_events_if_the_time_zone_differs[ReversedCalendars-date8-1-EST-1-Germany]
 _

calendars = <conftest.ReversedCalendars object at 0x7f9e9892a570>
date = (2019, 1, 1), hours = 1, timezone = 'EST', number_of_events = 1
calendar_name = 'Germany'

    
@pytest.mark.parametrize("date,hours,timezone,number_of_events,calendar_name", [
    # DTSTART;TZID=Europe/Berlin:20190304T000000
    # time zone offset 6:07:00 between Europe/Berlin and Asia/Ho_Chi_Minh
        ((2019,3,4), 24, "Europe/Berlin", 1, "three_events"),
        ((2019,3,4), 24, "EST", 0, "three_events"),
        ((2019,3,4), 24, 'Asia/Ho_Chi_Minh', 1, "three_events"),
        ((2019,3,4), 1, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 6, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 7, 'Asia/Ho_Chi_Minh', 1, "three_events"),
    # events that have no time zone, New Year
        ((2019,1,1), 1, 'Europe/Berlin', 1, "Germany"),
        ((2019,1,1), 1, 'Asia/Ho_Chi_Minh', 1, "Germany"),
        ((2019,1,1), 1, 'EST', 1, "Germany"),
    ])
    def test_include_events_if_the_time_zone_differs(calendars, date, hours, 
timezone, number_of_events, calendar_name):
        """When the time zone is different, events can be included or
        excluded because they are in another time zone.
        """
      tzinfo = pytz.timezone(timezone)

test/test_time_zones_differ.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

zone = 'EST'

    def timezone(zone):
        r''' Return a datetime.tzinfo implementation for the given timezone
>>> from datetime import datetime, timedelta
        >>> utc = timezone('UTC')
        >>> eastern = timezone('US/Eastern')
        >>> eastern.zone
        'US/Eastern'
        >>> timezone(unicode('US/Eastern')) is eastern
        True
        >>> utc_dt = datetime(2002, 10, 27, 6, 0, 0, tzinfo=utc)
        >>> loc_dt = utc_dt.astimezone(eastern)
        >>> fmt = '%Y-%m-%d %H:%M:%S %Z (%z)'
        >>> loc_dt.strftime(fmt)
        '2002-10-27 01:00:00 EST (-0500)'
        >>> (loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 00:50:00 EST (-0500)'
        >>> eastern.normalize(loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:50:00 EDT (-0400)'
        >>> (loc_dt + timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:10:00 EST (-0500)'
Raises UnknownTimeZoneError if passed an unknown zone. >>> try:
        ...     timezone('Asia/Shangri-La')
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
>>> try:
        ...     timezone(unicode('\N{TRADE MARK SIGN}'))
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
'''
        if zone is None:
            raise UnknownTimeZoneError(None)
if zone.upper() == 'UTC':
            return utc
try:
            zone = ascii(zone)
        except UnicodeEncodeError:
            # All valid timezones are ASCII
            raise UnknownTimeZoneError(zone)
zone = _case_insensitive_zone_lookup(_unmunge_zone(zone))
        if zone not in _tzinfo_cache:
            if zone in all_timezones_set:  # noqa
                fp = open_resource(zone)
                try:
                    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
                finally:
                    fp.close()
            else:
              raise UnknownTimeZoneError(zone)
E               pytz.exceptions.UnknownTimeZoneError: 'EST'

/usr/lib/python3/dist-packages/pytz/__init__.py:201: UnknownTimeZoneError
_ 
test_include_events_if_the_time_zone_differs[ZoneInfoCalendars-date1-24-EST-0-three_events]
 _

calendars = <conftest.ZoneInfoCalendars object at 0x7f9e98addb50>
date = (2019, 3, 4), hours = 24, timezone = 'EST', number_of_events = 0
calendar_name = 'three_events'

    
@pytest.mark.parametrize("date,hours,timezone,number_of_events,calendar_name", [
    # DTSTART;TZID=Europe/Berlin:20190304T000000
    # time zone offset 6:07:00 between Europe/Berlin and Asia/Ho_Chi_Minh
        ((2019,3,4), 24, "Europe/Berlin", 1, "three_events"),
        ((2019,3,4), 24, "EST", 0, "three_events"),
        ((2019,3,4), 24, 'Asia/Ho_Chi_Minh', 1, "three_events"),
        ((2019,3,4), 1, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 6, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 7, 'Asia/Ho_Chi_Minh', 1, "three_events"),
    # events that have no time zone, New Year
        ((2019,1,1), 1, 'Europe/Berlin', 1, "Germany"),
        ((2019,1,1), 1, 'Asia/Ho_Chi_Minh', 1, "Germany"),
        ((2019,1,1), 1, 'EST', 1, "Germany"),
    ])
    def test_include_events_if_the_time_zone_differs(calendars, date, hours, 
timezone, number_of_events, calendar_name):
        """When the time zone is different, events can be included or
        excluded because they are in another time zone.
        """
      tzinfo = pytz.timezone(timezone)

test/test_time_zones_differ.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

zone = 'EST'

    def timezone(zone):
        r''' Return a datetime.tzinfo implementation for the given timezone
>>> from datetime import datetime, timedelta
        >>> utc = timezone('UTC')
        >>> eastern = timezone('US/Eastern')
        >>> eastern.zone
        'US/Eastern'
        >>> timezone(unicode('US/Eastern')) is eastern
        True
        >>> utc_dt = datetime(2002, 10, 27, 6, 0, 0, tzinfo=utc)
        >>> loc_dt = utc_dt.astimezone(eastern)
        >>> fmt = '%Y-%m-%d %H:%M:%S %Z (%z)'
        >>> loc_dt.strftime(fmt)
        '2002-10-27 01:00:00 EST (-0500)'
        >>> (loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 00:50:00 EST (-0500)'
        >>> eastern.normalize(loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:50:00 EDT (-0400)'
        >>> (loc_dt + timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:10:00 EST (-0500)'
Raises UnknownTimeZoneError if passed an unknown zone. >>> try:
        ...     timezone('Asia/Shangri-La')
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
>>> try:
        ...     timezone(unicode('\N{TRADE MARK SIGN}'))
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
'''
        if zone is None:
            raise UnknownTimeZoneError(None)
if zone.upper() == 'UTC':
            return utc
try:
            zone = ascii(zone)
        except UnicodeEncodeError:
            # All valid timezones are ASCII
            raise UnknownTimeZoneError(zone)
zone = _case_insensitive_zone_lookup(_unmunge_zone(zone))
        if zone not in _tzinfo_cache:
            if zone in all_timezones_set:  # noqa
                fp = open_resource(zone)
                try:
                    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
                finally:
                    fp.close()
            else:
              raise UnknownTimeZoneError(zone)
E               pytz.exceptions.UnknownTimeZoneError: 'EST'

/usr/lib/python3/dist-packages/pytz/__init__.py:201: UnknownTimeZoneError
_ 
test_include_events_if_the_time_zone_differs[ZoneInfoCalendars-date8-1-EST-1-Germany]
 _

calendars = <conftest.ZoneInfoCalendars object at 0x7f9e98addb50>
date = (2019, 1, 1), hours = 1, timezone = 'EST', number_of_events = 1
calendar_name = 'Germany'

    
@pytest.mark.parametrize("date,hours,timezone,number_of_events,calendar_name", [
    # DTSTART;TZID=Europe/Berlin:20190304T000000
    # time zone offset 6:07:00 between Europe/Berlin and Asia/Ho_Chi_Minh
        ((2019,3,4), 24, "Europe/Berlin", 1, "three_events"),
        ((2019,3,4), 24, "EST", 0, "three_events"),
        ((2019,3,4), 24, 'Asia/Ho_Chi_Minh', 1, "three_events"),
        ((2019,3,4), 1, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 6, 'Asia/Ho_Chi_Minh', 0, "three_events"),
        ((2019,3,4), 7, 'Asia/Ho_Chi_Minh', 1, "three_events"),
    # events that have no time zone, New Year
        ((2019,1,1), 1, 'Europe/Berlin', 1, "Germany"),
        ((2019,1,1), 1, 'Asia/Ho_Chi_Minh', 1, "Germany"),
        ((2019,1,1), 1, 'EST', 1, "Germany"),
    ])
    def test_include_events_if_the_time_zone_differs(calendars, date, hours, 
timezone, number_of_events, calendar_name):
        """When the time zone is different, events can be included or
        excluded because they are in another time zone.
        """
      tzinfo = pytz.timezone(timezone)

test/test_time_zones_differ.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

zone = 'EST'

    def timezone(zone):
        r''' Return a datetime.tzinfo implementation for the given timezone
>>> from datetime import datetime, timedelta
        >>> utc = timezone('UTC')
        >>> eastern = timezone('US/Eastern')
        >>> eastern.zone
        'US/Eastern'
        >>> timezone(unicode('US/Eastern')) is eastern
        True
        >>> utc_dt = datetime(2002, 10, 27, 6, 0, 0, tzinfo=utc)
        >>> loc_dt = utc_dt.astimezone(eastern)
        >>> fmt = '%Y-%m-%d %H:%M:%S %Z (%z)'
        >>> loc_dt.strftime(fmt)
        '2002-10-27 01:00:00 EST (-0500)'
        >>> (loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 00:50:00 EST (-0500)'
        >>> eastern.normalize(loc_dt - timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:50:00 EDT (-0400)'
        >>> (loc_dt + timedelta(minutes=10)).strftime(fmt)
        '2002-10-27 01:10:00 EST (-0500)'
Raises UnknownTimeZoneError if passed an unknown zone. >>> try:
        ...     timezone('Asia/Shangri-La')
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
>>> try:
        ...     timezone(unicode('\N{TRADE MARK SIGN}'))
        ... except UnknownTimeZoneError:
        ...     print('Unknown')
        Unknown
'''
        if zone is None:
            raise UnknownTimeZoneError(None)
if zone.upper() == 'UTC':
            return utc
try:
            zone = ascii(zone)
        except UnicodeEncodeError:
            # All valid timezones are ASCII
            raise UnknownTimeZoneError(zone)
zone = _case_insensitive_zone_lookup(_unmunge_zone(zone))
        if zone not in _tzinfo_cache:
            if zone in all_timezones_set:  # noqa
                fp = open_resource(zone)
                try:
                    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
                finally:
                    fp.close()
            else:
              raise UnknownTimeZoneError(zone)
E               pytz.exceptions.UnknownTimeZoneError: 'EST'

/usr/lib/python3/dist-packages/pytz/__init__.py:201: UnknownTimeZoneError
=========================== short test summary info ============================
FAILED 
test/test_time_zones_differ.py::test_include_events_if_the_time_zone_differs[Calendars-date1-24-EST-0-three_events]
FAILED 
test/test_time_zones_differ.py::test_include_events_if_the_time_zone_differs[Calendars-date8-1-EST-1-Germany]
FAILED 
test/test_time_zones_differ.py::test_include_events_if_the_time_zone_differs[ReversedCalendars-date1-24-EST-0-three_events]
FAILED 
test/test_time_zones_differ.py::test_include_events_if_the_time_zone_differs[ReversedCalendars-date8-1-EST-1-Germany]
FAILED 
test/test_time_zones_differ.py::test_include_events_if_the_time_zone_differs[ZoneInfoCalendars-date1-24-EST-0-three_events]
FAILED 
test/test_time_zones_differ.py::test_include_events_if_the_time_zone_differs[ZoneInfoCalendars-date8-1-EST-1-Germany]
============ 6 failed, 851 passed, 2 skipped, 1 deselected in 3.89s ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest -k "not 
test_zoneinfo_must_be_installed_if_it_is_possible"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-recurring-ical-events
Source-Version: 3.3.3-1
Done: Jochen Sprickerhof <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-recurring-ical-events, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <[email protected]> (supplier of updated 
python-recurring-ical-events package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 01 Nov 2024 17:16:20 +0100
Source: python-recurring-ical-events
Architecture: source
Version: 3.3.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Closes: 1086380
Changes:
 python-recurring-ical-events (3.3.3-1) unstable; urgency=medium
 .
   * New upstream version 3.3.3
   * Use non legacy timezone name in test (Closes: #1086380)
Checksums-Sha1:
 d1a6f48a80ed3d76a9e612dd3e5ed167a87519aa 2566 
python-recurring-ical-events_3.3.3-1.dsc
 d7a76c68224d0bbefacc3e5dc41d5c99193762de 479005 
python-recurring-ical-events_3.3.3.orig.tar.gz
 bc21673488ab3c55f7bc59e4d74c951844d3dc2d 2336 
python-recurring-ical-events_3.3.3-1.debian.tar.xz
Checksums-Sha256:
 bbc0fc25ae396a541a3911b573a1fda27feb3610e500ca3b2ab4f2df33e43e69 2566 
python-recurring-ical-events_3.3.3-1.dsc
 dc7441566e6e57eea765dd87383f133bcc17cdb1475aaaba57a7654de6dcac80 479005 
python-recurring-ical-events_3.3.3.orig.tar.gz
 5a7f2b73269ae874ad52be2f4df0035c8aa7f4730a01c6626979968ee35e71dd 2336 
python-recurring-ical-events_3.3.3-1.debian.tar.xz
Files:
 8bbad7b3d76d7963a4b7e7a07f12c398 2566 python optional 
python-recurring-ical-events_3.3.3-1.dsc
 6a4af61fd4e726ca34e5209985c4bafa 479005 python optional 
python-recurring-ical-events_3.3.3.orig.tar.gz
 606d541002044ccca3d384f3bc96f9c0 2336 python optional 
python-recurring-ical-events_3.3.3-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmck//QACgkQW//cwljm
lDOHjxAAlzVMK5MNSCCc8gLg3M81qEodBF5LOHikDCfHtlUP9vFyCIKan7Rt7gY9
F/MB+BP42i81s8ihlriUCRxmz86CdR/kC2XHpgmYj8Uc1mgLXxwiWoX2Pg9uNXzS
49qLIYD+P8YoMiHNb9nEyvVmTuAnH1k4hxxZ4oFo30lZZ93GUXnvpvm97tYhDVy9
aRcBBZoTlfRc+WmBMg/+CRLbmAz3kcTEG3ZOaXCZFPAT0cytjHwUVTPmPfHLaPB6
qrsIi3vt6vZ2zop6cUsgcKBszI7DXvLDJBbOfOViLkclF0zlzKxo9g0p7alEdQD5
YYe5zAJjmD4a/TGDyZI+opGzGNzlWrdRlDBFfM+oJC87oMVASfb0ahN99+diPLAx
p08RoTjQCczR4ggCRfGAXtk9AkX3m82YYoN3Cy9Jn6myOkAMoErGVR35Nv6sMM+Q
R4EQkxW8VNo8wsIukFZxwqGTY4wbxkITTxQbO/o+8lQVWb5dffIa6w4Jv7wl6gFF
ScAWQfWNAwGC5Ec2pElgEwVY0zAUuqSnLTuMfGjML/PBUWIfoYrsHpcS2UzBtaZZ
z+nwLcFEbNo/UgR4G46ThLy0pWVIMvIGq7sIDkMF6eyudMk43/Kr2W+J4HNxdk5i
XpieZx2teiaCkI/4E7rWCVLg2DZm7LsYHhN+mHO7R21tPp+1JYc=
=zDVX
-----END PGP SIGNATURE-----

Attachment: pgpfmn4jB0vSy.pgp
Description: PGP signature


--- End Message ---

Reply via email to