Your message dated Mon, 15 Aug 2022 15:55:59 +0000
with message-id <e1oncrb-00h065...@fasolo.debian.org>
and subject line Bug#1017193: fixed in python-tz 2022.2.1-1
has caused the Debian Bug report #1017193,
regarding python-tz: FTBFS: dh_auto_test: error: pybuild --test --test-pytest
-i python{version} -p 3.10 "--before-test= cp
/<<PKGBUILDDIR>>/README.rst {build_dir}; cp -r /<<PKGBUILDDIR>>/pytz/tests
{build_dir}/pytz/" "--after-test=rm -rf {build_dir}/README.rst
{build_dir}/pytz/tests" 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.)
--
1017193: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017193
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-tz
Version: 2022.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --before-test="\
> cp /<<PKGBUILDDIR>>/README.rst {build_dir}; \
> cp -r /<<PKGBUILDDIR>>/pytz/tests {build_dir}/pytz/" \
> --after-test="rm -rf {build_dir}/README.rst {build_dir}/pytz/tests"
> I: pybuild pybuild:300: cp /<<PKGBUILDDIR>>/README.rst
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tz/build; cp -r
> /<<PKGBUILDDIR>>/pytz/tests
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tz/build/pytz/
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tz/build;
> python3.10 -m pytest
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 235 items
>
> pytz/tests/test_docs.py .. [
> 0%]
> pytz/tests/test_lazy.py ....................................... [
> 17%]
> pytz/tests/test_tzinfo.py .............................................. [
> 37%]
> ........................................................................ [
> 67%]
> ....................................................F.F................. [
> 98%]
> ....
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ LocalTestCase.testLocalize
> __________________________
>
> self = <test_tzinfo.LocalTestCase testMethod=testLocalize>
>
> def testLocalize(self):
> loc_tz = pytz.timezone('Europe/Amsterdam')
>
> loc_time = loc_tz.localize(datetime(1930, 5, 10, 0, 0, 0))
> # Actually +00:19:32, but Python datetime rounds this
> > self.assertEqual(loc_time.strftime('%Z%z'), 'AMT+0020')
> E AssertionError: 'WEST+0100' != 'AMT+0020'
> E - WEST+0100
> E + AMT+0020
>
> pytz/tests/test_tzinfo.py:619: AssertionError
> ____________________ LocalTestCase.testPartialMinuteOffsets
> ____________________
>
> self = <test_tzinfo.LocalTestCase testMethod=testPartialMinuteOffsets>
>
> def testPartialMinuteOffsets(self):
> # utcoffset in Amsterdam was not a whole minute until 1937
> # However, we fudge this by rounding them, as the Python
> # datetime library
> tz = pytz.timezone('Europe/Amsterdam')
> utc_dt = datetime(1914, 1, 1, 13, 40, 28, tzinfo=UTC) # correct
> utc_dt = utc_dt.replace(second=0) # But we need to fudge it
> loc_dt = utc_dt.astimezone(tz)
> > self.assertEqual(
> loc_dt.strftime('%Y-%m-%d %H:%M:%S %Z%z'),
> '1914-01-01 14:00:00 AMT+0020'
> )
> E AssertionError: '1914-01-01 13:40:00 WET+0000' != '1914-01-01
> 14:00:00 AMT+0020'
> E - 1914-01-01 13:40:00 WET+0000
> E ? ^ ^ ^^ ^
> E + 1914-01-01 14:00:00 AMT+0020
> E ? ^ ^ ^^ ^
>
> pytz/tests/test_tzinfo.py:723: AssertionError
> =========================== short test summary info
> ============================
> FAILED pytz/tests/test_tzinfo.py::LocalTestCase::testLocalize -
> AssertionErro...
> FAILED pytz/tests/test_tzinfo.py::LocalTestCase::testPartialMinuteOffsets -
> A...
> ======================== 2 failed, 233 passed in 0.95s
> =========================
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tz/build; python3.10 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10
> "--before-test= cp /<<PKGBUILDDIR>>/README.rst {build_dir}; cp -r
> /<<PKGBUILDDIR>>/pytz/tests {build_dir}/pytz/" "--after-test=rm -rf
> {build_dir}/README.rst {build_dir}/pytz/tests" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/python-tz_2022.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&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 marking 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-tz
Source-Version: 2022.2.1-1
Done: Alastair McKinstry <mckins...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-tz, 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 1017...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <mckins...@debian.org> (supplier of updated python-tz
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: Mon, 15 Aug 2022 16:12:44 +0100
Source: python-tz
Architecture: source
Version: 2022.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Closes: 1017193
Changes:
python-tz (2022.2.1-1) unstable; urgency=medium
.
* New upstream release. Closes: #1017193
* Standards-Version: 4.6.1
Checksums-Sha1:
cd7def6a6d481abae3b8ada2070c848f280178ca 2174 python-tz_2022.2.1-1.dsc
98e6c71bc7116e1ac8e275e438be95bd6a2cb926 134640 python-tz_2022.2.1.orig.tar.xz
713af21e4b608fb551150c937b5902cea58aa526 5928
python-tz_2022.2.1-1.debian.tar.xz
Checksums-Sha256:
acf968ead7b6ea40a39378a56c1f3e7d7a136993284bcb48cf439bbb5de097c9 2174
python-tz_2022.2.1-1.dsc
bc729f7433f8799879b07e7e0164f9a4154641ce78b30857e59ee208f97dbea4 134640
python-tz_2022.2.1.orig.tar.xz
12be6b07a1aafd4984e42ad15359a84fa290562f27e74cca5f079c62b035487a 5928
python-tz_2022.2.1-1.debian.tar.xz
Files:
b7a6343a802ada62a134d2d2bf32fcb7 2174 python optional python-tz_2022.2.1-1.dsc
b1671ad6ec71d969b52628882fc8e56d 134640 python optional
python-tz_2022.2.1.orig.tar.xz
c2b40dcf0600b7ed16704c53254b1783 5928 python optional
python-tz_2022.2.1-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmL6Ys0ACgkQy+a7Tl2a
06UOow/+I32I75pG4AXNPhq0JjhN0zRTHLejjWxCwCo2EBVf5wBW29ftbBEjKwoK
DHfK5Lob+2N0/OcCl8szAXg0KncHHeO+5bc/b36U/a0Nei0xg2PZrufoxJ36bp8U
kgW2LyV+g56NNpH3PcsbtNyScumT/Ezltx8hcezMEJkqK7THjruE6MA85GmCRNFL
argLYTwdACfcLWR6TKZfuVVf86cdowvy4QZCA8anE8CPFlMTSQmZ0EoohoHiq70b
9Y2VVSaNNL4S5osWzKvWZAfPOlFJNfhrt6Nje22HqNKzo2CnP/iRbo9rKkZ3a7i3
/papvSi5dVcHji+aR8g++mDWWX04P4I3ouZWj7jcHpxNB8OFPPvebvXswTxvtVAx
G/mgIsrDBovU8Aw5ZHjL/zndnMiFcIn+mvNUAIsVAtHD0FJCpvDR9E0BfxbV6y2z
iS+CTE2uq9Zk4zTbGrD4QfMZ030tBEs25IeP3jOP9w9E3AhJbuAj8p6aO4hXYvfS
UvXZfSIeKkuRZbaC0gQ8/jnY2888mqh9AFy9+/GQcvaz3LMq3xPsi0XAFfENwQ4C
nmD/Rtjt+3MpsJCLmYa8MGb2J8XoFwLwOKrpnrz8IhZ+4Ul26tz9fXZxxFzTKBo/
X1ICG7h+btlrF8tvFgUIdePShQXl56rkgyyDjtr4cPV8Rx5b/k4=
=WHNw
-----END PGP SIGNATURE-----
--- End Message ---