X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDC603855580
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1678223904;
	bh=fk25dYqEBiIkqTXBJ8YEVLViIvnvJNXFJ0TsJaRMpbk=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=MWZ9ZjDhU1LaVkN9qDYeiD8gVp7Q2rbXWYrdAcNi80nH/HcqQA+IKwbRGiby1elqy
	 Yr3Zic7QgcqvwrJqQkmVjWPtNV3yTeKYdOKMRzfRTAGKY+Jibq/AZjlIKVtS4K9jm6
	 HhTJc70HLGfNe/duI/vPVIj56REB7Vw9eLV/6/3U=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C3EA3858C53
X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=6407aa0e
 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
 a=IkcTkHD0fZMA:10 a=FervOb2AAAAA:8 a=CckQENj0AAAA:8 a=NEAV23lmAAAA:8
 a=8AHkEIZyAAAA:8 a=UXIAUNObAAAA:8 a=m9shYIPOAAAA:8 a=oPzaLkV6xNqlHk1--08A:9
 a=QEXdDO2ut3YA:10 a=X2ezxnNiPu0A:10 a=5Hseu8L9IFAA:10
 a=qx50etO2t6_5grAjiQXK:22 a=-XWihg8NfbdYC9mmq4w4:22 a=LHQ91m3heICjk2Q-pzoI:22
Message-ID: <f3809999-d6e8-b5df-13c1-2456ff86c530@Shaw.ca>
Date: Tue, 7 Mar 2023 14:18:05 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.8.0
Subject: Re: deprecate pytz? or update pytz to 2022g/2022.7.1
Content-Language: en-CA
To: cygwin@cygwin.com
References: <announce.05411ee6-face-7470-82b1-68a7d2870d68@gmail.com>
 <1361c3e8-113b-9855-6afb-c7c3b1d0c20e@SystematicSw.ab.ca>
Organization: Inglis
In-Reply-To: <1361c3e8-113b-9855-6afb-c7c3b1d0c20e@SystematicSw.ab.ca>
X-CMAE-Envelope: MS4xfKUiIJyv3VPkxx9fsrNsWNyohUylY+u6PS4R2cIEJbLWlpbe9HGPNzI8k+K9vFmbbP7AstAQ/pXRF7jlTHLL/5sT/ojw+m32v5k6NNh/RWkebhYzDz7W
 hRWLOw0eNqhEoCZEAx3WKHoNN4OK4/Kmkq2d9vyNukwdPHVxK1xXAcbK1sTH/5o3f207CEhufj5hig==
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05, BODY_8BITS,
 DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT,
 KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@Shaw.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 327LIn6l003489

On 2022-03-20 10:00, Brian Inglis wrote:
> 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/

Update needed to 2022g/2022.7.1 as a new Mexican zone was added since 
2021c/2021.3 due to Mexican changes conflicting with US practices, affecting 
border towns:

	https://mm.icann.org/pipermail/tz-announce/2022-November/000076.html

"The 2022g release of the tz code and data is available.

  This release contains the following changes:

       Briefly:
	The northern edge of Chihuahua changes to US timekeeping.
...

       Changes to future timestamps

	In the Mexican state of Chihuahua, the border strip near the US
	will change to agree with nearby US locations on 2022-11-30.
	The strip's western part, represented by Ciudad Juárez, switches
	from -06 all year to -07/-06 with US DST rules, like El Paso, TX.
	The eastern part, represented by Ojinaga, will observe US DST next
	year, like Presidio, TX.  (Thanks to Heitor David Pinto.)
	A new Zone America/Ciudad_Juarez splits from America/Ojinaga."

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

