Your message dated Fri, 06 Oct 2023 13:05:01 +0000
with message-id <e1qokvp-006zae...@fasolo.debian.org>
and subject line Bug#1052898: fixed in python-typepy 1.3.1-1
has caused the Debian Bug report #1052898,
regarding python-datetimerange: FTBFS: tests fail
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 ow...@bugs.debian.org
immediately.)


-- 
1052898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052898
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-datetimerange
Version: 1.2.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> pkgos-dh_auto_install --no-py2 --in-tmp
> + PKGOS_IN_TMP=no
> + echo WARNING: --no-py2 is deprecated and always on.
> WARNING: --no-py2 is deprecated and always on.
> + shift
> + PKGOS_IN_TMP=yes
> + shift
> + dpkg-parsechangelog -SSource
> + SRC_PKG_NAME=python-datetimerange
> + echo python-datetimerange
> + sed s/python-//
> + PY_MODULE_NAME=datetimerange
> + py3versions -vr
> + PYTHON3S=3.11
> + [ yes = yes ]
> + TARGET_DIR=tmp
> + pwd
> + python3.11 setup.py install --install-layout=deb --root 
> /<<PKGBUILDDIR>>/debian/tmp
> running install
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please avoid running ``setup.py`` directly.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> 
>         See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self.initialize_options()
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/datetimerange
> copying datetimerange/__init__.py -> build/lib/datetimerange
> copying datetimerange/__version__.py -> build/lib/datetimerange
> running egg_info
> creating DateTimeRange.egg-info
> writing DateTimeRange.egg-info/PKG-INFO
> writing dependency_links to DateTimeRange.egg-info/dependency_links.txt
> writing requirements to DateTimeRange.egg-info/requires.txt
> writing top-level names to DateTimeRange.egg-info/top_level.txt
> writing manifest file 'DateTimeRange.egg-info/SOURCES.txt'
> reading manifest file 'DateTimeRange.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'setup.cfg'
> warning: no previously-included files matching '__pycache__/*' found anywhere 
> in distribution
> warning: no previously-included files matching '*.pyc' found anywhere in 
> distribution
> adding license file 'LICENSE'
> writing manifest file 'DateTimeRange.egg-info/SOURCES.txt'
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/tmp
> creating /<<PKGBUILDDIR>>/debian/tmp/usr
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
> creating 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/datetimerange
> copying build/lib/datetimerange/__init__.py -> 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/datetimerange
> copying build/lib/datetimerange/__version__.py -> 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/datetimerange
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/datetimerange/__init__.py
>  to __init__.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/datetimerange/__version__.py
>  to __version__.cpython-311.pyc
> running install_egg_info
> Copying DateTimeRange.egg-info to 
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/DateTimeRange-1.2.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> + pwd
> + rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth
> + pwd
> + rm -rf /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python*/dist-packages/*.pth
> set -e ; for pyvers in 3.11; do \
>       python$pyvers -m pytest test ; \
> done
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pyproject.toml
> collected 200 items
> 
> test/test_dtr.py ............FF......................................... [ 
> 27%]
> ..............FF........................................................ [ 
> 63%]
> ........................................................................ [ 
> 99%]
> .                                                                        
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _ 
> TestDateTimeRange_repr.test_daylight_saving_time[2015-03-08T00:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-03-08T12:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-03-08T00:00:00-0400
>  - 2015-03-08T12:00:00-0300] _
> 
> self = <test_dtr.TestDateTimeRange_repr object at 0x7f9b732f02d0>
> start = '2015-03-08T00:00:00-0400', start_format = '%Y-%m-%dT%H:%M:%S%z'
> end = '2015-03-08T12:00:00-0400', end_format = '%Y-%m-%dT%H:%M:%S%z'
> expected = '2015-03-08T00:00:00-0400 - 2015-03-08T12:00:00-0300'
> 
>     @pytest.mark.parametrize(
>         ["start", "start_format", "end", "end_format", "expected"],
>         [
>             [
>                 "2015-03-08T00:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-03-08T12:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-03-08T00:00:00-0400 - 2015-03-08T12:00:00-0300",
>             ],
>             [
>                 "2015-11-01T00:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-11-01T12:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-11-01T00:00:00-0300 - 2015-11-01T12:00:00-0400",
>             ],
>         ],
>     )
>     def test_daylight_saving_time(self, start, start_format, end, end_format, 
> expected):
> >       dtr = DateTimeRange(start, end, start_format, end_format)
> 
> test/test_dtr.py:193: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> datetimerange/__init__.py:61: in __init__
>     self.set_time_range(start_datetime, end_datetime)
> datetimerange/__init__.py:479: in set_time_range
>     self.set_start_datetime(start)
> datetimerange/__init__.py:433: in set_start_datetime
>     self.__start_datetime = self.__normalize_datetime_value(value, timezone)
> datetimerange/__init__.py:831: in __normalize_datetime_value
>     ).convert()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:112: in convert
>     if self.is_type():
> /usr/lib/python3/dist-packages/typepy/type/_base.py:70: in is_type
>     self.__is_type_result = self.__is_type()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:82: in __is_type
>     self._converted_value = self.__converter.force_convert()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:45: in 
> force_convert
>     return self.__from_datetime_string()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:119: in 
> __from_datetime_string
>     pytz_timezone = pytz.timezone(dst_timezone_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> zone = 'Canada/Atlantic'
> 
>     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: 'Canada/Atlantic'
> 
> /usr/lib/python3/dist-packages/pytz/__init__.py:202: UnknownTimeZoneError
> _ 
> TestDateTimeRange_repr.test_daylight_saving_time[2015-11-01T00:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-11-01T12:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-11-01T00:00:00-0300
>  - 2015-11-01T12:00:00-0400] _
> 
> self = <test_dtr.TestDateTimeRange_repr object at 0x7f9b732f0bd0>
> start = '2015-11-01T00:00:00-0400', start_format = '%Y-%m-%dT%H:%M:%S%z'
> end = '2015-11-01T12:00:00-0400', end_format = '%Y-%m-%dT%H:%M:%S%z'
> expected = '2015-11-01T00:00:00-0300 - 2015-11-01T12:00:00-0400'
> 
>     @pytest.mark.parametrize(
>         ["start", "start_format", "end", "end_format", "expected"],
>         [
>             [
>                 "2015-03-08T00:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-03-08T12:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-03-08T00:00:00-0400 - 2015-03-08T12:00:00-0300",
>             ],
>             [
>                 "2015-11-01T00:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-11-01T12:00:00-0400",
>                 ISO_TIME_FORMAT,
>                 "2015-11-01T00:00:00-0300 - 2015-11-01T12:00:00-0400",
>             ],
>         ],
>     )
>     def test_daylight_saving_time(self, start, start_format, end, end_format, 
> expected):
> >       dtr = DateTimeRange(start, end, start_format, end_format)
> 
> test/test_dtr.py:193: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> datetimerange/__init__.py:61: in __init__
>     self.set_time_range(start_datetime, end_datetime)
> datetimerange/__init__.py:479: in set_time_range
>     self.set_start_datetime(start)
> datetimerange/__init__.py:433: in set_start_datetime
>     self.__start_datetime = self.__normalize_datetime_value(value, timezone)
> datetimerange/__init__.py:831: in __normalize_datetime_value
>     ).convert()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:112: in convert
>     if self.is_type():
> /usr/lib/python3/dist-packages/typepy/type/_base.py:70: in is_type
>     self.__is_type_result = self.__is_type()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:82: in __is_type
>     self._converted_value = self.__converter.force_convert()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:45: in 
> force_convert
>     return self.__from_datetime_string()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:119: in 
> __from_datetime_string
>     pytz_timezone = pytz.timezone(dst_timezone_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> zone = 'Canada/Atlantic'
> 
>     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: 'Canada/Atlantic'
> 
> /usr/lib/python3/dist-packages/pytz/__init__.py:202: UnknownTimeZoneError
> _ 
> TestDateTimeRange_timedelta.test_daylight_saving_time[2015-03-08T00:00:00-0400-2015-03-08T12:00:00-0400-expected0]
>  _
> 
> self = <test_dtr.TestDateTimeRange_timedelta object at 0x7f9b73299150>
> start = '2015-03-08T00:00:00-0400', end = '2015-03-08T12:00:00-0400'
> expected = datetime.timedelta(seconds=39600)
> 
>     @pytest.mark.parametrize(
>         ["start", "end", "expected"],
>         [
>             [
>                 "2015-03-08T00:00:00-0400",
>                 "2015-03-08T12:00:00-0400",
>                 timedelta(0, 39600),  # 11 hours
>             ],
>             [
>                 "2015-11-01T00:00:00-0400",
>                 "2015-11-01T12:00:00-0400",
>                 timedelta(0, 46800),  # 13 hours
>             ],
>         ],
>     )
>     def test_daylight_saving_time(self, start, end, expected):
> >       dtr = DateTimeRange(start, end)
> 
> test/test_dtr.py:470: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> datetimerange/__init__.py:61: in __init__
>     self.set_time_range(start_datetime, end_datetime)
> datetimerange/__init__.py:479: in set_time_range
>     self.set_start_datetime(start)
> datetimerange/__init__.py:433: in set_start_datetime
>     self.__start_datetime = self.__normalize_datetime_value(value, timezone)
> datetimerange/__init__.py:831: in __normalize_datetime_value
>     ).convert()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:112: in convert
>     if self.is_type():
> /usr/lib/python3/dist-packages/typepy/type/_base.py:70: in is_type
>     self.__is_type_result = self.__is_type()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:82: in __is_type
>     self._converted_value = self.__converter.force_convert()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:45: in 
> force_convert
>     return self.__from_datetime_string()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:119: in 
> __from_datetime_string
>     pytz_timezone = pytz.timezone(dst_timezone_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> zone = 'Canada/Atlantic'
> 
>     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: 'Canada/Atlantic'
> 
> /usr/lib/python3/dist-packages/pytz/__init__.py:202: UnknownTimeZoneError
> _ 
> TestDateTimeRange_timedelta.test_daylight_saving_time[2015-11-01T00:00:00-0400-2015-11-01T12:00:00-0400-expected1]
>  _
> 
> self = <test_dtr.TestDateTimeRange_timedelta object at 0x7f9b73299450>
> start = '2015-11-01T00:00:00-0400', end = '2015-11-01T12:00:00-0400'
> expected = datetime.timedelta(seconds=46800)
> 
>     @pytest.mark.parametrize(
>         ["start", "end", "expected"],
>         [
>             [
>                 "2015-03-08T00:00:00-0400",
>                 "2015-03-08T12:00:00-0400",
>                 timedelta(0, 39600),  # 11 hours
>             ],
>             [
>                 "2015-11-01T00:00:00-0400",
>                 "2015-11-01T12:00:00-0400",
>                 timedelta(0, 46800),  # 13 hours
>             ],
>         ],
>     )
>     def test_daylight_saving_time(self, start, end, expected):
> >       dtr = DateTimeRange(start, end)
> 
> test/test_dtr.py:470: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> datetimerange/__init__.py:61: in __init__
>     self.set_time_range(start_datetime, end_datetime)
> datetimerange/__init__.py:479: in set_time_range
>     self.set_start_datetime(start)
> datetimerange/__init__.py:433: in set_start_datetime
>     self.__start_datetime = self.__normalize_datetime_value(value, timezone)
> datetimerange/__init__.py:831: in __normalize_datetime_value
>     ).convert()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:112: in convert
>     if self.is_type():
> /usr/lib/python3/dist-packages/typepy/type/_base.py:70: in is_type
>     self.__is_type_result = self.__is_type()
> /usr/lib/python3/dist-packages/typepy/type/_base.py:82: in __is_type
>     self._converted_value = self.__converter.force_convert()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:45: in 
> force_convert
>     return self.__from_datetime_string()
> /usr/lib/python3/dist-packages/typepy/converter/_datetime.py:119: in 
> __from_datetime_string
>     pytz_timezone = pytz.timezone(dst_timezone_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> zone = 'Canada/Atlantic'
> 
>     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: 'Canada/Atlantic'
> 
> /usr/lib/python3/dist-packages/pytz/__init__.py:202: UnknownTimeZoneError
> =============================== warnings summary 
> ===============================
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: md_report
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: md_report_color
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: md_report_margin
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: 
> PytestConfigWarning: Unknown config option: md_report_verbose
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> ../../../usr/lib/python3/dist-packages/dateutil/parser/_parser.py:1207
>   /usr/lib/python3/dist-packages/dateutil/parser/_parser.py:1207: 
> UnknownTimezoneWarning: tzname JST identified but not understood.  Pass 
> `tzinfos` argument in order to correctly return a timezone-aware datetime.  
> In a future version, this will raise an exception.
>     warnings.warn("tzname {tzname} identified but not understood.  "
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> test/test_dtr.py::TestDateTimeRange_repr::test_daylight_saving_time[2015-03-08T00:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-03-08T12:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-03-08T00:00:00-0400
>  - 2015-03-08T12:00:00-0300]
> FAILED 
> test/test_dtr.py::TestDateTimeRange_repr::test_daylight_saving_time[2015-11-01T00:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-11-01T12:00:00-0400-%Y-%m-%dT%H:%M:%S%z-2015-11-01T00:00:00-0300
>  - 2015-11-01T12:00:00-0400]
> FAILED 
> test/test_dtr.py::TestDateTimeRange_timedelta::test_daylight_saving_time[2015-03-08T00:00:00-0400-2015-03-08T12:00:00-0400-expected0]
> FAILED 
> test/test_dtr.py::TestDateTimeRange_timedelta::test_daylight_saving_time[2015-11-01T00:00:00-0400-2015-11-01T12:00:00-0400-expected1]
> ================== 4 failed, 196 passed, 5 warnings in 1.41s 
> ===================
> make[1]: *** [debian/rules:19: override_dh_auto_install] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/python-datetimerange_1.2.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: python-typepy
Source-Version: 1.3.1-1
Done: Thomas Goirand <z...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-typepy, 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 1052...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-typepy 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 06 Oct 2023 14:35:45 +0200
Source: python-typepy
Architecture: source
Version: 1.3.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openst...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1052898
Changes:
 python-typepy (1.3.1-1) unstable; urgency=medium
 .
   * New upstream release.
   * Add do-not-use-Canada_Atlantic-gz.patch (Closes: #1052898).
   * Fix wrong VCS URLs.
Checksums-Sha1:
 949ec5d8affc3d7886a8109e892c257d15e3bd42 2209 python-typepy_1.3.1-1.dsc
 2673fd04548ba8dfdd10f917b47ee9f0d3bf7f2c 26236 python-typepy_1.3.1.orig.tar.xz
 0d00c321967f084cb887307d2dcb9ebe79b3e053 2768 
python-typepy_1.3.1-1.debian.tar.xz
 f7513b5beaad682ad7e8d5d8eca4a8afa4492a57 7280 
python-typepy_1.3.1-1_amd64.buildinfo
Checksums-Sha256:
 fc09fabb68bda0c9e5f309b248ff4ca8e67427138d4e65efd751f81aab7f06d9 2209 
python-typepy_1.3.1-1.dsc
 0de5fe99eb2d61afe5225073c458756e33cf822bf4d27b1d7750dfcc411e9e80 26236 
python-typepy_1.3.1.orig.tar.xz
 852520b5b55448ec47cfa8584513e2c8b027a64bf5386da38e0b2bfff37bc08b 2768 
python-typepy_1.3.1-1.debian.tar.xz
 9fbd9c930ac6d4b8957d2327f473532175a8c878bf519d7e2bab048dc2428239 7280 
python-typepy_1.3.1-1_amd64.buildinfo
Files:
 b2eb8a1408fb244097b0810f3a3e50a2 2209 python optional python-typepy_1.3.1-1.dsc
 59eacdbf1695db6770ebcd1829cfa045 26236 python optional 
python-typepy_1.3.1.orig.tar.xz
 97fb06dc2acc679103c336caa5400efe 2768 python optional 
python-typepy_1.3.1-1.debian.tar.xz
 78480d1193f0aeb1cf778cfa31a8232d 7280 python optional 
python-typepy_1.3.1-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmUgAicACgkQ1BatFaxr
Q/58Hg//XezGpK++KiWzLYmJrLxtq38KbYjCAryu+COnKVHiIixTEhb5jAeG28uS
gIkfi3f0lUv6m4DOqUJpu1bkyvykRv9TN1R//MN0wZ2uZLqkC8HHaamNEGM6NZF+
UiQWRs31MRkeybyvro95+iDKdVe710Qjtlm292+s9K17wmxElMKY8sevlJhnkRfl
DdcWSchZv8UsrFyCL2qtC2IBolukpbCTz0+DZA3Q0Tl3bgYO+NYF0aopGs5s6J1h
eql7TbuNlKdJkHUH674X6JCoeS3HaIHLMgdrPehg8i36IQlIMFUZJSRbbKRUT6PV
sTA2MeOx9QQvDkyLCSrpEe3wjj8oLQDqYJp7Oz5p/VI1vh+vFHnvMMKG+OvEHNQj
mQrLnbrjDoGLN5qsh3Ao+qaw3E4dwA0oE38vwEL4vjTUjD7sBGXSz9Q5uakubNcS
j6F0UGKVbyxMg516GoqR0uwC0mwVhlOrCCf15Z8vAdmMxDlz9zItJ8NNm+befvQs
3RWCbFR/JT8OYc6euPMyePMvGd4eVPzltDQVWUQtEafwXGLZqFbpD1sR6KetnmUp
lnyLWeY0yP3UOOTaZMftZ2OgmN/xTd/e7mb3sE0HzF1j4zAdPm+iRyLTikqQD3C5
v0u2VzQJ+Y72f63Nq02UawKFT61npzd7Ym2PtzP/IYPmGqqcOm8=
=VfSV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to