pytz-deprecation-shim 0.1.0.post0-2 source package in Ubuntu
Changelog
pytz-deprecation-shim (0.1.0.post0-2) unstable; urgency=medium * Source-only upload to allow package to migrate to testing. -- Edward Betts <edward@4angle.com> Sun, 13 Mar 2022 07:54:37 +0000
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
pytz-deprecation-shim_0.1.0.post0-2.dsc | 2.3 KiB | 979dc2a2790d58f0a2b46a290ed4f7ae8f55875857c19ecb14a6a558cf427f7e |
pytz-deprecation-shim_0.1.0.post0.orig.tar.gz | 58.2 KiB | aa2145bb3448489ed3149aa2985e3678b39dc890935739628523e66c4fe2f507 |
pytz-deprecation-shim_0.1.0.post0-2.debian.tar.xz | 2.3 KiB | 5787b0f6df4b396e40cab32a1b861aae84790da8bfe0f92593a2024b82c9e80f |
No changes file available.
Binary packages built by this source
- python3-pytz-deprecation-shim: 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 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.