From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 4A2393858D37 for ; Sun, 20 Mar 2022 16:00:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4A2393858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id VsagnxyUAgTZYVxywnDxLW; Sun, 20 Mar 2022 16:00:38 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id VxywnjZYz159UVxywnMTzu; Sun, 20 Mar 2022 16:00:38 +0000 X-Authority-Analysis: v=2.4 cv=frTP2X0f c=1 sm=1 tr=0 ts=62374fa6 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=FervOb2AAAAA:8 a=CckQENj0AAAA:8 a=NEAV23lmAAAA:8 a=8AHkEIZyAAAA:8 a=UXIAUNObAAAA:8 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 a=X2ezxnNiPu0A:10 a=qx50etO2t6_5grAjiQXK:22 a=-XWihg8NfbdYC9mmq4w4:22 Message-ID: <1361c3e8-113b-9855-6afb-c7c3b1d0c20e@SystematicSw.ab.ca> Date: Sun, 20 Mar 2022 10:00:38 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Reply-To: cygwin@cygwin.com Subject: Re: deprecate pytz? Content-Language: en-CA To: cygwin@cygwin.com References: From: Brian Inglis Organization: Systematic Software In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfKmEf27r7dGwWjUvZCrzCOrLQcVD2lxgUW/lFIp6wRTOrO7ghJwvuXqALIdUXXlqeO5Cjgln007XoKpQjAixS7EBlLRdxL6k7+3/S6R4+sL/Od3ZGdx2 rpCKPJzdopcaBtOAxAniMrIAK8SpBQvg8OZLWomUhhDu7yPLFB49WV4rERqk1p1F8qeidwUeca0/cgoq1CiDRGmOLYzswmxvS9s= X-Spam-Status: No, score=-1162.6 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2022 16:00:40 -0000 On 2021-12-21 09:06, Marco Atzeri via Cygwin-announce wrote: > Several python packages have been added to the Cygwin distribution > and at the same time the updated packages for 3.6/3./3.8 > have been uploaded. > python39-pytz                           2021.3-1 Suggesting that pytz should be deprecated and eventually dropped. There is a lot of discussion on the IANA TZ mailing list about support of the IANA TZ DB (tzdata) in languages other than C, and there has been discussion of the official python standard library module support of tzdata, and the problems of correctly using pytz: https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html requiring close reading and following of its limitations: https://pypi.org/project/pytz/ https://github.com/stub42/pytz together with it being superceded by official support of IANA TZ DB with a standard library compiled zoneinfo module built on the datetime module: https://peps.python.org/pep-0615/ backported to 3.6+ as the backports.zoneinfo module: https://zoneinfo.readthedocs.io/en/latest/ https://github.com/pganssle/zoneinfo/ -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]