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.