Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13986

Bug#1007107: ITP: pytz-deprecation-shim -- Shims to help you safely remove pytz

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Edward Betts <edward@4angle.com>
Newsgroups linux.debian.bugs.dist, linux.debian.devel, linux.debian.maint.python
Subject Bug#1007107: ITP: pytz-deprecation-shim -- Shims to help you safely remove pytz
Date Fri, 11 Mar 2022 11:00:01 +0100
Message-ID <DZKdX-10lt-3@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Mar 11 09:51:14 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -6.661
Reply-To Edward Betts <edward@4angle.com>, 1007107@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message report 1007107
X-Debian-Pr-Package wnpp
X-Mailer reportbug 11.4.1
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1708307
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 11 Mar 2022 09:50:07 +0000
X-Original-Message-ID <164699213513.218037.16560368808755287754.reportbug@x1c9>
Xref csiph.com linux.debian.bugs.dist:1095926 linux.debian.devel:103771 linux.debian.maint.python:13986

Cross-posted to 3 groups.

Show key headers only | View raw


Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org

* Package name    : pytz-deprecation-shim
  Version         : 0.1.0.post0
  Upstream Author : Paul Ganssle <paul@ganssle.io>
* URL             : https://github.com/pganssle/pytz-deprecation-shim
* License         : Apache 2.0
  Programming Lang: Python
  Description     : Shims to help you safely remove pytz

pytz has served the Python community well for many years, but it is no
longer the best option for providing time zones. pytz has a non-standard
interface that is very easy to misuse; this interface was necessary when
pytz was created, because datetime had no way to represent ambiguous
datetimes, but this was solved in in Python 3.6, which added a fold
attribute to datetimes in PEP 495. With the addition of the zoneinfo
module in Python 3.9 (PEP 615), there has never been a better time to
migrate away from pytz.

However, since pytz time zones are used very differently from a standard
tzinfo, and many libraries have built pytz zones into their standard
time zone interface (and thus may have users relying on the existence of
the localize and normalize methods); this library provides shim classes
that are compatible with both PEP 495 and pytz's interface, to make it
easier for libraries to deprecate pytz.

This module is required by the latest version of python-tzlocal.

I plan to maintain this package as part of the Python modules team.

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Bug#1007107: ITP: pytz-deprecation-shim -- Shims to help you safely remove pytz Edward Betts <edward@4angle.com> - 2022-03-11 11:00 +0100

csiph-web