On Tue, Sep 26, 2023 at 02:44:16PM +0200, Lucas Nussbaum wrote:
> Source: python-agate
> Version: 1.6.3-2
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20230925 ftbfs-trixie

> > Traceback (most recent call last):
> >   File 
> > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_agate/build/tests/test_data_types.py",
> >  line 364, in test_cast_parser_timezone
> >     tzinfo = pytz.timezone('US/Pacific')
> >              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >   File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 202, in 
> > timezone
> >     raise UnknownTimeZoneError(zone)
> > pytz.exceptions.UnknownTimeZoneError: 'US/Pacific'

Hi,

I have prepared an NMU to address this test failure; debdiff attached.
Please let me know if you have any concerns about an upload to address
this build failure.

Thank you,
tony
diff -Nru python-agate-1.6.3/debian/changelog 
python-agate-1.6.3/debian/changelog
--- python-agate-1.6.3/debian/changelog 2022-10-14 03:16:54.000000000 -0700
+++ python-agate-1.6.3/debian/changelog 2023-10-25 06:41:55.000000000 -0700
@@ -1,3 +1,10 @@
+python-agate (1.6.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update TZ used in tests for tzdata 2023c-8 (Closes: #1052831)
+
+ -- tony mancill <tmanc...@debian.org>  Wed, 25 Oct 2023 06:41:55 -0700
+
 python-agate (1.6.3-2) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru python-agate-1.6.3/debian/patches/1052831-pytz.patch 
python-agate-1.6.3/debian/patches/1052831-pytz.patch
--- python-agate-1.6.3/debian/patches/1052831-pytz.patch        1969-12-31 
16:00:00.000000000 -0800
+++ python-agate-1.6.3/debian/patches/1052831-pytz.patch        2023-10-25 
06:41:55.000000000 -0700
@@ -0,0 +1,16 @@
+Description: update for tzdata (2023c-8) (see Debian: #1040997)
+Author: tony mancill <tmanc...@debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052831
+Forwarded: no
+
+--- a/tests/test_data_types.py
++++ b/tests/test_data_types.py
+@@ -361,7 +361,7 @@
+         ))
+ 
+     def test_cast_parser_timezone(self):
+-        tzinfo = pytz.timezone('US/Pacific')
++        tzinfo = pytz.timezone('America/Los_Angeles')
+         datetime_type = DateTime(timezone=tzinfo)
+ 
+         values = ('3/1/1994 12:30 PM', '2/17/2011 06:30', None, 'January 5th, 
1984 22:37', 'n/a')
diff -Nru python-agate-1.6.3/debian/patches/series 
python-agate-1.6.3/debian/patches/series
--- python-agate-1.6.3/debian/patches/series    2022-10-14 03:16:54.000000000 
-0700
+++ python-agate-1.6.3/debian/patches/series    2023-10-25 06:41:55.000000000 
-0700
@@ -1,2 +1,3 @@
 Use-packaged-docs.patch
 No-privacy-breach.patch
+1052831-pytz.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to