Your message dated Mon, 09 Oct 2023 08:43:08 +0000
with message-id <e1qplr2-004haq...@fasolo.debian.org>
and subject line Bug#1052773: fixed in python-tempora 5.5.0-1
has caused the Debian Bug report #1052773,
regarding python-tempora: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p 3.11 returned exit code 13
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.)


-- 
1052773: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052773
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-tempora
Version: 5.3.0-1
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):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild --test-pytest
>    dh_update_autotools_config -O--buildsystem=pybuild -O--test-pytest
>    dh_autoreconf -O--buildsystem=pybuild -O--test-pytest
>    dh_auto_configure -O--buildsystem=pybuild -O--test-pytest
>    dh_auto_build -O--buildsystem=pybuild -O--test-pytest
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:291: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora 
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/tempora
> copying tempora/__init__.py -> build/lib/tempora
> copying tempora/timing.py -> build/lib/tempora
> copying tempora/schedule.py -> build/lib/tempora
> copying tempora/utc.py -> build/lib/tempora
> running egg_info
> creating tempora.egg-info
> writing tempora.egg-info/PKG-INFO
> writing dependency_links to tempora.egg-info/dependency_links.txt
> writing entry points to tempora.egg-info/entry_points.txt
> writing requirements to tempora.egg-info/requires.txt
> writing top-level names to tempora.egg-info/top_level.txt
> writing manifest file 'tempora.egg-info/SOURCES.txt'
> reading manifest file 'tempora.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'tempora.egg-info/SOURCES.txt'
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/tempora
> copying build/lib/tempora/__init__.py -> 
> build/bdist.linux-x86_64/wheel/tempora
> copying build/lib/tempora/timing.py -> build/bdist.linux-x86_64/wheel/tempora
> copying build/lib/tempora/schedule.py -> 
> build/bdist.linux-x86_64/wheel/tempora
> copying build/lib/tempora/utc.py -> build/bdist.linux-x86_64/wheel/tempora
> running install_egg_info
> Copying tempora.egg-info to 
> build/bdist.linux-x86_64/wheel/tempora-5.3.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/tempora-5.3.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/.tmp-ufwl34rz/tempora-5.3.0-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'tempora/__init__.py'
> adding 'tempora/schedule.py'
> adding 'tempora/timing.py'
> adding 'tempora/utc.py'
> adding 'tempora-5.3.0.dist-info/LICENSE'
> adding 'tempora-5.3.0.dist-info/METADATA'
> adding 'tempora-5.3.0.dist-info/WHEEL'
> adding 'tempora-5.3.0.dist-info/entry_points.txt'
> adding 'tempora-5.3.0.dist-info/top_level.txt'
> adding 'tempora-5.3.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built tempora-5.3.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild -O--test-pytest
> I: pybuild pybuild:314: cp -va /<<PKGBUILDDIR>>/pytest.ini 
> /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build/
> '/<<PKGBUILDDIR>>/pytest.ini' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build/pytest.ini'
> '/<<PKGBUILDDIR>>/tests' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build/tests'
> '/<<PKGBUILDDIR>>/tests/test_schedule.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build/tests/test_schedule.py'
> '/<<PKGBUILDDIR>>/tests/test_timing.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build/tests/test_timing.py'
> I: pybuild base:291: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build; python3.11 -m pytest 
> -k 'not tempora.get_nearest_year_for_day'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build
> configfile: pytest.ini
> collected 42 items / 1 deselected / 41 selected
> 
> tempora/__init__.py ...........                                          [ 
> 26%]
> tempora/schedule.py F..                                                  [ 
> 34%]
> tempora/timing.py .....                                                  [ 
> 46%]
> tempora/utc.py .                                                         [ 
> 48%]
> tests/test_schedule.py .............F.F...                               [ 
> 95%]
> tests/test_timing.py ..                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __________________________ [doctest] tempora.schedule 
> __________________________
> 001 
> 002 Classes for calling functions a schedule. Has time zone support.
> 003 
> 004 For example, to run a job at 08:00 every morning in 'Asia/Calcutta':
> 005 
> 006 >>> job = lambda: print("time is now", datetime.datetime())
> 007 >>> time = datetime.time(8, tzinfo=pytz.timezone('Asia/Calcutta'))
> UNEXPECTED EXCEPTION: UnknownTimeZoneError('Asia/Calcutta')
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/doctest.py", line 1351, in __run
>     exec(compile(example.source, filename, "single",
>   File "<doctest tempora.schedule[1]>", line 1, in <module>
>   File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 202, in 
> timezone
>     raise UnknownTimeZoneError(zone)
> pytz.exceptions.UnknownTimeZoneError: 'Asia/Calcutta'
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build/tempora/schedule.py:7: 
> UnexpectedException
> __________________ TestTimezones.test_alternate_timezone_west 
> __________________
> 
> self = <test_schedule.TestTimezones object at 0x7f67b0c612d0>
> 
>     def test_alternate_timezone_west(self):
> >       target_tz = pytz.timezone('US/Pacific')
> 
> tests/test_schedule.py:80: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> zone = 'US/Pacific'
> 
>     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: 'US/Pacific'
> 
> /usr/lib/python3/dist-packages/pytz/__init__.py:202: UnknownTimeZoneError
> _____________________ TestTimezones.test_daylight_savings 
> ______________________
> 
> self = <test_schedule.TestTimezones object at 0x7f67b0c620d0>
> 
>     def test_daylight_savings(self):
>         """
>         A command at 9am should always be 9am regardless of
>         a DST boundary.
>         """
>         with freezegun.freeze_time('2018-03-10 08:00:00'):
> >           target_tz = pytz.timezone('US/Eastern')
> 
> tests/test_schedule.py:97: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> zone = 'US/Eastern'
> 
>     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: 'US/Eastern'
> 
> /usr/lib/python3/dist-packages/pytz/__init__.py:202: UnknownTimeZoneError
> =========================== short test summary info 
> ============================
> FAILED tempora/schedule.py::tempora.schedule
> FAILED tests/test_schedule.py::TestTimezones::test_alternate_timezone_west - 
> ...
> FAILED tests/test_schedule.py::TestTimezones::test_daylight_savings - 
> pytz.ex...
> ================== 3 failed, 38 passed, 1 deselected in 1.48s 
> ==================
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tempora/build; python3.11 -m pytest 
> -k 'not tempora.get_nearest_year_for_day'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/python-tempora_5.3.0-1_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-tempora
Source-Version: 5.5.0-1
Done: Jeroen Ploemen <j...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-tempora, 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.
Jeroen Ploemen <j...@debian.org> (supplier of updated python-tempora 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: SHA512

Format: 1.8
Date: Mon, 09 Oct 2023 07:45:04 +0000
Source: python-tempora
Built-For-Profiles: noudeb
Architecture: source
Version: 5.5.0-1
Distribution: unstable
Urgency: medium
Maintainer: Jeroen Ploemen <j...@debian.org>
Changed-By: Jeroen Ploemen <j...@debian.org>
Closes: 1052773
Changes:
 python-tempora (5.5.0-1) unstable; urgency=medium
 .
   * New upstream version 5.5.0
   * Control, tests: add (build-)depends on tzdata-legacy to avoid
     issues with missing timezones caused by changes in tzdata/2023c-8
     (Closes: #1052773).
Checksums-Sha1:
 2073e50aec8654c20a5e3471d4782eefa4fe9566 2319 python-tempora_5.5.0-1.dsc
 eb2b64abf4c00948a16a01d9bb636c4e0845847a 18244 python-tempora_5.5.0.orig.tar.gz
 a31ce6490b7aad4a133acf1138df66c502165d76 4048 
python-tempora_5.5.0-1.debian.tar.xz
 32b357cbef367044abd82cf5d0b6d088782e1c81 15252 
python-tempora_5.5.0-1_source.buildinfo
Checksums-Sha256:
 6ffc7f708dd5805a9e6fa49488e5f4cbec0067c0c8c440a8261833f76b2ab7b3 2319 
python-tempora_5.5.0-1.dsc
 169ebaac8b7b248188e5ed0bd60d1c0829070531ca42928abd3b09ccf3f40b7d 18244 
python-tempora_5.5.0.orig.tar.gz
 5d53f3bd2697b6f0502772c541ca1623c1824d232429a58c82682aa9c624e869 4048 
python-tempora_5.5.0-1.debian.tar.xz
 b6b686602c6cceedfd99881418afdffed118a2bebb357ccd8737c10e3310ee52 15252 
python-tempora_5.5.0-1_source.buildinfo
Files:
 3bb1a8677095ac7c738fd27bc4237550 2319 python optional 
python-tempora_5.5.0-1.dsc
 94777f9588f39902b538e23ab52e53c9 18244 python optional 
python-tempora_5.5.0.orig.tar.gz
 ce33acc8771712a62aab04ca733d73c1 4048 python optional 
python-tempora_5.5.0-1.debian.tar.xz
 a729f0faf43dfb9995f3a11d4c5bbd59 15252 python optional 
python-tempora_5.5.0-1_source.buildinfo

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

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmUjtBwACgkQQoMEoXSN
zHpSsxAAkeaU22aRePtKPy9nABKA6YrC9Q2GGN+Co8Gd1IVFqCxA2AU4w0d6KgKZ
kPqOwl4FRYCLQcac14PXH8+RDNznj79OFYOo2QgfvCeIizZMgkMGQuP2suuaW406
AVHpOwkt7lgv4qk33PIdRIizCYFBJDS0te39BJnIeqGdh1equ3IcRbzUz2TI8T+P
nyuFuhp7BT0xjSeqNK5+p4Mw+N8UgrJrjKF3HKWI+qeN1eyXt5vFUsIrMVTsv+4s
7SXu9eOc32WSfb8gLrT3JAe1fU28kGyRKcgiFmhzNwxcbrzgWnpf88LgBW6ljULp
F6OMgmb/s3LX8Lj/b1p2lWyv1Hm3YXWHAdvpET+d8SzjNUpmSdY10HsF2kRm+3ho
Ja6+qoZHXszytvKF9i2PiiFhpeMsf/07kybARbGWQKwsGmUjmMu5NXTt/APJirM0
1t5ssday0gKY1CBgzRNy3W95Nqpr3VRvdnXr6c4bWH0EHiP0ju8HtwMrnvkjwQ60
uJGto8hs+XBAXdBK2wUsZsQugllfhsKq9W973yV9e/co9dHX/hsaHgravb6ES21o
O5bwMx/6hFrWgIBYipObsdnY5eaBhoofFbGoa067mYFYOvpHsZKVsKVDfOJhrAFt
Fks4vXgffFy0gBfjR4N+MHQbrGeZ9g3UdLEKkOe2O/ea3z9M0Bw=
=h69j
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to