Hi Matthias,

I think it would be enough to add the tzdata-legacy dependency to libpython3.11-testsuite.

I've also send a patch upstream to switch to the normal name:

https://github.com/python/cpython/pull/108533

Cheers Jochen

* Debian Bug Tracking System <ow...@bugs.debian.org> [2023-08-26 19:09]:
This is an automatic notification regarding your Bug report
which was filed against the src:python3.11 package:

#1050530: python3.11: autopkgtest needs update for new version of tzdata

It has been closed by Debian FTP Masters <ftpmas...@ftp-master.debian.org> (reply to 
Matthias Klose <d...@debian.org>).

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Debian FTP Masters 
<ftpmas...@ftp-master.debian.org> (reply to Matthias Klose <d...@debian.org>) by
replying to this email.


--
1050530: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050530
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

Date: Sat, 26 Aug 2023 19:05:36 +0000
To: 1050530-cl...@bugs.debian.org
Reply-To: Matthias Klose <d...@debian.org>
From: Debian FTP Masters <ftpmas...@ftp-master.debian.org>
Subject: Bug#1050530: fixed in python3.11 3.11.5-2


Date: Fri, 25 Aug 2023 21:08:52 +0200
To: sub...@bugs.debian.org
User-Agent: Mozilla Thunderbird
From: Paul Gevers <elb...@debian.org>
Subject: python3.11: autopkgtest needs update for new version of tzdata

Source: python3.11
Version: 3.11.4-1
Severity: serious
X-Debbugs-CC: tzd...@packages.debian.org
Tags: sid trixie
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:tzdata

Dear maintainer(s),

With a recent upload of tzdata the autopkgtest of python3.11 fails in testing when that autopkgtest is run with the binary packages of tzdata from unstable. It passes when run with only packages from testing. In tabular form:

                      pass            fail
tzdata                 from testing    2023c-10
python3.11             from testing    3.11.4-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. I note that src:tzdata recently introduced a tzdata-legacy package although I don't know if that has to do with the failure.

Currently this regression is blocking the migration of tzdata to testing [1]. Of course, tzdata shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in tzdata was intended and your package needs to update to the new situation.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=tzdata

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python3.11/37127326/log.gz

1107s ======================================================================
1107s FAIL: test_variable_tzname (test.test_email.test_utils.LocaltimeTests.test_variable_tzname)
1107s ----------------------------------------------------------------------
1107s Traceback (most recent call last):
1107s File "/usr/lib/python3.11/test/support/__init__.py", line 847, in inner
1107s     return func(*args, **kwds)
1107s            ^^^^^^^^^^^^^^^^^^^
1107s File "/usr/lib/python3.11/test/test_email/test_utils.py", line 155, in test_variable_tzname
1107s     self.assertEqual(t1.tzname(), 'MSK')
1107s AssertionError: 'Europe' != 'MSK'
1107s - Europe
1107s + MSK





Attachment: signature.asc
Description: PGP signature

Reply via email to