From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id BjsaNlbtG2A2fAAA0tVLHw (envelope-from ) for ; Thu, 04 Feb 2021 12:49:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SGVTMVbtG2BVTAAAB5/wlQ (envelope-from ) for ; Thu, 04 Feb 2021 12:49:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 32D7F9402BD for ; Thu, 4 Feb 2021 12:49:26 +0000 (UTC) Received: from localhost ([::1]:38282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7e4b-0001Ay-54 for larch@yhetil.org; Thu, 04 Feb 2021 07:49:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7e4E-0000u9-3d for bug-guix@gnu.org; Thu, 04 Feb 2021 07:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7e4D-0001g4-SV for bug-guix@gnu.org; Thu, 04 Feb 2021 07:49:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7e4D-0004pR-Rc for bug-guix@gnu.org; Thu, 04 Feb 2021 07:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46294: python-arrow timezone test failure Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Feb 2021 12:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46294 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46294@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161244289518493 (code B ref -1); Thu, 04 Feb 2021 12:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2021 12:48:15 +0000 Received: from localhost ([127.0.0.1]:40171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7e3T-0004oC-23 for submit@debbugs.gnu.org; Thu, 04 Feb 2021 07:48:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:59366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7e3Q-0004o3-Im for submit@debbugs.gnu.org; Thu, 04 Feb 2021 07:48:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7e3Q-0000Xz-2G for bug-guix@gnu.org; Thu, 04 Feb 2021 07:48:12 -0500 Received: from mout02.posteo.de ([185.67.36.66]:36313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7e3K-0001Bq-O6 for bug-guix@gnu.org; Thu, 04 Feb 2021 07:48:11 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id DE729240100 for ; Thu, 4 Feb 2021 13:48:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1612442882; bh=dCzQ9rGOWAoEtqYX1VNfTkxAFJMbmjpv4iqe1Zi/4nY=; h=From:To:Subject:Date:From; b=niRJ2E0ofLym5iP9S3C0wAeNJR/9URYOvs7B3YoB4+YhDmtfLLpY/k8R2vy3wc2AA 8egB9HZkqtV8FwicQevR/rAXdR3UJ2/JyDZZ67NuuLAWijUkM/H6OTMBJRHYiTf2YF T00NGHM2KP4dlO/s70ncMzxt28XL3LZzeM5JnjJx4b2HV1EdimpbSxTBm+2N4AwefP 60Z5W7W7673mAiXjefpquriYSnP6B7KS5M/WJF0065EBgIHYmX2xTNuzhuEuDa4Fv4 8gyyAGoi8oL7sQ67Q0LE98uybVzF6/Ttfnra8kjk6UJh6q91XWd+mYR6WmvUBYbsgJ bK3GemDejx8qQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DWdcx68xTz9rxM for ; Thu, 4 Feb 2021 13:48:01 +0100 (CET) User-agent: mu4e 1.4.14; emacs 27.1 From: Guillaume Le Vaillant Date: Thu, 04 Feb 2021 13:47:59 +0100 Message-ID: <87o8h06lts.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=niRJ2E0o; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 32D7F9402BD X-Spam-Score: -0.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7LqUJEKofhME --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, The python-arrow package currently fails to build because the "test_parse_tz_name_zzz" test is failing. This is with Guix at eae865c134ebb8b7432572288e8721794d6a9b87. I'm not very familiar with Python, so does someone know how to fix this? Here's the relevant part of the build log: =2D-8<---------------cut here---------------start------------->8--- _________ TestDateTimeParserParse.test_parse_tz_name_zzz[America/Nuuk] ____= _____ self =3D full_tz_name =3D 'America/Nuuk' @pytest.mark.parametrize("full_tz_name", make_full_tz_list()) def test_parse_tz_name_zzz(self, full_tz_name): =20=20=20=20 self.expected =3D datetime(2013, 1, 1, tzinfo=3Dtz.gettz(full_tz_na= me)) > assert ( self.parser.parse("2013-01-01 {}".format(full_tz_name), "YYYY-M= M-DD ZZZ") =3D=3D self.expected ) tests/test_parser.py:347:=20 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _= _ _=20 arrow/parser.py:244: in parse self._parse_token(token, value, parts) arrow/parser.py:397: in _parse_token parts["tzinfo"] =3D TzinfoParser.parse(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _= _ _=20 cls =3D , tzinfo_string =3D 'America/Nuu= k' @classmethod def parse(cls, tzinfo_string): =20=20=20=20 tzinfo =3D None =20=20=20=20 if tzinfo_string =3D=3D "local": tzinfo =3D tz.tzlocal() =20=20=20=20 elif tzinfo_string in ["utc", "UTC", "Z"]: tzinfo =3D tz.tzutc() =20=20=20=20 else: =20=20=20=20 iso_match =3D cls._TZINFO_RE.match(tzinfo_string) =20=20=20=20 if iso_match: sign, hours, minutes =3D iso_match.groups() if minutes is None: minutes =3D 0 seconds =3D int(hours) * 3600 + int(minutes) * 60 =20=20=20=20 if sign =3D=3D "-": seconds *=3D -1 =20=20=20=20 tzinfo =3D tz.tzoffset(None, seconds) =20=20=20=20 else: tzinfo =3D tz.gettz(tzinfo_string) =20=20=20=20 if tzinfo is None: > raise ParserError( 'Could not parse timezone expression "{}"'.format(tzinfo_st= ring) ) E arrow.parser.ParserError: Could not parse timezone expression "= America/Nuuk" arrow/parser.py:592: ParserError =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYBvs/w8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9DWAD/U7TarcPcL/JlSOTbnWwDRYBoGQqZ8qFdyBgY 4ORAbAoA/0L45UDKv/emTRsAWchw2DcgMGjdQ+HPZJqCpmDNW59o =bRKE -----END PGP SIGNATURE----- --=-=-=--