public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: deprecate pytz?
Date: Sun, 20 Mar 2022 10:00:38 -0600	[thread overview]
Message-ID: <1361c3e8-113b-9855-6afb-c7c3b1d0c20e@SystematicSw.ab.ca> (raw)
In-Reply-To: <announce.05411ee6-face-7470-82b1-68a7d2870d68@gmail.com>

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.]

  parent reply	other threads:[~2022-03-20 16:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 16:06 [ANNOUNCEMENT] Updated: python 3.9 packages Marco Atzeri via Cygwin-announce
2021-12-22 13:52 ` airplanemath
2021-12-23 20:00   ` Marco Atzeri
2021-12-24 10:57     ` Jon Turney
2021-12-24 11:16       ` Marco Atzeri
2021-12-24 13:53         ` Jon Turney
2021-12-23 20:34 ` Russell VT
2021-12-24  6:57   ` Marco Atzeri
2022-03-20 16:00 ` Brian Inglis [this message]
2023-03-07 21:18   ` deprecate pytz? or update pytz to 2022g/2022.7.1 Brian Inglis
2023-03-07 21:35     ` marco atzeri
2023-03-08  5:11       ` Marco Atzeri
2023-03-26 20:45         ` update pytz to 2023.2/2023b tzdata Brian Inglis
2023-03-27  0:13           ` update pytz to 2023.2/2023b tzdata? Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1361c3e8-113b-9855-6afb-c7c3b1d0c20e@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).